Page 1 of 1
P1 meter USB, all data except gas
Posted: Sunday 15 October 2023 12:43
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
Re: P1 meter USB, all data except gas
Posted: Sunday 15 October 2023 14:28
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
Re: P1 meter USB, all data except gas
Posted: Sunday 15 October 2023 15:23
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.
Re: P1 meter USB, all data except gas
Posted: Sunday 15 October 2023 17:33
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 ",".
Re: P1 meter USB, all data except gas
Posted: Sunday 15 October 2023 17:40
by HvdW
24.2.1 is very like gas.
Did you follow
this page?
Re: P1 meter USB, all data except gas
Posted: Sunday 15 October 2023 18:24
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.
Re: P1 meter USB, all data except gas
Posted: Sunday 15 October 2023 20:59
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
Re: P1 meter USB, all data except gas
Posted: Sunday 15 October 2023 21:10
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
Re: P1 meter USB, all data except gas
Posted: Sunday 15 October 2023 21:25
by Hoofdprutser
I have tried that, but will give it another try tomorrow.
I will let you all know how it went.
Re: P1 meter USB, all data except gas
Posted: Monday 16 October 2023 16:40
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
Re: P1 meter USB, all data except gas
Posted: Monday 16 October 2023 19:09
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