UDP commands for lights

This topic contains 1 reply, has 2 voices, and was last updated by  btidey 6 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25084
     Ukterry01 says:

    Ukterry01
    Participant

    Hello All

    I am using a Harmony elite remote to turn lights on/off and dim, I use the ha bridge as the virtual hue bridge.

    I am quite new to this, but I do have a small setup with just 2 devices for starters.

    I use [{"item":"udp://255.255.255.255:9760/100,\"!R1FmP1\"","type":"udpDevice","contentType":"application/json","delay":"0"}] for recalling a mood and it works to turn both devices on at the same time to the mood settings
    and to turn them off [{"item":"udp://255.255.255.255:9760/112,\"!R1Fa\"","type":"udpDevice","contentType":"application/json"}] and this also works.

    What I am struggling with is to dim both lights at the same time.
    my config in ha bridge is

    [{"item":"udp://255.255.255.255:9760/,100,!R1D1FdP${intensity.math((X*27)/255)}","type":"udpDevice","delay":"750","contentType":"application/json"},
    {"item":"udp://255.255.255.255:9760/,100,!R1D2FdP${intensity.math((X*27)/255)}","type":"udpDevice","contentType":"application/json"}]

    If i dont have the 750ms delay then only one device dims, with the delay it is quite noticable, so I was thinking if it is possible to turn both on at the same time surely it is possible to dim them at the same time.

    Any help appreciated.

    #25091
     btidey says:

    btidey
    Participant

    See response to same question in hacking forum.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.