Ask sensor for state on incomming events?


  • Code Contributor

    Hello,

    I was thinking of the easiest way to query for example RelayActuator-sensor the state of the 'inputs' I dont know if there is any build in stuff in the net 1.4b so I could send 3;4;1;0;1; or something and get in return the latest state? Or doesn't vera ask this?
    I know I could register extra gw.present's but why not have the receive two-way?

    I hope you understand what I'm asking.. 🙂

    //Damme


  • Admin

    @Damme

    The actuator/sensor class does not have any build in code for keeping track of latest value.

    You have to implement this yourself by answering incoming request messages.


Log in to reply
 

Suggested Topics

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts