Page 1 of 1
turn off lights together with tv
Posted: Thursday 09 August 2018 18:54
by jessy1984
hi i want to trie to set off some lights together with my tv
this between times
i tried a couple of ways i tought this could work but nothing seems to
anyone know how to do this?

- verlichting.png (15.07 KiB) Viewed 1138 times
Re: turn off lights together with tv
Posted: Thursday 09 August 2018 19:30
by Egregius
How can it be before 18 and after 19 at the same time?
Re: turn off lights together with tv
Posted: Thursday 09 August 2018 19:59
by jessy1984
Thats cous i was messing around with it . Tried it the other way around also
Re: turn off lights together with tv
Posted: Thursday 09 August 2018 20:39
by CyberE
I'm just guessing here, as I'm no expert but you might want to try the following:
Code: Select all
if TV kijken = off and time > 1800 and time < 19:00
Do
set Staande lamp = off
set kast living color = off
To clarify, use seperate sets for every different lamp.
Also make sure to set the blocky to "devices".
Re: turn off lights together with tv
Posted: Thursday 09 August 2018 21:40
by jessy1984
just tried it again like you said but lights do not react
when turning off the tv
status of tv dous change to off and time is set correct
Re: turn off lights together with tv
Posted: Thursday 09 August 2018 22:30
by Egregius
Begin small, if tv is off switch light off. Then add one time condition and then add the second.
That way you'll learn better what happens.
Re: turn off lights together with tv
Posted: Friday 10 August 2018 10:47
by jessy1984
thank you it workes i had the wrong control block