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.
Blocky notification sens every minute a notificaiton
Moderator: leecollings
-
SweetPants
Re: Blocky notification sens every minute a notificaiton
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%.
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
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.
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
Yesassenzuid 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.
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.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.
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
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.
Instead of a virtual switch you could use a uservariable.
Who is online
Users browsing this forum: No registered users and 1 guest