Page 1 of 1

ikea ansluta/under cabinet lights

Posted: Saturday 27 January 2018 21:39
by rechsoz
hi there,
i am an absolute noob in domoticz. I can thinker with thinks but need manuals and howtos to get things done. So please help me! If I am mistakenly in the wrong area of the forum, please show me the right way. I do search for answers, but did not find a answer yet.

my setup
some hue lights, controlled with alexa or google or openhab (or domticz). mostly using alexa in practice
an raspberry with domoticz (set up for it). working fine
- usb - an arduino with rflink and an cc2500 chip
controlling an IKEA under cabinet ansluta light.
i have that working in domoticz. I added some kind of switch, and can turn it on and off (i did not know how to add "50%" brightness mode, but thats a minor flaw).

What i´d like to have: I want to bundle up/group the ikea with a hue lamp in my kitchen. So everytime i turn that one on, domoticz turns the cabinet light on. that should also work when i turn on the hue lamp via alexa for example.

the idea is to be able to come into the kithcen and say, "kitchen on" and both lights go on. When they are bundled i can also easily bundle them with my movement tracker etc.

any ideas? Do i need a lua script? I did not understand the master/slave option, and did not find the groups.
Please help me from start to end!

Re: ikea ansluta/under cabinet lights

Posted: Sunday 28 January 2018 23:03
by rechsoz
no one? i think it must be quite easy? but how

Re: ikea ansluta/under cabinet lights

Posted: Monday 29 January 2018 12:28
by u01pei
add them together in a scene with the name kitchen?

Re: ikea ansluta/under cabinet lights

Posted: Monday 29 January 2018 21:43
by rechsoz
but then it will only work when i click on domoticz.

Will it activate the "scenario" when I switch my hue light with my hue remote/ my alexa/ my hue app?

Re: ikea ansluta/under cabinet lights

Posted: Monday 29 January 2018 21:50
by Bigted
Controlicz can control Domoticz via Alexa, but you are out of luck with Hue

Re: ikea ansluta/under cabinet lights

Posted: Monday 29 January 2018 21:52
by rechsoz
but cannot domoticz just run a script that when it detects "hue light 1 go on" -> "switch on Ansluta"?. Thats what I need.

Re: ikea ansluta/under cabinet lights

Posted: Monday 29 January 2018 22:11
by htilburgs
I think you can do this quite simple in Blockly
Schermafbeelding 2018-01-29 om 22.05.02.png
Schermafbeelding 2018-01-29 om 22.05.02.png (43.49 KiB) Viewed 1797 times

Re: ikea ansluta/under cabinet lights

Posted: Monday 29 January 2018 23:05
by rechsoz
uh yeah, it works.
only problem: if hue liht is "hard set off" (disconnected from power with a regular switch) its status seems to be different from "off", so this ist not recognized. What to set then?

Re: ikea ansluta/under cabinet lights

Posted: Monday 29 January 2018 23:21
by htilburgs
rechsoz wrote: Monday 29 January 2018 23:05 uh yeah, it works.
only problem: if hue liht is "hard set off" (disconnected from power with a regular switch) its status seems to be different from "off", so this ist not recognized. What to set then?
Does Domoticz recognize the Hue Light as OFF when its disconnected from power with a regular switch?