Jump to content
C4 Forums | Control4

LIGHT V2 proxy problem


StrefaCiszy

Recommended Posts

Welcome

I'm writting driver for relay based device for controlling on/off Lights and the problem is that for iOS base devices i can turn on off the device but from android devices and windows App i can't do anything. Driver i based on Light_v2 proxies and only rs232 connection

How to fix this problem.

Link to comment
Share on other sites


When you receive a GET_CONNECTED_STATE proxy message, you have to reply with an ONLINE_CHANGED message, or the UI will not show the Light proxy as being available for changes.

function PRX_CMD.GET_CONNECTED_STATE(idBinding, tParams)

  SendToProxy(LIGHT_PROXY_BINDING_ID, "ONLINE_CHANGED", {STATE = "True"})

end

RyanE

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.