SONOFF POWR2 Notification Dryer/Washing machine
Moderator: leecollings
-
- Posts: 11
- Joined: Thursday 24 January 2019 16:59
- Target OS: Windows
- Domoticz version:
- Contact:
SONOFF POWR2 Notification Dryer/Washing machine
Hi,
Someone knows the right blocky script that only send a notification when the power usage drops down below 5 watt? Most blocky's or other notifications keep showing up on every refresh...
I use virtual dummy switches for on/off and then send a notification. When it's off and the power rating is refreshed it goes off again and again a notification..
Someone knows the right blocky script that only send a notification when the power usage drops down below 5 watt? Most blocky's or other notifications keep showing up on every refresh...
I use virtual dummy switches for on/off and then send a notification. When it's off and the power rating is refreshed it goes off again and again a notification..
- Denny64
- Posts: 53
- Joined: Friday 03 February 2017 11:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Italy
- Contact:
Re: SONOFF POWR2 Notification Dryer/Washing machine
I think you can do it with an user variable.
Make an user variable and call it (i.e.) Five and than blokly:
IF
Powermeter < 5 AND User Five = 0
DO
Set User Five = 1
Send notification with subject......
ELSE IF
Powermeter > 5 AND User Five = 1
DO
Set User Five = 0
Make an user variable and call it (i.e.) Five and than blokly:
IF
Powermeter < 5 AND User Five = 0
DO
Set User Five = 1
Send notification with subject......
ELSE IF
Powermeter > 5 AND User Five = 1
DO
Set User Five = 0
-
- Posts: 11
- Joined: Thursday 24 January 2019 16:59
- Target OS: Windows
- Domoticz version:
- Contact:
Re: SONOFF POWR2 Notification Dryer/Washing machine
Thank you for the reply. Testing right now ! Hope this wil work better !
-
- Posts: 11
- Joined: Thursday 24 January 2019 16:59
- Target OS: Windows
- Domoticz version:
- Contact:
Re: SONOFF POWR2 Notification Dryer/Washing machine
Same result, every refresh it's send a new message. Doesn't matter if the status is already the same or not..
- Denny64
- Posts: 53
- Joined: Friday 03 February 2017 11:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Italy
- Contact:
Re: SONOFF POWR2 Notification Dryer/Washing machine
It's really very strange, I use this blockly for my dryer, dishwaher, washing machine and for the photovoltaic system without any problems. Try raising the 5 watt threshold in the else if statement.
-
- Posts: 11
- Joined: Thursday 24 January 2019 16:59
- Target OS: Windows
- Domoticz version:
- Contact:
Re: SONOFF POWR2 Notification Dryer/Washing machine
Ok i will try, problem is that it will change it's status every time and resends the same message on every refresh..
-
- Posts: 84
- Joined: Friday 12 August 2016 13:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SONOFF POWR2 Notification Dryer/Washing machine
This is my block
and if the status wasmachine( dummy) go off i get a notification the wasmachine is ready
I get one notification
works great for me
Gerwin
and if the status wasmachine( dummy) go off i get a notification the wasmachine is ready
I get one notification
works great for me
Gerwin
- Attachments
-
- blockly.jpg (59.78 KiB) Viewed 1940 times
-
- Posts: 99
- Joined: Friday 25 January 2019 11:33
- Target OS: Linux
- Domoticz version: beta
- Location: Poland
- Contact:
Re: SONOFF POWR2 Notification Dryer/Washing machine
Hello, my block scripts are similar to what Denny64 gave and work well. The notification is one
-
- Posts: 11
- Joined: Thursday 24 January 2019 16:59
- Target OS: Windows
- Domoticz version:
- Contact:
Re: SONOFF POWR2 Notification Dryer/Washing machine
Thanks for al the reply's! Just changed my blocky script. I think it will work this time! Made a small mistake.. !
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
Re: SONOFF POWR2 Notification Dryer/Washing machine
Hello, how do I do it in the Blockly, that if the consumed under 2 is a Telegram message comes?
Who is online
Users browsing this forum: No registered users and 1 guest