P1 meter suddenly stopped working

Moderator: leecollings

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

Re: P1 meter suddenly stopped working

Post by waltervl »

As mentioned before check with
ls /dev/serial/by-id

Also in the P1 hardware configuration you should see the by-id entries in the pulldown list in the serial port field.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
balosa
Posts: 21
Joined: Sunday 17 May 2020 12:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: P1 meter suddenly stopped working

Post by balosa »

i finally got the by-id working, but it still won't receive any data, I will contact the Electric Company to let them check the meter is working 100%, I have my doubts it is sending telegrams through the P1, next thing is to buy another P1 cable too see if that changes anything, probably will buy a P1 ethernet thingy so i can access it through LAN

P1meter_5.jpg
P1meter_5.jpg (81.03 KiB) Viewed 924 times


P1meter_4.jpg
P1meter_4.jpg (198.38 KiB) Viewed 924 times
User avatar
FireWizard
Posts: 1763
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: P1 meter suddenly stopped working

Post by FireWizard »

Hi,

Are you sure that the Baudrate is only 9600 Bd.
This is only the case if your P1 Smartmeter uses DSMR protocol 2.2,
which is rather old. What is your meter brand/type?

Regards
balosa
Posts: 21
Joined: Sunday 17 May 2020 12:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: P1 meter suddenly stopped working

Post by balosa »

yes i am sure, it was always on 9600

it's a Kamstrup 162JxC, it's over 10yrs old for sure
User avatar
FireWizard
Posts: 1763
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: P1 meter suddenly stopped working

Post by FireWizard »

Hi @balosa

Did you check the USB port to which the P1 Smart meter cable has been connected?

Code: Select all

 dmesg | grep usb
If you found the correct USB port, did you check the RAW protocol?

Stop Domoticz and execute the following command in case the port is USB0. If otherwise replace the number.

Code: Select all

cu -l /dev/ttyUSB0 -s 9600 --parity=none
What do you see?
Let us know.

Regards
balosa
Posts: 21
Joined: Sunday 17 May 2020 12:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: P1 meter suddenly stopped working

Post by balosa »

Hi,

Sorry for the late response, it just says it is connected.
After that it hangs, I have to restart Putty to enter commands again
.
P1meter_7.jpg
P1meter_7.jpg (14.55 KiB) Viewed 842 times
balosa
Posts: 21
Joined: Sunday 17 May 2020 12:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: P1 meter suddenly stopped working

Post by balosa »

Well there is a breakthrough, the problem was the electricity meter from the power company, it didn't send anymore data through the P1 and to the company itself, the meter has been replaced and now I'm getting data again.

Thanks to all who did try to help and for the advice given !
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests