Testers wanted - Better support for GreenWave devices #3875
Conversation
… greenwave products
I received the following documentation from GreenWave: |
Thanks - I had a quick look at this yesterday and I think it's ok - I'll double check tonight and hopefully merge then... Just for information, I'm trying to move the database to an online database editor to make it easier for people to use, and also to make it easier to support both OH1 and OH2 bindings that have different formats... http://www.cd-jackson.com/index.php/zwave/zwave-device-database Thanks |
Before merging, please someone confirm it's not harmful on NP210 & NS210. |
Hi Vincent I have a NS210 5-plug Powernode and could do some testing. But not sure how. Just grap the latest 1.9 z-wave binding? Regards |
This isn't merged yet so it's not in the latest snapshot. Let me take another look at it tonight - so long as the changes look ok such that any problems won't be significant I'll merge so you can test. Sent from my iPhone
|
You can get a build of the z-wave binding here: |
Thanks. Will have a look in the evening. On 26 January 2016 09:53:17 GMT+00:00, Vincent RAMPAL notifications@github.com wrote:
|
ok, looks good. For my NP210 I am able to see the new parameters and association groups. Everything seems to work as before. Regarding the new features:
|
To follow up my mail from yesterday. From my side I think it is ok to merge this change. The 1.8 functionality is still available and at least one new feature (power restore state) is working. Regarding polling: I am not clear if the new settings should remove the need for polling. Currently my item definitions looks like:
And perhaps could you post your item definition for the color wheel? Not sure what value this wheel adds, but I like to understand in more details how the parameters work in z-wave. |
From the technical documentation, you should see the flowing:
You should be able to remove polling on METER WATT by setting param 0 and assoc group 3. The color wheel is only an information to identify the device, useful when you have multiple devices. |
Please don't merge the pull request the value of parameter 4 is inverted in the config files. |
Ok, thanks Sent from my iPhone
|
Pull request updated, all config correspond to Greenwave technical documentation. |
Thanks, your explenation were of great help. I was able to disable polling and also experienced the errors with wrong endpoints, i.e. only endpoint 4 is switched on and got following message: NODE 22: Got a value event from Z-Wave network, endpoint = 1, command class = METER, value = 131.8 Also the switch state seems not to get updated in the non-polling setup. Will now test the new binding version from today. |
Please let me know when this is good to merge… Thanks. |
For me it's ok, the xml file match the documentation, we can benefit of some new parameters and the notification works on single channel version. |
What command classes does it implement that you need? Sent from my iPhone
|
What do you mean by notifications? There aren't notifications from the multi-channel command class - it's just an encapsulation class. If there's a problem, then please open an issue, but I'm not aware of anything wrong in this area.
Based on this in the XML you produced -:
I only see the protection class that isn't supported - I don't think that's a major issue (is it?) - or do you really need this? |
Ok, I started home automation 1 month ago, it's the very first time I use Z-Wave so I'm not very confident in my analysis. GreenWave supports association to send the current consumption. I see no reason at all to enable information push on channel 1 only so they must have some kind of trick to encapsulate association in multichannel, or use another parameter. Also, you don't need to configure any polling in Fibaro boxes, so I guess there is a way to use the feature. The COMMAND_CLASS_METER, only the REPORT command is implemented, when I look inside OpenHab 1.8.0 code, the GET command and the RESET command was logging an warning. |
At the end, it's all I can do by changing only the XML files. So the pull request is complete for now. |
Typically, this needs to be configured in the device - associations are configured in the device, and the device then sends the data direct. IF there's a bug here in the binding, or some feature missing, then we can look at it, but I don't think so?
Absolutely - if you use associations, then polling is disabled. This is definately the best way to work and I would suggest configuring the device to do this. This is the normal way to work in openhab.
Ok - here you misunderstand the way the system works. What this means is that the BINDING doesn't support receiving GET requests since this makes no sense. This means that if the device sends a GET to the binding, then it doesn't respond - but this will never happen.
Thanks. I hope the above helps - if you have any questions, feel free to ask (best on the forum since then everyone can benefit from the discussion). |
Testers wanted - Better support for GreenWave devices
@vrampal FYI, I already added three Greenwave products to the database. The 6 plug version is fully populated in regards parameters. But the latest version is still awaiting approval. Once this is done, perhabs you can have a look at it and check. Suggest to follow up in your forum thread. @cdjackson Given the learnings from this discussion I think there might be somewhere a bug with associations and multiple endpoints. But I wonder if it makes sense to wait for the 2.0 binding and test it there. For me it is not urgent as polling is an acceptable workaround for the time being. |
I'm more than happy if you want to raise an issue, but I don't have ANY idea what the problem is? The only comment I see is something about the fact that the device supports associations to send current consumption, but this isn't even an explanation of what issue you are seeing. I gather that this means something isn't working, but what? Can you provide a log, maybe a description of what you're doing? Currently, I don't believe there is anything missing or any bug in the association command class -- there is a missing command class which is the multi-instance-association, but this device doesn't seem to support this (at least based on the list of command classes). I suggested above that there is a discussion on the forum on this so we can understand the issue - then if there's a problem identified, we can raise an issue to get it fixed. I'm happy to try and help, but only if I understand the issue :) |
According to Z-Wave command class specification, there is a command class called MULTI_INSTANCE_ASSOCIATION. Apparently, it's implemented in OpenZWave. |
Yes - that's what I mentioned in my email above, but according to the information you provided in the XML, this class isn't supported by the device? Can you confirm this please? |
Your right, I updated the XML according to the documentation and MULTI_INSTANCE_ASSOCIATION is not mentioned in documentation. |
I have only a NP310, I need your help to test on NP210 and NS210
Fixes/improvement:
Bugs:
Not tested: