This question is more about remote cloud processing failover than WebCore specifically. One of the concerns regarding WebCore is that processing is over the cloud. The advantages are well known and documented so are unnecessary here. The notable disadvantages are process latency and cloud (or internet) outages.
The included ST SmartLight App will process locally, is nearly immediate and does not depend on the cloud. The downside is the limited scope of programming, hence why we use WebCore.
So my question is can we use both? My logic is I would use the SmartLight App to ākickstartā a light and then Webcore to handle the details.
For example, letās start with my Laundry Room. I have one dumb light fixture on 1 GE On/Off Z-wave Switch and an Iris Motion Sensor. My desired operation is:
- On Motion at Night mode, turn on to 10% and then turn off after 4 minutes of inactivity.
- On Motion at Home mode, turn on to 70% and then turn off after 4 minutes of inactivity.
- On Switch on at all modes, turn on to 100% and then turn off after 4 minutes of inactivity.
- On mode changes to Away, turn off.
In Webcore, this is simple enough. Iām sure there is a 100 ways to do it and how to do it is beyond my scope here. However, if the internet/cloud is compromised, this routine will not runā¦or maybe it takes a second or longer. But to do this in SmartLight alone would require several routines, not just one (specifically above would required 3 routines and item 3 would not be possible). Factor this up for 20 rooms/light groupings and its unmanageable.
So what if I created a SmartLight App that simply:
- On motion, turn on 10%, then turn off after 10 minutes of inactivity. Thatās it - just one simple routine that brackets the WebCore routine.
After this executes immediately, Webcore will come in and take it from there. When WebCore is working just fine, my wife, I, an intruder, the cat, etc would notice that the light will turn on to 10% for a fraction of a second and the adjust upward to the appropriate brightness afterwards. If WebCore fails (for whatever reason and for what ever percent probability), the light will at least come on 10% and then can just be manually adjusted afterwards. Then if WebCore fails, the light still turns off after 10 minutes of inactivity. If WebCore works, there is nothing to turn off after 10 minutes.
The only drawback I am seeing is if a light is already on, SmartLight will dim it back to 10% if motion reoccurs during the inactivity period. Also, WebCore might need a 1 second delay so it does not transmit an action code to a switch at the same time as SmartLight. But my assumption is SmartLight will get out first.
Any thoughts? How often as WebCore/cloud processing failed us?