P1 Smart Meter with LAN

Moderator: leecollings

Post Reply
uabgls
Posts: 5
Joined: Friday 05 July 2024 16:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

P1 Smart Meter with LAN

Post 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 ?
PieterS
Posts: 196
Joined: Wednesday 31 May 2017 16:06
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: NL
Contact:

Re: P1 Smart Meter with LAN

Post by PieterS »

No problems here. Also device could be a cause..
Synology with Domoticz build (V2024.7) in Docker
User avatar
gizmocuz
Posts: 2394
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: P1 Smart Meter with LAN

Post by gizmocuz »

Using it for years on various locations and with various hardware.
No issues.

What hardware are you using?
Quality outlives Quantity!
uabgls
Posts: 5
Joined: Friday 05 July 2024 16:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Smart Meter with LAN

Post 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
User avatar
waltervl
Posts: 5384
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: P1 Smart Meter with LAN

Post by waltervl »

How do you go from USB to LAN? With sernet? Check this page https://www.domoticz.com/wiki/SharingSerialDevices
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
uabgls
Posts: 5
Joined: Friday 05 July 2024 16:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Smart Meter with LAN

Post 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
PierreT
Posts: 50
Joined: Wednesday 03 May 2023 10:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: P1 Smart Meter with LAN

Post 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
uabgls
Posts: 5
Joined: Friday 05 July 2024 16:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Smart Meter with LAN

Post 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 ;)
uabgls
Posts: 5
Joined: Friday 05 July 2024 16:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Smart Meter with LAN

Post 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 ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests