Hi,
For my front gate I have 2 virtual devices which are controlled/read by the rPI.
Status: Open/Closed (set by rPI via JSON)
Relay: Open/Closed (read by rPI and then sets the GPIO)
I want one device (maybe the status device) which has 2 states: "Open" and "Closed". The states should not be 'settable' via the webUI (so no buttons). The buttons will be replaced with "Open" and "Close" buttons, which execute a script.
How can this be done ?
Or can I create a new virtual device which can subscribe to the changed event of the 'status' device ?
For my front gate I have 2 virtual devices which are controlled/read by the rPI.
Status: Open/Closed (set by rPI via JSON)
Relay: Open/Closed (read by rPI and then sets the GPIO)
I want one device (maybe the status device) which has 2 states: "Open" and "Closed". The states should not be 'settable' via the webUI (so no buttons). The buttons will be replaced with "Open" and "Close" buttons, which execute a script.
How can this be done ?
Or can I create a new virtual device which can subscribe to the changed event of the 'status' device ?
Comment