Gas meter reading via dsrm online, but no data

Hi,

I am converting as a newby from domoticz to openhab3. So far pretty doable with lots of information available. Top!
One important thing for me does not work, and i can not find the needed info. This is the gas meter reading via DSRM binding (I am in the Netherlands, Slimme meter via P1 cable).
The Slimme meter, Elektriciteitsmeter (DSMR V5.0) and Gasmeter (DSMR V3.0) things are all online.
Electricity data gets filled, but the gas usage (and also the other gas channels) receive no data so it seems.
What to change or try, any tips?

Thanks!

Geert

  • Platform information:
    • RPI4 , 4 Gb
    • OS: Openhabian, from the complete image installed
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version: 3.0.1

My things config:

Bridge dsmr:dsmrBridge:6c033d0d03 [serialPort="/dev/ttyUSB0"] {
Things:
device_v5 dsmrV5Device [channel=-1]
electricity_v5_0 electricityV5 [channel=0]
gas_v3_0 gasV3 [channel=1]
}

My items config file:

String P1Version “P1 Version output” {channel=“dsmr:electricity_v5_0:6c033d0d03:electricityV5:p1_version_output”}
Number:Energy MeterDeliveryTariff0 “Total electricity delivered to the resident during low tariff period [%.3f kWh]” {channel=“dsmr:electricity_v5_0:6c033d0d03:electricityV5:emeter_delivery_tariff1”}
Number:Energy MeterDeliveryTariff1 “Total electricity delivered to the resident during high tariff period [%.3f kWh]” {channel=“dsmr:electricity_v5_0:6c033d0d03:electricityV5:emeter_delivery_tariff2”}
Number:Energy MeterProductionTariff1 “Total electricity produced by the resident during low tariff period [%.3f kWh]” {channel=“dsmr:electricity_v5_0:6c033d0d03:electricityV5:emeter_production_tariff1”}
Number:Energy MeterProductionTariff2 “Total electricity produced by the resident during high tariff period [%.3f kWh]” {channel=“dsmr:electricity_v5_0:6c033d0d03:electricityV5:emeter_production_tariff2”}
Number:Energy ActualDelivery “Actual delivery electricity [%.3f kWh]” {channel=“dsmr:electricity_v5_0:6c033d0d03:electricityV5:emeter_actual_delivery”}
Number:Energy ActualProduction “Actual production electricity [%.3f kWh]” {channel=“dsmr:electricity_v5_0:6c033d0d03:electricityV5:emeter_actual_production”}
Number:Energy GasMeterDeliveryLastPeriod “Total gas delivered to the resident [%.3f kWh]” {channel=“dsmr:gas_v3_0:6c033d0d03:gas_v3_0:gmeter_value_v3”}

Your gas item configuration shows gas as kWh and with the wrong type, It should be Number:Volume. Please check the documentation.

Thanks Hilbrand, too much copy paste indeed. However this did not solve my problem.
In the meantime i have tried several things to get my gas-usage within Openhab, not succeeded uptill now.

  • I have set DEBUG, that shows me that the gas channel is read, online, but only the device type and equipment id is shown in the logfile. No usage data appears in the logfile. See dump.
  • I removed the setting via the .items and .things file, used discovery but no change. I can see in both ways (via config files and via the UI) all the needed channels, including the needed gmeter_value_g3 (see screenshot). Electr all works fine, for the gas channel only two data items get filled
  • I have experimented with NUMBER and NUMBER:VOLUME setting, as i have read one one of your postings that this may be the cause. Both do not result in correct usage display in Openhab.

I suspect that the last part of the gas data is not received bij Openhab. Same meter (Kaifa), same P1 cable worked within Domoticz including gas reading. So data can be transferred to the same Rpi.

What more to change/try? Any tips to solve this?

Thanks, Geert

![image|613x500]

2021-02-27 09:43:54.103 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_device_type to value 003
2021-02-27 09:43:54.105 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_equipment_identifier to value G0019340239624115
2021-02-27 09:44:54.106 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_device_type to value 003
2021-02-27 09:44:54.109 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_equipment_identifier to value G0019340239624115
2021-02-27 09:45:54.111 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_device_type to value 003
2021-02-27 09:45:54.116 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_equipment_identifier to value G0019340239624115
2021-02-27 09:46:26.145 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_device_type to value 003
2021-02-27 09:46:26.151 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_equipment_identifier to value G0019340239624115
2021-02-27 09:46:54.118 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_device_type to value 003
2021-02-27 09:46:54.120 [DEBUG] [mr.internal.handler.DSMRMeterHandler] - Updating state for channel meter_equipment_identifier to value G0019340239624115