Page 1 of 1
P1 Smart Meter with LAN
Posted: Friday 05 July 2024 16:41
by uabgls
P1 Smart Meter with LAN give me CRC error
P1 Smart Meter with USB works OK.
Same data are sent.
Anyone noticed the same problem ?
Re: P1 Smart Meter with LAN
Posted: Saturday 06 July 2024 9:04
by PieterS
No problems here. Also device could be a cause..
Re: P1 Smart Meter with LAN
Posted: Sunday 07 July 2024 8:10
by gizmocuz
Using it for years on various locations and with various hardware.
No issues.
What hardware are you using?
Re: P1 Smart Meter with LAN
Posted: Wednesday 10 July 2024 20:09
by uabgls
Domoticz 2023.2
Raspberry Pi 2 Model B Rev 1.1
ARMv7 Processor rev 5 (v7l)
Also tested on Raspberry Pi 3 Model B Rev 1.2 with the same problem (Domoticz 2023.2)
ARMv7 Processor rev 4 (v7l)
BR Gunnar
Re: P1 Smart Meter with LAN
Posted: Wednesday 10 July 2024 22:31
by waltervl
How do you go from USB to LAN? With sernet? Check this page
https://www.domoticz.com/wiki/SharingSerialDevices
Re: P1 Smart Meter with LAN
Posted: Thursday 11 July 2024 19:20
by uabgls
Hi !
I receive HanPort data with a raspbery pico and use a utelentserver sending data to LAN address and port.
I have tried different version line by line or buffered the hole package and send it.
Instead of use domoticz I let putty (or netcat) to recive the data and calculate the CRC and got a correct result.
I have also tried domoticz 2024.6 still with error.
Note: All P1 devices are updated ok with CRC check disabled
Using the USB inderface either with serial/USB or /dev/serial0 everything works ok with CRC check.
(P1 Meter is pre DSMR 4.0 - using DSMR 2.2 compatibility)
BR Gunnar
Re: P1 Smart Meter with LAN
Posted: Friday 12 July 2024 10:08
by PierreT
uabgls wrote: ↑Thursday 11 July 2024 19:20
(P1 Meter is pre DSMR 4.0 - using DSMR 2.2 compatibility)
This comment puzzles me. The older message formats do not send a CRC and the log line you quoted here is because they also do not send any version info which causes domoticz to disable some features, including the CRC check.
Thus if after switching from USB to LAN domoticz fails to process the P1 data because of a wrong CRC, then you must have changed the original content to at least include a line that specifies a version >=4.0
Re: P1 Smart Meter with LAN
Posted: Saturday 13 July 2024 17:02
by uabgls
Back on the road again !
Sorry, but the problem was the dummy data a used from a file that contain a faulty CRC.
Thank's for posted response !
BR Gunnar

Re: P1 Smart Meter with LAN
Posted: Saturday 13 July 2024 20:00
by uabgls
uabgls wrote: ↑Saturday 13 July 2024 17:02
Back on the road again !
Sorry, the dummy data I read from a file added an extra cr and caused the faulty CRC.
Thank's for posted response !
BR Gunnar