Jump to content
C4 Forums | Control4

Parity

c4Forums Member
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

733 profile views

Parity's Achievements

  1. do you know how the RELAY works to update the UI on the devices? I have tried the following: C4:SendToProxy(2, "OPEN", {}, "NOTIFY") C4:SendToProxy(2, "CLOSE", {}, "NOTIFY")
  2. I have created a proxy driver to control 4 relays. 5 connections: Connection 1 for RS232; Connection 2, 3, 4, 5 for Light (V2) devices. Everything is working well including scenes, etc. The only thing is the UI updating on the various IOS devices. According to Proxy and Protocol Guide 2.9.0 Lighting (V2) protocol Notifications the following should be used to notify the light on binding 2 is OFF or ON: C4:SendToProxy(2,"LIGHT_LEVEL",0,"NOTIFY") C4:SendToProxy(2,"LIGHT_LEVEL",100,"NOTIFY") Neither changes the state of the lights on the UI or in Composer. I have tried various combinations such as local tParams = {} tParams["LEVEL"] = 0 tParams["STATE"] = "off" C4:SendToProxy(2,"LIGHT_LEVEL",0,"NOTIFY") C4:SendToProxy(2,"LIGHT_LEVEL","0","NOTIFY") C4:SendToProxy(2,"LIGHT_LEVEL",tParams,"NOTIFY") C4:SendToProxy(2,"LIGHT_LEVEL", {LEVEL=0}, "NOTIFY") C4:SendToProxy(2,"LIGHT_LEVEL_CHANGED",tParams,"NOTIFY") C4:SendToProxy(2, "LIGHT_LEVEL_CHANGED", {LEVEL=0}, "NOTIFY") C4:SendToProxy(2, "LIGHT_LEVEL_CHANGED", 0 , "NOTIFY")
×
×
  • Create New...

Important Information

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