Jump to content
C4 Forums | Control4

Parity

c4Forums Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Parity

  1. 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.