Z-Way electric meter devices not in openLuup
-
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?
-
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.
-
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.
-
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, 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... -
@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... -
Maybe brute force would be to delete the z-way bridge device, openluup will reload, check if the child devices are still there, if they are, delete them (was not an option to do manually for me as I had several hundreds) and then re-add the bridge device. All the child devices would be recreated then.
-
Deleted the ZWay plugin and removed the CGI and L_ZWay files, checked all child devices are deleted also and checked room 101.
After installing the ZWay plugin the CGI file is missing in /etc/cmh-ludl/cgi.
I retried several times using the appstore from both ALTUI and openLuup console.
To make sure its not some linux or user rights problem I even set /etc/cmh-ludl to 777.I just set my VM back from a snapshot and will be trying again tomorrow. Time to go to bed now
-
It's working.
Thanks to @akbooer and @rafale77 for helping!After experimenting again this morning it's working.
The CGI is showing information now and the Greenwave is including power monitoring in openLuup.
Basically I did what was follow the instructions from last night and this morning.
- Deleting the ZWay plugin and all of it's children.
- Deleting the /etc/cmh-ludl/cgi/zway_cgi.lua and /etc/cmh-ludl/L_ZWay.lua and L_ZWay2.lua files.
- Reloading the Luup engine (this I probably forgot to do last night)
- Setting ownership on folder /cmh-ludl/cgi and all it's children to my username instead of root (not sure this is necessary)
- Installed the plugin from AltAppStore
- Downloaded the ZWay_cgi.lua from github and placed is in /etc/cmh-ludl/cgi
- Reloading the Luup engine
- Configured the IP and logon information of my ZWay
- Reloading the Luup engine