This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Philips HUE Lamps state
#7
(15.12.2021, 05:50)admin Wrote: You are right about the wrong variable in the code. It seems that groups can only be accessed by a number but not by a name. Group 0 is a broadcast group that controls all lights together.

ok thanks.... another question:

-- Set name (Lookup in HUE app under light configuration) and feedback adresses (don't change statevalue, brivalue and colorvalue as they are used as memoryfield)
addressmapping = {
  -- Name   -- On/Off FB   -- Bright FB  -- Color FB
  ['Led Centrale Down'] = {state = '11/4/10', bri = '11/4/13', rgb = '11/4/12', statevalue = '', brivalue = '', colorvalue = ''},
  ['Led Destro Down'] = {state = '11/4/20', bri = '11/4/23', rgb = '11/4/22', statevalue = '', brivalue = '', colorvalue = ''},
  ['Led Sinistro Down'] = {state = '11/4/30', bri = '11/4/33', rgb = '11/4/32', statevalue = '', brivalue = '', colorvalue = ''},
  ['Led Centrale Up'] = {state = '12/4/10', bri = '12/4/13', rgb = '12/4/12', statevalue = '', brivalue = '', colorvalue = ''},
  ['Led Destro Up'] = {state = '12/4/20', bri = '12/4/23', rgb = '12/4/22', statevalue = '', brivalue = '', colorvalue = ''},
  ['Led Sinistro Up'] = {state = '12/4/30', bri = '12/4/33', rgb = '12/4/32', statevalue = '', brivalue = '', colorvalue = ''}

I can't get any feedback (neither commands) form rgb addresses.... actually I set them as 3 byte unsigned integer (232.600 colours), maybe is that wrong?

Tnx

Peppe
Reply


Messages In This Thread
Philips HUE Lamps state - by gdimaria - 21.09.2021, 15:18
RE: Philips HUE Lamps state - by admin - 22.09.2021, 12:54
RE: Philips HUE Lamps state - by gdimaria - 22.09.2021, 15:34
RE: Philips HUE Lamps state - by gdimaria - 14.12.2021, 17:44
RE: Philips HUE Lamps state - by gdimaria - 15.12.2021, 14:47
RE: Philips HUE Lamps state - by admin - 15.12.2021, 05:50
RE: Philips HUE Lamps state - by gdimaria - 15.12.2021, 13:53
RE: Philips HUE Lamps state - by gdimaria - 16.12.2021, 07:02
RE: Philips HUE Lamps state - by gdimaria - 16.12.2021, 12:32
RE: Philips HUE Lamps state - by gdimaria - 25.01.2022, 13:09

Forum Jump: