notification with light on

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

notification with light on

Post by ge1984 » Sunday 12 November 2017 11:15

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 1228 times

mosjonathan
Posts: 70
Joined: Friday 24 February 2017 22:20
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: notification with light on

Post by mosjonathan » Sunday 12 November 2017 11:25

your second if block is wrong you need the one without the blue cog

ge1984
Posts: 14
Joined: Sunday 29 October 2017 7:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 » Sunday 12 November 2017 11:45

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 1216 times

mosjonathan
Posts: 70
Joined: Friday 24 February 2017 22:20
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: notification with light on

Post by mosjonathan » Sunday 12 November 2017 12:08

Knipsel.PNG
Knipsel.PNG (11.86 KiB) Viewed 1205 times
i think you need to do it like this

ge1984
Posts: 14
Joined: Sunday 29 October 2017 7:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 » Sunday 12 November 2017 12:29

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: 8651
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: notification with light on

Post by gizmocuz » Sunday 12 November 2017 12:54

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 7:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 » Sunday 12 November 2017 12:56

because I would only be notified at certain times and not all day.
can I set the times directly from the switch?

kuifje
Posts: 16
Joined: Wednesday 25 October 2017 16:38
Target OS: Windows
Domoticz version:
Contact:

Re: notification with light on

Post by kuifje » Monday 13 November 2017 15:47

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 1149 times
Good luck.
Greetsz,
Kuifje

ge1984
Posts: 14
Joined: Sunday 29 October 2017 7:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 » Tuesday 14 November 2017 7:44

how do I program a variable? what kind of data should I enter?

kuifje
Posts: 16
Joined: Wednesday 25 October 2017 16:38
Target OS: Windows
Domoticz version:
Contact:

Re: notification with light on

Post by kuifje » Monday 20 November 2017 13:47

At settings-more options-user variables

ge1984
Posts: 14
Joined: Sunday 29 October 2017 7:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 » Tuesday 21 November 2017 7:00

ok, but what data do I have to include in the variable inmode that risked in my intent?

kuifje
Posts: 16
Joined: Wednesday 25 October 2017 16:38
Target OS: Windows
Domoticz version:
Contact:

Re: notification with light on

Post by kuifje » Wednesday 22 November 2017 16:01

Float and 0

ge1984
Posts: 14
Joined: Sunday 29 October 2017 7:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: notification with light on

Post by ge1984 » Saturday 25 November 2017 9:43

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 2 guests