P1 SMART METER -GAS problem

Moderator: leecollings

Post Reply
skorc11
Posts: 12
Joined: Wednesday 24 October 2018 9:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

P1 SMART METER -GAS problem

Post by skorc11 »

Hello,
gas company changed gas meter with new one- same type.

I have Domoticz 2021.1 Rpi with USB connected smart meter and gas meter MBUS.

Till now everything worked. I deleted old gas usage but device keeps showing and it shows old value.

I tryed to force MBUS channel 1-4 with user variable.
2021-08-26 11:41:14.473 Status: El: Meter is pre DSMR 4.0 and does not send a CRC checksum - using DSMR 2.2 compatibility
2021-08-26 11:41:54.233 Status: El: Worker stopped...
2021-08-26 11:41:54.234 Status: : Gas meter M-Bus channel 2 enforced by 'P1GasMeterChannel' user variable
2021-08-26 11:41:54.234 Status: El: Using serial port: /dev/ttyUSB-P1
2021-08-26 11:41:54.238 Status: El: Gas meter M-Bus channel 2 enforced by 'P1GasMeterChannel' user variable
2021-08-26 11:41:54.238 Status: El: Worker started...

Any idea what could be wrong ?
U
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: P1 SMART METER -GAS problem

Post by erem »

can you look at a raw telegram?
i suspect your new gas meter is on a different m-bus channel.

0-2:24.1.0(003)
0-2:96.1.0(4730303332353635353338353131313137)
0-2:24.2.1(180209151002W)(00004.674*m3)
|
--> channel nr (2)

i see you already have the user variable P1GasMeterChannel, set that to the value from the raw telegram
Regards,

Rob
skorc11
Posts: 12
Joined: Wednesday 24 October 2018 9:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 SMART METER -GAS problem

Post by skorc11 »

/ISk5\2MT381-1006

0-0:96.1.1()
1-0:1.8.1(031738.40*kWh)
1-0:1.8.2(032478.83*kWh)
1-0:2.8.2(000000.00*kWh)
1-0:2.8.1(000004.19*kWh)
0-0:96.14.0(0001)
1-0:1.7.0(001.254*kW)
1-0:2.7.0(000.000*kW)
0-0:17.0.0(015.300*kW)
0-0:96.3.10(1)
0-0:96.13.1()
0-0:96.13.0()
0-1:96.1.0(3030303030353434303030303236363131)
0-1:24.1.0(3)
0-1:24.3.0(210826121304)(00)(60)(1)(0-1:24.2.1)(m3)
(11227.437) this value is from old meter
0-1:24.4.0(1)
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: P1 SMART METER -GAS problem

Post by erem »

i see your old meter on mbus channel 1
i do not see the new meter at all, but this is a partial telegram, post the full one
Regards,

Rob
User avatar
FireWizard
Posts: 1747
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: P1 SMART METER -GAS problem

Post by FireWizard »

Hi,

The telegram shown in this post: viewtopic.php?t=10020, look similar to yours.

Also the OBIS code 0-1:24.3.0 is not according to the Dutch specification.

Is it a Dutch or a Belgian meter?

Regards
skorc11
Posts: 12
Joined: Wednesday 24 October 2018 9:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 SMART METER -GAS problem

Post by skorc11 »

Hello,

smart meter is Iskra MT381 and gas Landis+Gyr.

It was working for 5 years now... Gas company changed gas meter for same type Iskra MT381 was not changed.

Value that i get in domoticz and telegram is old value read from Iskra MT381...

I think gas meter is not sending data to Iskra MT381... I dont know why ?

In domoticz i get message:
2021-08-27 05:41:19.457 Status: Elektrika: Worker stopped...
2021-08-27 05:41:19.457 Status: Elektrika: Using serial port: /dev/ttyUSB-P1
2021-08-27 05:41:19.462 Status: Elektrika: Worker started...
2021-08-27 05:41:25.714 Status: Elektrika: Found gas meter on M-Bus channel 1

Any idea?
User avatar
FireWizard
Posts: 1747
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: P1 SMART METER -GAS problem

Post by FireWizard »

Hi, @scorc11,

Did you already check https://www.domoticz.com/wiki/Dutch_DSM ... th_P1_port.
See the last chapter.

Regards
skorc11
Posts: 12
Joined: Wednesday 24 October 2018 9:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 SMART METER -GAS problem

Post by skorc11 »

Hello,

tested 1-4 MBUS with user variable- P1GasMeterChannel.

Still the same.

Old value in telegram.


I also deleted device Gas - after restart it shows automatic - unused devices with old meter value.

