Hello
After update system is unstable and stops taking data from P1 meter
Have to restart, all data gone.
in log file :
2022-02-24 15:42:12.259 Status: P1 : WARNING: got new message but buffer still contains unprocessed data from previous message.
2022-02-27 15:24:49.274 Error: WebServer:8080 thread seems to have ended unexpectedly (last update 242.000000 seconds ago)
2022-02-27 15:24:49.274 Error: P1 hardware (4) thread seems to have ended unexpectedly
How to go back to previous state
P1 readout to domoticz stops frequently after update
Moderators: leecollings, remb0
- waltervl
- Posts: 5908
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: P1 readout to domoticz stops frequently after update
From what version to what version did you update?
Check the following instructions and hopefully you made backups.
https://www.domoticz.com/wiki/Going_bac ... us_version
Check the following instructions and hopefully you made backups.
https://www.domoticz.com/wiki/Going_bac ... us_version
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
Re: P1 readout to domoticz stops frequently after update
Thanks for the response,
I had to reboot before ssh connection could be established.
Saved your proposal, today started Domoticz by "sudo services domoticz.sh restart"
2022-03-01 22:58:57.834 Status: Domoticz V2022.1 (c)2012-2022 GizMoCuz
2022-03-01 22:58:57.834 Status: Build Hash: c9526851b, Date: 2022-01-31 09:34:32
2022-03-01 22:58:57.834 Status: Startup Path: /home/domoticz/domoticz/
2022-03-01 22:58:57.885 Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2022-03-01 22:58:57.900 Status: WebServer(HTTP) started on address: :: with port 8080
2022-03-01 22:58:57.927 Status: WebServer(SSL) started on address: :: with port 443
2022-03-01 22:58:57.931 Status: Camera: settings (re)loaded
2022-03-01 22:58:57.932 Status: TCPServer: shared server started...
2022-03-01 22:58:57.933 Status: RxQueue: queue worker started...
2022-03-01 22:58:59.933 Status: P1 : Using serial port: /dev/ttyUSB0
2022-03-01 22:58:59.956 Status: P1 : Using serial port: /dev/ttyUSB0
2022-03-01 22:58:59.956 Status: P1 : Worker started...
2022-03-01 22:58:59.970 Status: P1 : Using serial port: /dev/ttyUSB0
2022-03-01 22:58:59.970 Status: P1 : Worker started...
2022-03-01 22:58:59.983 Status: P1 : Worker started...
2022-03-01 22:58:59.983 Status: P1 : Using serial port: /dev/ttyUSB0
2022-03-01 22:58:59.998 Status: NotificationSystem: thread started...
2022-03-01 22:58:59.998 Status: P1 : Worker started...
2022-03-01 22:58:59.999 Status: EventSystem: reset all events...
2022-03-01 22:59:00.001 Status: EventSystem: reset all device statuses...
2022-03-01 22:59:00.044 Status: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2022-03-01 22:59:00.045 Status: EventSystem: Started
2022-03-01 22:59:00.045 Status: EventSystem: Queue thread started...
2022-03-01 22:59:00.814 Status: P1 : Meter reports as ESMR 5.0
2022-03-01 22:59:00.861 Status: P1 : Found gas meter on M-Bus channel 1
2022-03-01 22:59:03.816 Status: P1 : Meter reports as ESMR 5.0
2022-03-01 22:59:04.813 Status: P1 : Meter reports as ESMR 5.0
2022-03-01 22:59:09.860 Status: P1 : Found gas meter on M-Bus channel 1
2022-03-01 22:59:33.859 Status: P1 : Gas meter clock is 27 seconds ahead - wait for my clock to catch up
2022-03-01 22:59:41.858 Status: P1 : Found gas meter on M-Bus channel 1
2022-03-01 23:13:44.809 Status: P1 : Meter reports as ESMR 5.0
Hope this gives more insight what happens, glad to receive yr suggestions, thanks in advance
I had to reboot before ssh connection could be established.
Saved your proposal, today started Domoticz by "sudo services domoticz.sh restart"
2022-03-01 22:58:57.834 Status: Domoticz V2022.1 (c)2012-2022 GizMoCuz
2022-03-01 22:58:57.834 Status: Build Hash: c9526851b, Date: 2022-01-31 09:34:32
2022-03-01 22:58:57.834 Status: Startup Path: /home/domoticz/domoticz/
2022-03-01 22:58:57.885 Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2022-03-01 22:58:57.900 Status: WebServer(HTTP) started on address: :: with port 8080
2022-03-01 22:58:57.927 Status: WebServer(SSL) started on address: :: with port 443
2022-03-01 22:58:57.931 Status: Camera: settings (re)loaded
2022-03-01 22:58:57.932 Status: TCPServer: shared server started...
2022-03-01 22:58:57.933 Status: RxQueue: queue worker started...
2022-03-01 22:58:59.933 Status: P1 : Using serial port: /dev/ttyUSB0
2022-03-01 22:58:59.956 Status: P1 : Using serial port: /dev/ttyUSB0
2022-03-01 22:58:59.956 Status: P1 : Worker started...
2022-03-01 22:58:59.970 Status: P1 : Using serial port: /dev/ttyUSB0
2022-03-01 22:58:59.970 Status: P1 : Worker started...
2022-03-01 22:58:59.983 Status: P1 : Worker started...
2022-03-01 22:58:59.983 Status: P1 : Using serial port: /dev/ttyUSB0
2022-03-01 22:58:59.998 Status: NotificationSystem: thread started...
2022-03-01 22:58:59.998 Status: P1 : Worker started...
2022-03-01 22:58:59.999 Status: EventSystem: reset all events...
2022-03-01 22:59:00.001 Status: EventSystem: reset all device statuses...
2022-03-01 22:59:00.044 Status: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2022-03-01 22:59:00.045 Status: EventSystem: Started
2022-03-01 22:59:00.045 Status: EventSystem: Queue thread started...
2022-03-01 22:59:00.814 Status: P1 : Meter reports as ESMR 5.0
2022-03-01 22:59:00.861 Status: P1 : Found gas meter on M-Bus channel 1
2022-03-01 22:59:03.816 Status: P1 : Meter reports as ESMR 5.0
2022-03-01 22:59:04.813 Status: P1 : Meter reports as ESMR 5.0
2022-03-01 22:59:09.860 Status: P1 : Found gas meter on M-Bus channel 1
2022-03-01 22:59:33.859 Status: P1 : Gas meter clock is 27 seconds ahead - wait for my clock to catch up
2022-03-01 22:59:41.858 Status: P1 : Found gas meter on M-Bus channel 1
2022-03-01 23:13:44.809 Status: P1 : Meter reports as ESMR 5.0
Hope this gives more insight what happens, glad to receive yr suggestions, thanks in advance
- waltervl
- Posts: 5908
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: P1 readout to domoticz stops frequently after update
I think you have to look at your current time on your RPi, see also https://www.domoticz.com/wiki/Troublesh ... _cold_boot
For Domoticz it is important to have the correct time. If it is far behind it will stop. So be sure you have the correct time set before Domoticz starts.
For Domoticz it is important to have the correct time. If it is far behind it will stop. So be sure you have the correct time set before Domoticz starts.
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
Re: P1 readout to domoticz stops frequently after update
Thank you for yr suggestion
Checked time, and restarted domoticz service
there still is an entry, which I m unable to find that shows hickups :
2022-03-02 15:21:08.486 P1 : P1 Smart Meter (Power)
2022-03-02 15:21:08.498 P1 : General/Voltage (Voltage L1)
2022-03-02 15:21:08.507 P1 : General/Voltage (Voltage L2)
2022-03-02 15:21:08.515 P1 : General/Voltage (Voltage L3)
2022-03-02 15:21:08.529 P1 : Usage (Usage L1)
2022-03-02 15:21:08.543 P1 : Usage (Usage L2)
2022-03-02 15:21:08.557 P1 : Usage (Usage L3)
2022-03-02 15:21:08.571 P1 : Usage (Delivery L1)
2022-03-02 15:21:08.585 P1 : Usage (Delivery L2)
2022-03-02 15:21:08.599 P1 : Usage (Delivery L3)
2022-03-02 15:21:10.475 P1 : Dismiss incoming - CRC failed
2022-03-02 15:21:11.478 P1 : Dismiss incoming - CRC failed
2022-03-02 15:21:13.485 P1 : P1 Smart Meter (Power)
2022-03-02 15:21:13.497 P1 : General/Voltage (Voltage L1)
2022-03-02 15:21:13.506 P1 : General/Voltage (Voltage L2)
2022-03-02 15:21:13.515 P1 : General/Voltage (Voltage L3)
2022-03-02 15:21:13.528 P1 : Usage (Usage L1)
2022-03-02 15:21:13.542 P1 : Usage (Usage L2)
2022-03-02 15:21:13.556 P1 : Usage (Usage L3)
2022-03-02 15:21:13.570 P1 : Usage (Delivery L1)
2022-03-02 15:21:13.584 P1 : Usage (Delivery L2)
2022-03-02 15:21:13.598 P1 : Usage (Delivery L3)
2022-03-02 15:21:15.474 P1 : Dismiss incoming - value in line "1-0:32.7.0(.0(00.736*kW)" is not a number
2022-03-02 15:21:17.475 P1 : Dismiss incoming - CRC failed
2022-03-02 15:21:18.490 P1 : P1 Smart Meter (Power)
2022-03-02 15:21:18.502 P1 : General/Voltage (Voltage L1)
2022-03-02 15:21:18.510 P1 : General/Voltage (Voltage L2)
2022-03-02 15:21:18.519 P1 : General/Voltage (Voltage L3)
2022-03-02 15:21:18.533 P1 : Usage (Usage L1)
2022-03-02 15:21:18.547 P1 : Usage (Usage L2)
2022-03-02 15:21:18.561 P1 : Usage (Usage L3)
2022-03-02 15:21:18.575 P1 : Usage (Delivery L1)
2022-03-02 15:21:18.588 P1 : Usage (Delivery L2)
2022-03-02 15:21:18.602 P1 : Usage (Delivery L3)
2022-03-02 15:21:19.475 P1 : Dismiss incoming - CRC failed
2022-03-02 15:21:20.478 P1 : Dismiss incoming - value is not delimited in line "1-0:2.8.2("
?
Checked time, and restarted domoticz service
there still is an entry, which I m unable to find that shows hickups :
2022-03-02 15:21:08.486 P1 : P1 Smart Meter (Power)
2022-03-02 15:21:08.498 P1 : General/Voltage (Voltage L1)
2022-03-02 15:21:08.507 P1 : General/Voltage (Voltage L2)
2022-03-02 15:21:08.515 P1 : General/Voltage (Voltage L3)
2022-03-02 15:21:08.529 P1 : Usage (Usage L1)
2022-03-02 15:21:08.543 P1 : Usage (Usage L2)
2022-03-02 15:21:08.557 P1 : Usage (Usage L3)
2022-03-02 15:21:08.571 P1 : Usage (Delivery L1)
2022-03-02 15:21:08.585 P1 : Usage (Delivery L2)
2022-03-02 15:21:08.599 P1 : Usage (Delivery L3)
2022-03-02 15:21:10.475 P1 : Dismiss incoming - CRC failed
2022-03-02 15:21:11.478 P1 : Dismiss incoming - CRC failed
2022-03-02 15:21:13.485 P1 : P1 Smart Meter (Power)
2022-03-02 15:21:13.497 P1 : General/Voltage (Voltage L1)
2022-03-02 15:21:13.506 P1 : General/Voltage (Voltage L2)
2022-03-02 15:21:13.515 P1 : General/Voltage (Voltage L3)
2022-03-02 15:21:13.528 P1 : Usage (Usage L1)
2022-03-02 15:21:13.542 P1 : Usage (Usage L2)
2022-03-02 15:21:13.556 P1 : Usage (Usage L3)
2022-03-02 15:21:13.570 P1 : Usage (Delivery L1)
2022-03-02 15:21:13.584 P1 : Usage (Delivery L2)
2022-03-02 15:21:13.598 P1 : Usage (Delivery L3)
2022-03-02 15:21:15.474 P1 : Dismiss incoming - value in line "1-0:32.7.0(.0(00.736*kW)" is not a number
2022-03-02 15:21:17.475 P1 : Dismiss incoming - CRC failed
2022-03-02 15:21:18.490 P1 : P1 Smart Meter (Power)
2022-03-02 15:21:18.502 P1 : General/Voltage (Voltage L1)
2022-03-02 15:21:18.510 P1 : General/Voltage (Voltage L2)
2022-03-02 15:21:18.519 P1 : General/Voltage (Voltage L3)
2022-03-02 15:21:18.533 P1 : Usage (Usage L1)
2022-03-02 15:21:18.547 P1 : Usage (Usage L2)
2022-03-02 15:21:18.561 P1 : Usage (Usage L3)
2022-03-02 15:21:18.575 P1 : Usage (Delivery L1)
2022-03-02 15:21:18.588 P1 : Usage (Delivery L2)
2022-03-02 15:21:18.602 P1 : Usage (Delivery L3)
2022-03-02 15:21:19.475 P1 : Dismiss incoming - CRC failed
2022-03-02 15:21:20.478 P1 : Dismiss incoming - value is not delimited in line "1-0:2.8.2("
?
- waltervl
- Posts: 5908
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: P1 readout to domoticz stops frequently after update
Those CRC errors come from a bad connection.
Could be cable, powersupply etc.
Could be cable, powersupply etc.
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
Who is online
Users browsing this forum: No registered users and 1 guest