P1 smartmeter throws errors
Moderator: leecollings
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
P1 smartmeter throws errors
Hi,
Domoticz 2021.1
My smartmeter reports errors as shown below. Baudrate is OK.
Any suggestion how to fix this?
TIA
-Bart
Domoticz 2021.1
My smartmeter reports errors as shown below. Baudrate is OK.
Any suggestion how to fix this?
TIA
-Bart
- Attachments
-
- p1.jpg (40.76 KiB) Viewed 1126 times
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- waltervl
- Posts: 5855
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: P1 smartmeter throws errors
New cable?
Enexis supplied meter? As there seems to be an issue with it (but should be solved).
Else try to read the P1 telegram and post it here.
Enexis supplied meter? As there seems to be an issue with it (but should be solved).
Else try to read the P1 telegram and post it here.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: P1 smartmeter throws errors
Meter from Stedin.
How can I catch the telegram? Currently the P1 is plugged into the raspberry pi.
How can I catch the telegram? Currently the P1 is plugged into the raspberry pi.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- FireWizard
- Posts: 1895
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: P1 smartmeter throws errors
@ FireWizard
Yes indeed L&G E360 smartmeter. I read viewtopic.php?f=6&t=31593.
From that I am not that hopefull the CRC's will get away by any 'user action'
Do you know how I cab catch the telegrams for further analyzing?
-Bart
Yes indeed L&G E360 smartmeter. I read viewtopic.php?f=6&t=31593.
From that I am not that hopefull the CRC's will get away by any 'user action'
Do you know how I cab catch the telegrams for further analyzing?
-Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- FireWizard
- Posts: 1895
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 smartmeter throws errors
Hi, @BartStr
If you want to see the RAW protocol, do the following:
1. Stop Domoticz, as it will bind the USB port.(sudo service domoticz.sh stop or sudo /etc/init.d/domoticz.sh stop )
2. Issue the following command: "sudo cu -l /<Your serial port device> -s 115200 --parity=none -E q"
Replace "Your serial port device" with your serial (USB) port.
If it returns, that it cannot find the cu command, install it with sudo apt-get install cu minicom.
Regards
If you want to see the RAW protocol, do the following:
1. Stop Domoticz, as it will bind the USB port.(sudo service domoticz.sh stop or sudo /etc/init.d/domoticz.sh stop )
2. Issue the following command: "sudo cu -l /<Your serial port device> -s 115200 --parity=none -E q"
Replace "Your serial port device" with your serial (USB) port.
If it returns, that it cannot find the cu command, install it with sudo apt-get install cu minicom.
Regards
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: P1 smartmeter throws errors
@Firewizzard:
Re "Your serial port device"
What are common names for such (I am not very familar using Linux)
Will that be USB0 or USB1 or USB2 etc? or /dev/ttyUSB0 etc. And what is most easy way to figure out wich USB is in use for it?
KR
-Bart
Re "Your serial port device"
What are common names for such (I am not very familar using Linux)
Will that be USB0 or USB1 or USB2 etc? or /dev/ttyUSB0 etc. And what is most easy way to figure out wich USB is in use for it?
KR
-Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- FireWizard
- Posts: 1895
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 smartmeter throws errors
Hello @BartStr
In my opinion the easiest way to find the USB, which is connected to your Smarmeter (using a serial to USB converter) is to follow the next steps.
1. Disconnect the USB cable from the P1 Smart meter on the Raspberry Pi.
2. Issue the command
3. Observe the result.
4. Reconnect the USB cable to the Pi.
5. Repeat step 2
6. Observe the difference. The new line indicate the USB port of the P1 Smart meter.
See also: https://linuxhint.com/list-usb-devices-linux/
I also recommend to create persistent USB.
See:https://www.domoticz.com/wiki/PersistentUSBDevices
Your USB will probably be something like /dev/ttyUSB0 or /dev/ttyUSB1.
Regards
In my opinion the easiest way to find the USB, which is connected to your Smarmeter (using a serial to USB converter) is to follow the next steps.
1. Disconnect the USB cable from the P1 Smart meter on the Raspberry Pi.
2. Issue the command
Code: Select all
lsusb
4. Reconnect the USB cable to the Pi.
5. Repeat step 2
6. Observe the difference. The new line indicate the USB port of the P1 Smart meter.
See also: https://linuxhint.com/list-usb-devices-linux/
I also recommend to create persistent USB.
See:https://www.domoticz.com/wiki/PersistentUSBDevices
Your USB will probably be something like /dev/ttyUSB0 or /dev/ttyUSB1.
Regards
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: P1 smartmeter throws errors
Thanks a lot. Will be offline a few days and will return with my findings later.
Bart
Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: P1 smartmeter throws errors
Gents,
Kind of black magic or update by Stedin.
All crc errors are gone without intervention by myself.
-Bart
Kind of black magic or update by Stedin.
All crc errors are gone without intervention by myself.
-Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- FireWizard
- Posts: 1895
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 smartmeter throws errors
Nice, so we can consider this topic as closed.
Regards
Regards
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: P1 smartmeter throws errors
One year later. New Stable Domoticz release 2023.1 and yes.... all CRC's are back again since 2023.1 version
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: P1 smartmeter throws errors
And then, same as last year errors are gone with the wind.....
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Who is online
Users browsing this forum: No registered users and 1 guest