Two questions.
-
We need to set the House Mode via an HTTP API. I cannot find such an API among the usual data_request?id=lu_action API. How can one set the mode programatically? It also is not apparent this can be set even from a scene execution. Is there a LUA way to do it instead?
-
A separate control system manages an array of contact sensors. I would like it to notify Vera when one of the sensors trips. Trying to figure out the best way to do that. The connection between the other system and Vera is IP so I would prefer some kind of HTTP API. Can I perhaps create a virtual sensor device and then call the lu_action with some parameter to indicate the virtual sensor has tripped?
Thanks!