Nuon \ Greenwave Smart plug - Alarm Level

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

zaadstra
Posts: 23
Joined: Saturday 06 September 2014 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by zaadstra »

So disappointing ... after long time new version Domoticz (and OpenZwave) .... 3.5955 ...

Still flashing green on that despicaple thing.....

2016-09-04 22:29:12.199 OpenZWave: Received timeout notification from HomeID: 25480967, NodeID: 9 (0x09)
2016-09-04 22:29:22.204 OpenZWave: Received timeout notification from HomeID: 25480967, NodeID: 9 (0x09)
2016-09-04 22:29:22.937 OpenZWave: Received Node Dead notification from HomeID: 25480967, NodeID: 9 (0x09)

When a pi/domoticz reboot solves it, how difficult can it be to do this with software control :-(
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Egregius »

Just set the parameter to 255 so the led only flashes after 255 minutes.
Or use a script to repeat a signal after 250 minutes.
Or enable polling.
Or move the switch so you don't see the light.
zaadstra
Posts: 23
Joined: Saturday 06 September 2014 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by zaadstra »

Polling is on. Probably this helps the device faster to be declared dead as it is detected more quickly.

The issue is that when it is dead and the light flashes, the socket switching commands are not executed.

I still think that it is possible to program a workaround. I'll keep digging, perhaps it is possible to fire some command to the OpenZwave API.
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Egregius »

Marked as dead has nothing to do with the flashing led, except that it starts flashing after x minutes of no communications.
You should figure out why it gets marked as dead, maybe something is causing interference.
Try moving the greenwave or the zwave antenna.
Plantje
Posts: 451
Joined: Friday 16 October 2015 7:58
Target OS: Windows
Domoticz version:
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Plantje »

Or it is in fact malfunctioning. A while ago I bought 3 second hand power nodes. Two worked perfectly and are still working like a charm. One started clicking after sometime and then was presumed dead. Adding the thing again seemed to work...for a few minutes.
Didn't take long and I was sure it was just broken.

Contacted the seller and he has paid me back the money for the broken node. Very nice of him!

After that I threw the node in the bin. The only right place for the node.
zaadstra
Posts: 23
Joined: Saturday 06 September 2014 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by zaadstra »

Egregius wrote:Marked as dead has nothing to do with the flashing led, except that it starts flashing after x minutes of no communications.
You should figure out why it gets marked as dead, maybe something is causing interference.
Try moving the greenwave or the zwave antenna.
Correct, that's why I don't want it to be declared dead 8-) It just notifies me of the latest issue.

Interference is possible although the distance is only a few meters. It also happened when the distance to the controller was only 1,5 meter of less.
And it happens completely random, from twice a day to no issues for many weeks. The log only mentions 3 timeouts and then declares the greenwave dead. No other indications for problems or causes. There are two other mains sockets in the neighbourhood, so some communication should be possible.

What I am looking for is that I can send the same command to the greenwave after some timeouts, as the Pi/Domoticz/controller sends when rebooting the system. Then I have a software workaround. The greenwave always listens, I do not have to touch it to get it alive again.
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Egregius »

Repeating a command every x minutes isn't that difficult.
In my pass2php script that would look like this:

Code: Select all

if(strtotime($t['switchname'])<onehour) sw($i['switchname'],$s['switchname']);
 
zaadstra
Posts: 23
Joined: Saturday 06 September 2014 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by zaadstra »

Thanks, that is a good detection.

And then now for the 1M€ question: what will be the command? :idea:

Enabling and disabling the debug logging on the Aeon S2 stick will restart OpenZwave and revives the greenwave. But I'm looking for a smoother command because te Zwave restart makes my doorsensors blind for the time period of their wake-up interval. That is very long, 1-2 hrs (or eats their batteries).
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Egregius »

The command will be whatever the status of the switch is.
So if the switch is off, the command will be to turn it off. Because of the communication the led will stop flashing.
But, if the device is marked dead before that it won't work.
Therefore you should try if you can revive the node in OZWCP with the has node failed command.
Also for that, I have a php function, if interested.
zaadstra
Posts: 23
Joined: Saturday 06 September 2014 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by zaadstra »

Yes I'd like to see that. I only have little knowledge of PHP. There are lots of examples on the Domoticz wiki, but not how to start them.

I'm affraid there is one catch: if openzwave has listed a timeout, the switch command probably never will be executed. The polling / reading power useage should function the same as setting a switch? In fact, any command to the greenwave may mess up and cause a timeout, I suspect.
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Egregius »

Egregius wrote: Therefore you should try if you can revive the node in OZWCP with the has node failed command
zaadstra
Posts: 23
Joined: Saturday 06 September 2014 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by zaadstra »

I just remembered that I indeed did that last time, but did not press the magic buttun in OZWCP, or just did not find it :roll:
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Egregius »

If that works you could use my 'refreshzwave' function to automagically revive dead nodes ;)
zaadstra
Posts: 23
Joined: Saturday 06 September 2014 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by zaadstra »

Ok, where can I find that?

I'm not sure if it works or not in OZWCP, I am not at home there...
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Egregius »

It is part of my pass2php script: http://www.domoticz.com/forum/viewtopic ... 23&t=12343
But you better first test in OZWCP to be sure.
zaadstra
Posts: 23
Joined: Saturday 06 September 2014 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by zaadstra »

I can't find the revive button/option/menu in OZWCP. Where to look or has it a different name?

Somehow those numbers don't look good:

Code: Select all

Network Errors 	  	Message Counts 	  	Network Info 	 
ACK Waiting: 	53	SOF: 	1287692	Dropped: 	37284
Read Aborts: 	2	Total Reads: 	1287689	Retries: 	51
Bad Checksums: 	1	Total Writes: 	451106	Unexpected Callbacks: 	25
CANs: 	51	ACKs: 	433518	Bad Routes: 	0
NAKs: 	0	Total Broadcasts Received: 	0	No ACK: 	130
Today I discovered that the Greenwave isn't declared dead anymore (although it is flashing). The log is filled with continued
2016-09-10 21:39:44.021 OpenZWave: Received timeout notification from HomeID: 25480967, NodeID: 9 (0x09)
2016-09-10 21:39:45.652 OpenZWave: Received timeout notification from HomeID: 25480967, NodeID: 9 (0x09)
2016-09-10 21:39:46.656 OpenZWave: Received timeout notification from HomeID: 25480967, NodeID: 9 (0x09)
etc.

This software version Domotics/OZW behaves worse than previous. Now all day ALL zwave devices are dead too, no temp/door indication and switches can't be controled. Drama.
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Egregius »

I didn't say 'revive button' but 'revive' the node with the 'has node failed' command in ozwcp.
zaadstra
Posts: 23
Joined: Saturday 06 September 2014 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by zaadstra »

OK. I did that too but nothing happened, on screen or on the green wave.
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by alexsh1 »

Does anyone has the problem with the node not being updated in Domoticz and the power button is pressed manually?
Plantje
Posts: 451
Joined: Friday 16 October 2015 7:58
Target OS: Windows
Domoticz version:
Contact:

Re: Nuon \ Greenwave Smart plug - Alarm Level

Post by Plantje »

Sometimes a node stops working and when I press the button manually all works again.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 0 guests