P1 meter USB, all data except gas

Moderator: leecollings

Post Reply
Hoofdprutser
Posts: 6
Joined: Sunday 15 October 2023 12:07
Target OS: Linux
Domoticz version: 2023.2
Location: NL
Contact:

P1 meter USB, all data except gas

Post by Hoofdprutser »

Hello all,

Excuses me if it already has been handled.
I am struggling for a while with this.

I do get all data from the P1 meter through USB, except gas.
Tried the M-bus channel, but no luck.
From the log.
2023-10-15 12:13:28_953 Status: Landis + Gyr E360: Worker stopped...
2023-10-15 12:13:28_955 Status: Landis + Gyr E360: Using serial port: /dev/ttyUSB0
2023-10-15 12:13:28_967 Status: Landis + Gyr E360: Worker started...
2023-10-15 12:13:29_243 Status: Landis + Gyr E360: Meter reports as ESMR 5+0
2023-10-15 12:13:29_627 Status: Landis + Gyr E360: Found gas meter on M-Bus channel 1

In Home assistant the data pops up immediately, so the meter and cable are fine (I assume).
From Home assistant:
Gas Meter Gas consumption 6 seconds ago 26(.)565 m³
And the value is shown on the gas meter it self.

Domoticz details:
Version: 2023_2 (build 15603)
Build Hash: 3aeb8648f
Compile Date: 2023-10-14 15:09:11
dzVents Version: 3_1_8

Arno
Domoticz running on Debian 11
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: P1 meter USB, all data except gas

Post by gizmocuz »

Is it possible you can capture 1 frame from your P1 port?

sudo apt-get install cu minicom
sudo cu -l /dev/ttyUSB0 -s 115200 --parity=none
Quality outlives Quantity!
Hoofdprutser
Posts: 6
Joined: Sunday 15 October 2023 12:07
Target OS: Linux
Domoticz version: 2023.2
Location: NL
Contact:

Re: P1 meter USB, all data except gas

Post by Hoofdprutser »

I have tried that to, but even if I stopped Domoticz, the access to the port was denied.
I was logged in as root.

I will give it another try.
Domoticz running on Debian 11
Hoofdprutser
Posts: 6
Joined: Sunday 15 October 2023 12:07
Target OS: Linux
Domoticz version: 2023.2
Location: NL
Contact:

Re: P1 meter USB, all data except gas

Post by Hoofdprutser »

Hello again.

This is what I logged, with screen command.


I do not know what to look for. Sorry for that.

Another question, how to post the log file as text?
I get message about posting ",".
Attachments
MeterLog.png
MeterLog.png (238.72 KiB) Viewed 1501 times
Domoticz running on Debian 11
HvdW
Posts: 617
Joined: Sunday 01 November 2015 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Twente
Contact:

Re: P1 meter USB, all data except gas

Post by HvdW »

24.2.1 is very like gas.
Did you follow this page?
Bugs bug me.
Hoofdprutser
Posts: 6
Joined: Sunday 15 October 2023 12:07
Target OS: Linux
Domoticz version: 2023.2
Location: NL
Contact:

Re: P1 meter USB, all data except gas

Post by Hoofdprutser »

Yes, I have tried it multiple times the last weeks / month.

Then I decided to post it on the forum. I could not find a solution for the problem.
And I am fair to say I do not know how to unravel the message from the meter.
Like the M-bus channel.
Domoticz running on Debian 11
PierreT
Posts: 51
Joined: Wednesday 03 May 2023 10:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: P1 meter USB, all data except gas

Post by PierreT »

Your smart meter reports two gas meters, the first of which is invalid. Follow the wiki to override the M-bus channel autoselect and set it to #2
User avatar
FireWizard
Posts: 1905
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: P1 meter USB, all data except gas

Post by FireWizard »

Hello @Hoofdprutser,

I see that M-Bus channel 1 has been used previously for a gasmeter.
Probably you got a new one and the installer forgot to release M-Bus channel 1.

Your current gasmeter has been connected to M-Bus channel 2.
See 0-2:24:2:1.

Go to the page, mentioned by @HvdW and carry out the configuration described in the last chapter.
See: https://www.domoticz.com/wiki/Dutch_DSM ... th_P1_port (Gasmeter not reporting any data).

Best regards
Hoofdprutser
Posts: 6
Joined: Sunday 15 October 2023 12:07
Target OS: Linux
Domoticz version: 2023.2
Location: NL
Contact:

Re: P1 meter USB, all data except gas

Post by Hoofdprutser »

I have tried that, but will give it another try tomorrow.

I will let you all know how it went.
Domoticz running on Debian 11
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: P1 meter USB, all data except gas

Post by gizmocuz »

To select text from your ssh session (putty) you can select it with the left mouse button,
then paste it here (control-v)
But as mentioned above, you have to adjust the mbus channel
Make sure 'accept new devices' is enabled in the settings
Quality outlives Quantity!
Hoofdprutser
Posts: 6
Joined: Sunday 15 October 2023 12:07
Target OS: Linux
Domoticz version: 2023.2
Location: NL
Contact:

Re: P1 meter USB, all data except gas

Post by Hoofdprutser »

Hello all,

Here an update: Succes.

With the override set on 2 it works, but I had to wait for 3 or 4 minutes before it popped up.
As I mentioned before, I tried the override before, but probably not long enough. I waited maybe a minute.
The confirmation of channel “2” helped a lot.
Thanks everybody.

Arno
Domoticz running on Debian 11
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest