org.openhab.binding.zwave
org.openhab.binding.zwave copied to clipboard
Qubino 3-phase power meter: Missing support for reported value
OH: openHAB 3.0.1 z-wave binding version: 3.0.1
-
Device name: Qubino 3-phase power meter
-
Device version: ZMNHXD (firmware: 50.6)
-
Link to database: https://opensmarthouse.org/zwavedatabase/900
-
If there is an XML being generted for the device (in the /userdata/zwave folder), please provide it. This folder is called "/srv/openhab-userdata/zwave" in OH3 at least.
I have this mail response from the manufacture as well:
"Every z-wave device consists of endpoints. The 3 phase smart meter has 5 endpoints, by default. The root endpoint and endpoint1 both map to the same functionality, that is why the values are the same. In a nutshell: the root endpoint and endpoint1 have the same values (total power consumption, the accumulated energy), whereas endpoint 2,3,4 map to the three phases 1,2,3. Currently, z-wave.me only shows the “consumed” (rate Type Import) values, whereas it doesn’t display the “produced” (rate Type Export) values. We’ve notified z-wave.me about this a few weeks ago. They said that it will be added to their queue of features, which will be added. For now there are only three gateway, platforms that can receive and show the import and the export (produced power) on the market for now that are: : ioBroker, zwavejs2mqtt, Toon gateway.
The measures are sent in the reports
COMMAND_CLASS_METER 0x32
METER_REPORT 0x02
Rate Type"
Thank you.
This issue has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/qubino-zmnhxd-smart-meter-channels/116879/12
Are there any news on this - I am interested as well in the "produced" values coming from a solar panel.
Bought the Qubino smart meter yesterday and installed it. I'm also lacking the functionality to read the exported kWh. Any news on this? Thanks!
FYI: in this forum topic are some details about how z-wave.me fixed it. It is related to the fact that a certain byte must be set in the command to specify whether you want the imported or the exported kWh value:
The tech support at Qubino tells me that I need to send an additional byte following the Get() command to the meter in order to get the exported energy: Raw command: 32 01 80 00 Description: 0x32 - COMMAND_CLASS_METER 0x01 - METER_GET 0x80 - value change depending which measure you want to retrieve and include the Rate type, Scale and Reserved, for the export kWh is 80, for import kWh is 40 (default) 0x00 - the last value is used for kVar and kVarh
I am using a 'hack' that may work until we wait for the official binding to support this.
I get both readings from the meter - import and the export values. However, the description in the raw command is somehow lost. However, it is easy to check manually which value is which since you 'know' in the night the values are usually only import values, whereas when you have excess solar energy, it is likely import. Assuming the two values are rather far apart, I just have a simple rule to check whether the incoming value is within +-1 of the old import value. If it is indeed the case, then I assign it to import, else to the export value. Below is an example. I kept it even simpler since my export value was larger than my import.
rule "Update Total Energy" when Item Smart_Electric_meter_kWh_1 changed then if((Smart_Electric_meter_kWh_1.state as Number) < ((EnergyFromGrid.state as Number) + 1)) EnergyFromGrid.postUpdate(Smart_Electric_meter_kWh_1.state as Number) else SolarEnergySent.postUpdate(Smart_Electric_meter_kWh_1.state as Number) end