Support for GreenWave PowerNode

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

daferra
Starting Member
Starting Member
Posts: 42
Joined: Wed Jul 15, 2009 10:42 am
Location: Netherlands

Support for GreenWave PowerNode

Post by daferra »

Hello Ron,

Any change this device is going to be supported by DomotiGa? I have one, and can do some tests for you if you want.

There are already some people working on it, maybe this can help
https://groups.google.com/forum/#!searc ... LNkw__BlUJ
http://www.maartendamen.com/2012/03/gre ... mpression/

At this stage I am able to turn off or on the device from DomotiGa, but I only see one instance and not 6 as it needed to be.

Best regards, Ferdi
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: Support for GreenWave PowerNode

Post by RDNZL »

It isn't working because of a bug in the open-zwave library, the one you posted the url for, so if that's fixed it will work in DomotiGa too.
Regards, Ron.
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Support for GreenWave PowerNode

Post by uAlex73 »

The GreenWave 6 port is fully supported by the latest revision of Open Z-Wave library! :D :D :D
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Re: Support for GreenWave PowerNode

Post by raymonvdm »

I also used the Greenwave nodes in the past using Domotiga and now i`m am using HomeSeer. I have had delay issues in Domotiga and know i`m having the same issues using HomeSeer

I`m polling the devices every 2 minutes for power status. But i seems to give me the following messages

17-10-2012 0:49:06 Warning Aborting Z-Wave send, taking too long to send command to node 14 waited 12 seconds

I have the following device version (i think)

3.33 (Unknown ZDK Version) App: 4.21
3.33 (Unknown ZDK Version) App: 4.20

I have read somewhere that this could be a software issue. Since i don`t own a Nuon Gateway it seems that i cannot perform an update. Is this possible any hoe when u have the gateway
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Support for GreenWave PowerNode

Post by uAlex73 »

Hi Raymond,

I am using a powernode 1-node (node 7) and powernode 6-node (node 8). As you can see below (DomotiGa logging), the powernode 1-node response almost directly, but it takes 7 seconds to the powernode 6-node to respond (and the responds still takes 2-3 seconds).

2012/10/17 20:05:00 [Z-Wave] Trigger listening nodes to update their values.
2012/10/17 20:05:00 [Z-Wave] Requesting node dynamic of listening node id 2.
2012/10/17 20:05:00 [Z-Wave] Requesting node dynamic of listening node id 4.
2012/10/17 20:05:00 [Z-Wave] Requesting node dynamic of listening node id 7.
2012/10/17 20:05:00 [Z-Wave] Requesting node dynamic of listening node id 8.
2012/10/17 20:05:00 [Z-Wave] Got value changed notification for node 2 and instance 1 value1 changed to On.
2012/10/17 20:05:00 [Z-Wave] Got value changed notification for node 2 and instance 1 value1 changed to On.
2012/10/17 20:05:00 [Z-Wave] Got value changed notification for node 4 and instance 1 value1 changed to On.
2012/10/17 20:05:00 [Z-Wave] Got value changed notification for node 4 and instance 1 value1 changed to On.
2012/10/17 20:05:00 [Z-Wave] Got value changed notification for node 4 and instance 1 value1 changed to On.
2012/10/17 20:05:00 [Z-Wave] Got value changed notification for node 7 and instance 1 value1 changed to On.
2012/10/17 20:05:00 [Z-Wave] Got value changed notification for node 7 and instance 1 value1 changed to On.
2012/10/17 20:05:01 [Z-Wave] Got value changed notification for node 7 and instance 1 value3 changed to 0.0000.
2012/10/17 20:05:01 [Z-Wave] Got value changed notification for node 7 and instance 1 value2 changed to 0.0.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 1 value1 changed to On.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 2 value1 changed to On.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 3 value1 changed to On.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 4 value1 changed to On.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 5 value1 changed to On.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 6 value1 changed to On.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 1 value1 changed to On.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 2 value1 changed to On.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 3 value1 changed to On.
2012/10/17 20:05:07 [Z-Wave] Got value changed notification for node 8 and instance 4 value1 changed to On.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 5 value1 changed to On.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 6 value1 changed to On.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 1 value3 changed to 0.0936.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 1 value2 changed to 1.2.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 2 value3 changed to 0.0000.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 2 value2 changed to 0.0.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 3 value3 changed to 0.0000.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 3 value2 changed to 0.0.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 4 value3 changed to 0.0000.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 4 value2 changed to 0.0.
2012/10/17 20:05:08 [Z-Wave] Got value changed notification for node 8 and instance 5 value3 changed to 0.0000.
2012/10/17 20:05:09 [Z-Wave] Got value changed notification for node 8 and instance 5 value2 changed to 0.0.
2012/10/17 20:05:09 [Z-Wave] Got value changed notification for node 8 and instance 6 value3 changed to 0.0000.
2012/10/17 20:05:09 [Z-Wave] Got value changed notification for node 8 and instance 6 value2 changed to 0.0.