How to test if MBUS is working...
U
User avatar
FireWizard
Posts: 1747
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: P1 SMART METER -GAS problem

Post by FireWizard »

Hi, @skorc11,

Can you publish the RAW protocol that you receive from the Smart Meter?

Guideline how to do that, you may find at: viewtopic.php?f=6&t=31593&p=238961&hili ... om#p238961 (Post 07 Mar 2020, 12:18)

You did not answer my previous question.
Is it a Dutch or a Belgian meter?
Or any other country?
How to test if MBUS is working...
You can check that (only Dutch): https://www.stedin.net/klantenservice/v ... teitsmeter

Or

https://enelogic.uservoice.com/knowledg ... kker-maken

More info: https://www.liander.nl/sites/default/fi ... 150331.pdf

Regards
skorc11
Posts: 12
Joined: Wednesday 24 October 2018 9:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 SMART METER -GAS problem

Post by skorc11 »

Hello,

as i wrote in first post- it was working for 5 years now without problems...

Electricity meter was not changed and it is:
Iskra ME382 / MT382 (DSMR 2.2) (Dutch standard)

Telegram:

/ISk5\2MT381-1006

0-0:96.1.1()
1-0:1.8.1(031769.19*kWh)
1-0:1.8.2(032524.15*kWh)
1-0:2.8.2(000000.00*kWh)
1-0:2.8.1(000004.19*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(000.373*kW)
1-0:2.7.0(000.000*kW)
0-0:17.0.0(015.300*kW)
0-0:96.3.10(1)
0-0:96.13.1()
0-0:96.13.0()
0-1:96.1.0(3030303030353434303030303236363131)
0-1:24.1.0(3)
0-1:24.3.0(210829141544)(00)(60)(1)(0-1:24.2.1)(m3)
(11227.437)
This value is still from old gas meter
0-1:24.4.0(1)

Gas meter was changed - new same type- Landis+Gyr 350.

I pressed red button as described in manual . Short press and after that long press 8s ..
After that i get :
- time
-usage (day,month..)
- last command

Image

-last valid Index

Image

I could not get to >>> sign...

One more thing:
there are 4 inputs on gas meter..
I am using 1 and 2 ... this is connected to electricity smart meter.MBUS. (the same as i used for last years)

I couldnt find manuals for this inputs...


u
User avatar
FireWizard
Posts: 1747
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: P1 SMART METER -GAS problem

Post by FireWizard »

Hello @skorc11,
as i wrote in first post- it was working for 5 years now without problems...
I did see that, but that is not the issue.
Your problem is not that your 5 year old meter has stopped working and stopped reporting, but you have got a new gasmeter, which does not report (yet).

As it is an old meter, I assume it is installed in The Netherlands (DSMR 2,2)

You said:
there are 4 inputs on gas meter..
I am using 1 and 2 ... this is connected to electricity smart meter.MBUS. (the same as i used for last years)
Sorry, I do not understand this.
An electricity meter has 4, so called M-bus channels, and on each of them 1 external meter, such as a gasmeter or watermeter, can communicate. So in total you can have 4 external meters as a maximum.

So 4 inputs on the gasmeter? Do you mean 4 inputs on the electricity meter.

You are using 1 and 2? What meters are connected? You only mentioned a gasmeter, which has been replaced.

I suggest, you contact your energy supplier and ask them if they can check that the gasmeter is communicating with the electricity meter.

Regards
skorc11
Posts: 12
Joined: Wednesday 24 October 2018 9:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 SMART METER -GAS problem

Post by skorc11 »

Hello,

found problem - electricity meter is changed now and it is working.

Is it possible to edit value first day usage is :


Counter 4503.860

Usage 2165.040

u
User avatar
waltervl
Posts: 5152
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: P1 SMART METER -GAS problem

Post by waltervl »

skorc11 wrote: Tuesday 21 September 2021 8:28 Hello,

found problem - electricity meter is changed now and it is working.

Is it possible to edit value first day usage is :


Counter 4503.860

Usage 2165.040

u
It should be possible https://www.domoticz.com/wiki/Domoticz_ ... n_counters
Try it on a backup first ;)

Code: Select all

Then, depending on counters, you can insert values in history log. For most counters:

/json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=COUNTER;USAGE;DATE
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
COUNTER = absolute counter energy 
USAGE = energy usage
DATE = date with %Y-%m-%d format (for instance 2019-09-24) to put data in last week/month/year history log, or "%Y-%m-%d %H:%M:%S" format (for instance 2019-10-03 14:00:00) to put data in last days history log
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest