Page 1 of 1
notification with light on
Posted: Sunday 12 November 2017 10:15
by ge1984
Hello to all,
I'm trying to schedule a notification so that at a certain time, if I turn on the light I get a notification.
The problem that when configuring it as a photo, when the light is on, I receive the notifications, but I would like the notification to arrive only by lighting it up.
Where am I wrong?
Thank you
Re: notification with light on
Posted: Sunday 12 November 2017 10:25
by mosjonathan
your second if block is wrong you need the one without the blue cog
Re: notification with light on
Posted: Sunday 12 November 2017 10:45
by ge1984
how do I enter camera blocks and notify me? what other block should i add?
Re: notification with light on
Posted: Sunday 12 November 2017 11:08
by mosjonathan

- Knipsel.PNG (11.86 KiB) Viewed 2143 times
i think you need to do it like this
Re: notification with light on
Posted: Sunday 12 November 2017 11:29
by ge1984
I did as you told me, but if the light stays on, it keeps sending me notifications.
is there no way that notifications come to me only when I hit the button?
Re: notification with light on
Posted: Sunday 12 November 2017 11:54
by gizmocuz
Why don't you add the notification directly on the switch ? (switches tab, press the notification button)
Re: notification with light on
Posted: Sunday 12 November 2017 11:56
by ge1984
because I would only be notified at certain times and not all day.
can I set the times directly from the switch?
Re: notification with light on
Posted: Monday 13 November 2017 14:47
by kuifje
Maybe this will get you in the right direction. You have to get an user variable in to get things done.
Replace TVlamp with camera etc.etc.
You get it done.

- Knipsel.JPG (109.08 KiB) Viewed 2087 times
Good luck.
Greetsz,
Kuifje
Re: notification with light on
Posted: Tuesday 14 November 2017 6:44
by ge1984
how do I program a variable? what kind of data should I enter?
Re: notification with light on
Posted: Monday 20 November 2017 12:47
by kuifje
At settings-more options-user variables
Re: notification with light on
Posted: Tuesday 21 November 2017 6:00
by ge1984
ok, but what data do I have to include in the variable inmode that risked in my intent?
Re: notification with light on
Posted: Wednesday 22 November 2017 15:01
by kuifje
Float and 0
Re: notification with light on
Posted: Saturday 25 November 2017 8:43
by ge1984
Okay, I just did the programming and it looks like it works. I have to do some tests to check it out.
Thank you so much, you've been really helpful and kind