Query for control's state

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Gast

    Query for control's state

    Hello,

    When I register for state change updates on websocket, I am getting updates when control's state changes, with UUID of the particular state, that is tied to the control.
    For example, when push-button control changes its output, I will be getting state update for "active" state UUID for this push-button, which I can find in loxapp json config file.
    Is there also a way to query current value of a given state, for example by providing its UUID or control+state name? Seems like there should be something.
    I only figured out I can send "all" command for a control and in response I will get current status of all control's outputs plus collective output in "value" field. From that I can figure out what each state's value is. But it is not directly obvious as names for outputs and names for states are different, and this is also control-dependent.

    Appreciate your help.
    Thanks
    Pawel
Lädt...