Announcement

Collapse
No announcement yet.

Hue Light

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hue Light

    Smart People,

    I am trying to turn on a a Hue light by using on and even both of the scripts below:
    ''On
    hs.SetDeviceValue("420", 255)
    '' or
    hs.CAPIControlHandler(hs.CAPIGetSingleControl(420, False, "255", False, True))

    The problem is the light turns on and then fades out. Watching the process on the [Home] page, the On button never gets underlined which lead me to believe there is a prior step I am missing, maybe post step. Any help will be appreciated!

    J

    #2
    the Hue devices use the 255 only to switch the device on, after that the dim (1-254) value is shown as value, so the On button will never become underlined.

    Personally I use this in scripts:

    Code:
    Dim cc As HomeSeerAPI.CAPIControl = hs.CAPIGetSingleControlbyuse(ref, 3) 
    cc.ControlValue = 254
    Dim cr As HomeSeerAPI.CAPIControlResponse = hs.CAPIControlHandler(cc)
    Wim
    -- Wim

    Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

    1210 devices/features ---- 392 events ----- 40 scripts

    Comment


      #3
      Thank you Wim!

      Comment

      Working...
      X