notification with light on

Moderator: leecollings

Post Reply
ge1984
Posts: 14
Joined: Sunday 29 October 2017 6:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

notification with light on

Post 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
Attachments
Schermata 2017-11-12 alle 10.10.41.png
Schermata 2017-11-12 alle 10.10.41.png (53.79 KiB) Viewed 2046 times
mosjonathan
Posts: 40
Joined: Friday 24 February 2017 21:20
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: notification with light on

Post by mosjonathan »

your second if block is wrong you need the one without the blue cog
ge1984
Posts: 14
Joined: Sunday 29 October 2017 6:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 »

how do I enter camera blocks and notify me? what other block should i add?
Attachments
Schermata 2017-11-12 alle 10.40.41 copia.png
Schermata 2017-11-12 alle 10.40.41 copia.png (124.96 KiB) Viewed 2034 times
mosjonathan
Posts: 40
Joined: Friday 24 February 2017 21:20
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: notification with light on

Post by mosjonathan »

Knipsel.PNG
Knipsel.PNG (11.86 KiB) Viewed 2023 times
i think you need to do it like this
ge1984
Posts: 14
Joined: Sunday 29 October 2017 6:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: notification with light on

Post 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?
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: notification with light on

Post by gizmocuz »

Why don't you add the notification directly on the switch ? (switches tab, press the notification button)
Quality outlives Quantity!
ge1984
Posts: 14
Joined: Sunday 29 October 2017 6:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 »

because I would only be notified at certain times and not all day.
can I set the times directly from the switch?
User avatar
kuifje
Posts: 36
Joined: Wednesday 25 October 2017 16:38
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Heemskerk
Contact:

Re: notification with light on

Post 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
Knipsel.JPG (109.08 KiB) Viewed 1967 times
Good luck.
Greetsz,
Kuifje
ge1984
Posts: 14
Joined: Sunday 29 October 2017 6:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 »

how do I program a variable? what kind of data should I enter?
User avatar
kuifje
Posts: 36
Joined: Wednesday 25 October 2017 16:38
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Heemskerk
Contact:

Re: notification with light on

Post by kuifje »

At settings-more options-user variables
ge1984
Posts: 14
Joined: Sunday 29 October 2017 6:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 »

ok, but what data do I have to include in the variable inmode that risked in my intent?
User avatar
kuifje
Posts: 36
Joined: Wednesday 25 October 2017 16:38
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Heemskerk
Contact:

Re: notification with light on

Post by kuifje »

Float and 0
ge1984
Posts: 14
Joined: Sunday 29 October 2017 6:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: notification with light on

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest