(Last Updated: May 2, 2020)

Z-Way electric meter devices not in openLuup



  • So I started experimenting by moving some of my wallplugs and power switch zwave devices over from VeraPlus to Z-Way.

    In Z-Way this results in different elements for switching, Watts and kWh. Some even have Volts which I never saw on Vera.

    But using the Z-Way plugin in openLuup only the Switch element is visible and all other elements of the zwave node are not.

    I don't really know to much about Z-Way or the plugin, but am trying to learn on the run.

    Maybe someone can give me some pointers what and where to look for to solve this?



  • I have quite a few of these devices... So I think I can help. So it sounds like you are excluding and reincluding devices into z-way?
    Did you complete interview of the devices?

    PS: indeed Z-way will reveal quite a few command classes vera did not expose.



  • There is a ZWay CGI which can be used to manually configure some devices which are difficult for auto-configure.

    Sorry the docs for this are, ATM, missing. It was just an experimental prototype that got out of hand!



  • @akbooer is so hard on himself... 😉

    Looking into it I think ALTUI should display Watts and kWh within the same element by default. Do they not? If not, indeed can you show what the cgi page for the z-way bridge show? You access through a link on ALTUI inside the zway bridge box.

    The zway bridge does its best to regroup devices in ALTUI like the verabridge did.



  • Ok, so much information already 😁

    Even with the missing docs I managed to get it working to some extent. Not due to my knowhow I'm sure, but more so due to the way it was build and the information that was shared by @akbooer and @rafale77. So thanks and kudos to the both of you.

    The first time I installed from the altappstore, but found the CGI was missing.
    Then I downloaded from GitHub master and placed the files manually, including the CGI.

    When I click on the link 'Configure ZWay child devices' I only see some title but nothing else.

    Yes, I am excluding devices from Vera and including them in Z-Way. And did finish the interview on them.

    And no, ALTUI does not show Watts and kWh in the same element.

    It seems it's v18.7.16 at the moment. Maybe I should upgrade to the development version?



  • Where did you put the CGI file? if should be in

    cmh-ludl/cgi/
    

    or wherever your openLuup root folder resides.



  • @akbooer
    Yep, that's where I place it.
    It's in /etc/cmh-ludl/cgi/



  • Ahh maybe you should use the GitHub/development branch rather than the master... The master is not quite up to date. @akbooer opportunity for a merge?

    Screen Shot 2020-04-30 at 14.09.23.png

    Screen Shot 2020-04-30 at 15.09.23.png



  • @rafale77 said in Z-Way electric meter devices not in openLuup:

    The master is not quite up to date. @akbooer opportunity for a merge?

    Yeah... always a good time / never a good time.

    Maybe I should just do all development in the master branch...



  • Tomorrow I will try the development branch.



  • After updating now my Neo Coolcam, Fibaro wallplug are showing Watts and kWh inside the one element. So I am a happy camper about this.

    My Greenwave Powernode 6 switch still has Watts and kWh missing in openLuup though. This device is probably a bit strange since it is one device with 6 switch plugs that all have Watts and kWh.
    For this device I will have make some changes but do not know yet which of the files do I need to edit to accomplish that or what to change/add. That will be my study object to learn a bit more how things work.
    Since Vera wasn't able to show this either I was hoping this would be possible easely possible with Z-Way.

    Also I have noticed something strange in comparison to the printscreen made by @rafale77. My device numbering does not start with the 20-prefix, but has the normal openLuup numbering.
    2020-05-01 23_08_01-Clipboard.png b77398a5-334d-43fe-9f4c-d90726228974-image.png e8358363-aa25-485d-b472-7e0d82f078b9-image.png



  • Awesome that you got the first problem solved!!

    About the device numbering, I suspect it is because the device creation was not made on the right version of the bridge. I would have to go look up the lua code to delete all the bridged devices so you can recreate them. @akbooer?

    For the greenwave, I think it can be fixed. Will need to add some implementations to the bridge.



  • Ahh for the device numbering you also need to run the dev branch of openLuup... Are you running that?



  • Yes I do, I had to use the dev branch to get it installed in my Ubuntu VM



  • Just to be sure I checked the openLuup version. Was running v2020.04.17 but now I'm updated to 2020.05.01
    Pretty sure that's the latest version 😉



  • Haha... yeah hard to beat that. ok when I get a little bit of time I will look at fixing the greenwave multiswitch. Just to be sure could you get a print screen of all the devices and command classes from this device? As of what you show it doesn't appear to be sending power monitoring info.



  • @iRobot

    Actually, I just updated the master branch, so currently it's the same as the development. Update to the latest and check the CGI again. Thanks.



  • @rafale77 Hopefully this is what you need
    bd6d5027-f114-4376-8997-725f0b272510-image.png 3f6656f8-8ff1-4abd-8fd4-51c4ab07934b-image.png bd6d5027-f114-4376-8997-725f0b272510-image.png 74f28d15-6fa9-4e90-b41e-b20793be8d79-image.png



  • @iRobot, It helps but the cgi @akbooer is asking for would be better.
    @akbooer Could you please provide the lua script to delete the bridge devices so as to recreate the devices. I get the feeling they were previously created and are not numbered right. I could rewrite it but am typo prone without testing...



  • @rafale77 @akbooer Just update the Z-Way plugin to the github.master but still only a header is showing.
    4d6c2012-0498-477b-991f-682fe28ae2c9-image.png

    Maybe I'm better of trying a fresh install of openLuup and the plugin in a different VM. The one I'm using now is kind of my production as well.


Log in to reply