So ... not much to fix i think ;(
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Re: Support for GreenWave PowerNode

Post by raymonvdm »

I also have 3 "one node" nodes and 1 "six node"

I`m using HomeSeer but it should not be to much of a difference. I`m polling the 3 "one node" devices every 2 minutes and do see errors

Code: Select all


23-10-2012 9:52:40 	Event 	Event Trigger "Poll Wattage Vriezer"
23-10-2012 9:52:40 	Event 	Event Trigger "Poll Wattage Vaatwasser"
23-10-2012 9:59:05 	Event 	Event Trigger "Poll Wattage Koelkast"

23-10-2012 10:00:52 	Warning 	Aborting Z-Wave send, taking too long to send command to node 10 waited 12 seconds
23-10-2012 10:00:56 	ERROR 	Timeout waiting for send abort to complete



When i start polling the "six node" unit i see the following warnings

Code: Select all


23-10-2012 10:00:05 	Event 	Event Trigger "Poll Wattage Stekkerblok"
23-10-2012 10:00:05 	Event Action 	Event Default Poll Wattage Stekkerblok is polling 1e verdieping Slaapkamer Root Device 14

23-10-2012 10:03:21 	Warning 	Aborting Z-Wave send, taking too long to send command to node 14 waited 12 seconds

The list of nodes i`m polling

Code: Select all


       
 	Vaatwasser 	Q24 (10) 	Z-Wave Root Device 	Never Set ("one node")
        Slaapkamer 	Q40 (14) 	Z-Wave Root Device   Never Set ("six node")

In the events i`m polling the following devices which are subdevices of the Z-Wave Root Device

Code: Select all

Vaatwasser Electric Meter Watts 	Q27 	Z-Wave Electric Meter 	Today 8:20:05
Koelkast Electric Meter Watts 	        Q32 	Z-Wave Electric Meter 	Today 9:51:54
Vriezer Electric Meter Watts 	        Q37 	Z-Wave Electric Meter 	18-10-2012 6:53:10
After adding an association from group 1 till 4 to homeseer i see the following error

Code: Select all

23-10-2012 17:16:45 	Z-Wave Warning 	(1) Received a METER class report from node 14 for MT=ELECTRIC, MST=2, but the corresponding child device could not be found.
Are you running different software version on the nodes ?
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Support for GreenWave PowerNode

Post by uAlex73 »

@raymondvdm:

The GreenWave devices are working nicely with the latest open-zwave wrapper. The COMMAND_CLASS_ALARM was removed from the poll-list, because it says it has it, but doesn't respond to it. Only this is still the "flashing" that the device is too far from the gateway, but i think that is introduced by the vendor for its own use (a sticker helps with this :-))
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Support for GreenWave PowerNode

Post by uAlex73 »

Also, i digged a little bit deeper in the GreenWave configuration options. The GreenWave devices respond to:

Configuration #1 - Value=2, don't know what this is
Configuration #2 - Value=128 - 137, the side wheel determines this value:
- 128 - Black (empty)
- 129 - 1
- 130 - 2
- 131 - 3
- 132 - 4
- 133 - 5
- 134 - 6
- 135 - 7
- 136 - 8
- 137 - "locked"

Finally we get find out which color the wheel is:-) Only unsure how we can display this in DomotiGa (it isn't normal to use such configuration in the device display)
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
gvdham
Member
Member
Posts: 111
Joined: Sat Oct 03, 2009 10:19 pm
Location: Netherlands

Re: Support for GreenWave PowerNode

Post by gvdham »

Can someone please explain how to add this device to domotiga. I tried, removed the stick, pushed the buttons, added the stick, looked in the log and in devices added a zwave device with address 2:2 just like i do it with my x10 devices. Now I can turn on/off the device, but how do I monitor the usage. what device do I need to add for this?
Afterwards not smart, but this is my first zwave device ever.
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Support for GreenWave PowerNode

Post by uAlex73 »

There are 2 types of polling of listening devices (the GreenWave is one of them):

- open-zwave polling - only this polls the BASIC commandclass
- Poll listening nodes, with a crontab entry alike format - this polls all possible values, including Watt and kWh usage. The On/Off is in "value", the Watt is in 'value2" and kWh is in the "value3" in such case.

So you need to configure in the Z-Wave setup the polling of listening devices. Every 5 minutes is a good value.
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
daferra
Starting Member
Starting Member
Posts: 42
Joined: Wed Jul 15, 2009 10:42 am
Location: Netherlands

Re: Support for GreenWave PowerNode

Post by daferra »

With the latest DomotiGa build r1043 and open-zwave build 3574 the GreenWave nodes dont work correct anymore.
If you turn on/off node 8:2, node 8:1 is turned of or on. I don't see any problems in the DomotiGa logs.

Maybe something to do with the changes in the openzwave library
https://groups.google.com/forum/?fromgr ... QWpYwTly0U

If 8:2 is turned on, this is the output from the wrapper.

Code: Select all

2012-11-28 11:44:33:952 Node008, SwitchBinary::Set - Setting node 8 to On
2012-11-28 11:44:33:952 Node008, Queuing command: MultiChannel Encapsulated (instance=3): SwitchBinary Set (Node=8): 0x01, 0x0e, 0x00, 0x13, 0x08, 0x07, 0x60, 0x0d, 0x01, 0x02, 0x25, 0x01, 0xff, 0x05, 0x83, 0xde
2012-11-28 11:44:33:952 Node008, Queuing command: MultiChannel Encapsulated (instance=3): SwitchBinaryCmd_Get (Node=8): 0x01, 0x0d, 0x00, 0x13, 0x08, 0x06, 0x60, 0x0d, 0x01, 0x02, 0x25, 0x02, 0x05, 0x84, 0x27
2012-11-28 11:44:33:952 Node008, WriteMsg WriteNextMsg m_currentMsg=09428220
2012-11-28 11:44:33:953 
2012-11-28 11:44:33:953 Node008, Sending command (Callback ID=0x83, Expected Reply=0x13) - MultiChannel Encapsulated (instance=3): SwitchBinary Set (Node=8): 0x01, 0x0e, 0x00, 0x13, 0x08, 0x07, 0x60, 0x0d, 0x01, 0x02, 0x25, 0x01, 0xff, 0x05, 0x83, 0xde
2012-11-28 11:44:33:956 Node008,   ACK received CallbackId 0x83 Reply 0x13
2012-11-28 11:44:33:960 Node008,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2012-11-28 11:44:33:960 Node008, ZW_SEND_DATA delivered to Z-Wave stack
2012-11-28 11:44:34:004 Node008,   Received: 0x01, 0x05, 0x00, 0x13, 0x83, 0x00, 0x6a
2012-11-28 11:44:34:005 Node008,   ZW_SEND_DATA Request with callback ID 0x83 received (expected 0x83)
2012-11-28 11:44:34:005 Node008,   Expected reply was received
2012-11-28 11:44:34:005 Node008,   Message transaction complete
2012-11-28 11:44:34:005 
2012-11-28 11:44:34:005 Node008, WriteMsg WriteNextMsg m_currentMsg=092a4d90
2012-11-28 11:44:34:005 
2012-11-28 11:44:34:005 Node008, Sending command (Callback ID=0x84, Expected Reply=0x04) - MultiChannel Encapsulated (instance=3): SwitchBinaryCmd_Get (Node=8): 0x01, 0x0d, 0x00, 0x13, 0x08, 0x06, 0x60, 0x0d, 0x01, 0x02, 0x25, 0x02, 0x05, 0x84, 0x27
2012-11-28 11:44:34:008 Node008,   ACK received CallbackId 0x84 Reply 0x04
2012-11-28 11:44:34:012 Node008,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2012-11-28 11:44:34:012 Node008, ZW_SEND_DATA delivered to Z-Wave stack
2012-11-28 11:44:34:083 Node008,   Received: 0x01, 0x05, 0x00, 0x13, 0x84, 0x00, 0x6d
2012-11-28 11:44:34:083 Node008,   ZW_SEND_DATA Request with callback ID 0x84 received (expected 0x84)
2012-11-28 11:44:34:160 Node008,   Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x08, 0x07, 0x60, 0x0d, 0x02, 0x01, 0x25, 0x03, 0xff, 0x4e
2012-11-28 11:44:34:160 
2012-11-28 11:44:34:160 Node008, Received a MultiChannelEncap from node 8, endpoint 2 for Command Class COMMAND_CLASS_SWITCH_BINARY
2012-11-28 11:44:34:160 Node008, Received SwitchBinary report from node 8: level=On
2012-11-28 11:44:34:161 Node008, Refreshed Value: old value=false, new value=true, type=bool
2012-11-28 11:44:34:161 Node008, Changes to this value are not verified
2012-11-28 11:44:34:161 Node008,   Expected reply and command class was received
2012-11-28 11:44:34:161 Node008,   Message transaction complete
2012-11-28 11:44:34:161 
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Support for GreenWave PowerNode

Post by uAlex73 »

I didn't upgrade yet to the latest open-zwave library, but you're right they changed the multi-instance detection in r573. That can be the cause of the issue, because DomotiGa isn't doing anything else then normal.

This week i will test with the latest open-zwave revision, but you can try the following:
- remove the zwcfg*xml and let the open-zwave rediscover all the devices again. Possible the format of the zwcfg*xml is changed also.

If no issue report has been logged at that time on open-zwave, i will open it this weekend (ofcourse if i can reproduce it).
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
daferra
Starting Member
Starting Member
Posts: 42
Joined: Wed Jul 15, 2009 10:42 am
Location: Netherlands

Re: Support for GreenWave PowerNode

Post by daferra »

removing the zwcfg*xml does not fix the problem. still the same behavior. I will do some investigation to open a issue report. will see if I can help out to solve the problem.
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Support for GreenWave PowerNode

Post by uAlex73 »

Thanks for opening an issue, hopefully they will resolve it quickly. I will stay in r570 for now (on my production box).

Thinking about it, i *think* the open-zwave guys only have sensors with multi-instance support, which can possible explain why they didn't catch this "fault". Only i will also try it a Fibaro 221 device this weekend, and see if it shows the same problem with instance 2.
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
daferra
Starting Member
Starting Member
Posts: 42
Joined: Wed Jul 15, 2009 10:42 am
Location: Netherlands

Re: Support for GreenWave PowerNode

Post by daferra »

If you installed r573 you need to put a extra line in the config file for greenwave powernode 6.

Code: Select all

<CommandClass id="96" mapping="endpoints" />
Still some issue's to resolve

- speed off reading value's
- automatic polling in DomtoiGa only reads the firts instant, not the other 5
Last edited by daferra on Tue Dec 04, 2012 12:07 pm, edited 1 time in total.
Post Reply

Return to “DomotiGa Forum”