Hello,
I’m using the dsmr binding to read out my electricity statistics. This works fine, all data is present.
In the text output from my P1 port I see also the gas measurement in the last line:
0-1:24.2.3(191127180506W) (00095.291*m3)
I added 2 lines to my things file to read out the gas consumption.
Looking via configuration things on paperUI I see that both are online, but not reading any data.
The only value I get in paperUI Control for these items are the Device Type =“3” Delivery =“-NaN” and Timestamp =“-”
Any idea why the binding is not reading the data ? Or can I test something ?
For completeness I add also my items file
Number Energy_Total_Delivery_Day "Totaal Levering Dag [%.3f kWh]" {channel="dsmr:electricity_v5_0:mysmartmeter:electricityV5:emeter_delivery_tariff1"}
Number Energy_Total_Delivery_Night "Totaal Levering Nacht [%.3f kWh]" {channel="dsmr:electricity_v5_0:mysmartmeter:electricityV5:emeter_delivery_tariff2"}
Number Energy_Total_Production_Day "Totaal Productie Dag [%.3f kWh]" {channel="dsmr:electricity_v5_0:mysmartmeter:electricityV5:emeter_production_tariff1"}
Number Energy_Total_Production_Night "Totaal Productie Nacht [%.3f kWh]" {channel="dsmr:electricity_v5_0:mysmartmeter:electricityV5:emeter_production_tariff2"}
Number Energy_Actual_Delivery "Actuele Levering [%.3f kW]" {channel="dsmr:electricity_v5_0:mysmartmeter:electricityV5:emeter_actual_delivery"}
Number Energy_Actual_Delivery_W "Actuele Levering [%.0f W]" (gPower)
Number Energy_Actual_Production "Actuele Productie [%.3f kW]" {channel="dsmr:electricity_v5_0:mysmartmeter:electricityV5:emeter_actual_production"}
Number Energy_Actual_Production_W "Actuele Productie [%.0f W]" (gPower)
String Energy_Tarif "Energie Tarief" {channel="dsmr:electricity_v5_0:mysmartmeter:electricityV5:emeter_tariff_indicator"}
Number Energy_Voltage "Energie Voltage [%.1f Volt]" {channel="dsmr:electricity_v5_0:mysmartmeter:electricityV5:emeter_instant_voltage_l1"}
Number Energy_Gas "Gas Verbruik" {channel="dsmr:gj_v5_0:mysmartmeter:dsmrV5gj:gjmeter_value"}
Number Energy_Gas_Time "Gas Laatste meting" {channel="dsmr:gj_v5_0:mysmartmeter:dsmrV5gj:gjmeter_value_timestamp"}
It looks like the reading for gas readings are not recognized. If you run the discovery for the DSMR binding in PaperUI it should print any problems in the logging. This might be a first indication. If that doesn’t give any more information you can enable debug of trace log level (log:set DEBUG org.openhab.binding.dsmr)
Hey,
During the discovery the next lines are printed in the log
2019-11-28 16:21:20.226 [INFO ] [.discovery.DSMRMeterDiscoveryService] - There are some unrecognized values, which means some meters might not be detected. Not all values are recognized. Please report your raw data as example:
2019-11-28 16:21:20.228 [INFO ] [.discovery.DSMRMeterDiscoveryService] - Possible incorrect meters configured. These are configured: GJ_V5_0, ELECTRICITY_V5_0, M3_V5_0.But the following u nconfigured meters are found in the data received from the meter:
The raw data I receive from USB-cable: > 0-1:24.2.3(191127180506W) (00095.291*m3)`
Where the 95.291 is the gas used in m³, and this is latest measured on 27 Nov 2019 at 18h05m06s
Here is reading from my Smartmeter. Electricity works fine, but with Gas is shown in paperui and connected but I receive as value -NaN. As you can see my Gas is on channel 2, the first meter won’t connect. So it was replaced. That’s why channel 2. My Gasmeter is SMR 5. What do I wrong?
Thanks for the help. I can see the total meter reading. But is it also possible to see the information of gas usage per hour. As you can see in P1 monitor and Domoticz.
The binding only reports the information passed by the meter. But depending what you want to see there are several options to store the data total via the persistence service and query the delta of a certain period and show it in a chart. See Persistence | openHAB