Blocky notification sens every minute a notificaiton

Moderator: leecollings

Post Reply
assenzuid
Posts: 135
Joined: Friday 13 November 2015 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Blocky notification sens every minute a notificaiton

Post by assenzuid »

I've created below Blocky notification, but when it's triggerd I get every minute a notification and stops when value is below given %.
How to prevent this.

I want to send an email to multiple receivers.
Capture.PNG
Capture.PNG (10.97 KiB) Viewed 1896 times
SweetPants

Re: Blocky notification sens every minute a notificaiton

Post by SweetPants »

Did you set your blockly to 'time' triggered perhaps? That explains the 1 minute interval.
If you set it to 'device' it will only send a notification when the value changes and is above 30%. But it will keep sending notifications when the value keeps changing and is above 30%.
assenzuid
Posts: 135
Joined: Friday 13 November 2015 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: Blocky notification sens every minute a notificaiton

Post by assenzuid »

Yes, it was set at 'all'.
I changed it to 'device', did you mean that wen the value rise above 30 and later to 40 it will send also a notification.
I only need one-time notification when the value rise above 30 and when the value is below 30 and later it will rise again I want also a new notifciation.
SweetPants

Re: Blocky notification sens every minute a notificaiton

Post by SweetPants »

assenzuid wrote: Sunday 03 June 2018 22:51 Yes, it was set at 'all'.
I changed it to 'device', did you mean that wen the value rise above 30 and later to 40 it will send also a notification.
Yes
assenzuid wrote: Sunday 03 June 2018 22:51 I only need one-time notification when the value rise above 30 and when the value is below 30 and later it will rise again I want also a new notifciation.
Then you have to add some extra logic that you already send a notification after the first time and reset that when getting below you threshold again.

Maybe take a look at dzVents https://www.domoticz.com/wiki/DzVents:_ ... _scripting , this gives you way more flexibility then blockly
mrf68

Re: Blocky notification sens every minute a notificaiton

Post by mrf68 »

Create a virtual switch, set it to On when sending the message and have the send message part check is the switch is On. If Off then send message. Check hum every minute. If hum < desired set virtual switch to Off.

Instead of a virtual switch you could use a uservariable.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest