Almost similar OBIS Codes

8 views
Skip to first unread message

Hans Peter Durand

unread,
Dec 19, 2025, 1:00:36 PM (yesterday) Dec 19
to TasmotaUsers

Initial Situation

I use Home Assistant as the foundation for home automation in my house. I monitor the central heating system, as well as doors, windows, and mailbox, using sensors.

 

Current Situation

The house was renovated some time ago. In the coming years, replacing the existing gas heating system will become necessary. Therefore, current energy consumption (electricity, gas, and water) is an important issue. As a first step, I'm using an IoT adapter from Gantrisch Energie. This adapter runs Tasmota32 version 14.5.0. Integration with Home Assistant is done via the Mosquitto Broker. My initial step is to record electrical energy consumption, which I then display in the Home Assistant dashboard.

 

Interfaces and Boundary Conditions

The energy supplier (Energie Thun AG) has installed a Landis & Gyr E450 smart meter in my house. The IoT adapter can be connected via the M-Bus interface using an RJ-12 cable. Parameterization is done via a script. There is a corresponding configuration for each of the required OBIS codes.

For example: 1,pm(1.7.0)@1000,Pi ___ 1_7,kW,Pi,3

I discovered by chance that gas and water consumption data is also available via the M-Bus interface (the gas and water meters transmit the recorded readings to the smart meter via a radio connection (868 MHz)). All this data (electricity, gas, and water) is transmitted to Energie Thun using powerline technology.

 

Challenge

After consulting with the specialists at Energie Thun, the gas and water consumption values ​​are transmitted every hour on the hour and made available on the M-Bus interface. The following OBIS codes are used:

• Water: 0-1:24.2.1;2

• Gas: 0-3:24.2.1;2

When I configure this in the corresponding script, it looks like this. from

1,pm(24.2.1)@1,WaterTotal ___ 24_2_1,m3,Water,1

And indeed, this reads the value from the water meter. According to the specialist, this is necessary because the water consumption is transmitted first, followed by the gas consumption.

As I understand the script, a reduced or compressed OBIS code is used here.

 

My question is: Is there a way to configure the script so that I can distinguish between the two full OBIS codes for water and gas?

Philip Knowles

unread,
Dec 19, 2025, 3:06:15 PM (23 hours ago) Dec 19
to Hans Peter Durand, TasmotaUsers
Probably, look at the Smart Meter Interface section you can configure many different signals


From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of Hans Peter Durand <hanspete...@gmail.com>
Sent: Friday, December 19, 2025 18:00
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Almost similar OBIS Codes
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/sonoffusers/a1ab2ebe-0b8d-46d3-b8d5-34894b0d6349n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages