999LV / BatteryLevel

Domoticz python plugin to display/log battery level of zwave devices
MIT License
9 stars 5 forks source link

using 0.4.6 : domoticz crash on reboot #3

Closed multinet33 closed 6 years ago

multinet33 commented 6 years ago

Hello

Adding BatteryLevel on a domoticz live system is Ok it is running well

But when a restart the raspberry and then domoticz, the system does not load any of my devices (all lists are empty)

I had to remove the plugin in order to get my domoticz back

I use python 3.4.2 and BatteryLevel 0.4.6 and domoticz stable v3.8153

999LV commented 6 years ago

@multinet33 , I cannot reproduce this error. Can you check domoticz log on startup ?

multinet33 commented 6 years ago

Hello 999LV

Thanks for your quick answer

Here is my error log of domoticz when it start and crash (I renamed plugin.py to plugin.MUTE and then domoticz start correctly without the batterylevel)

Error log :

2018-03-24 23:11:24.700 RxQueue: queue worker started... 2018-03-24 23:11:26.701 Hardware Monitor: Started 2018-03-24 23:11:26.726 GPIO: This hardware is deprecated. Please transfer to the new SysFS hardware type! 2018-03-24 23:11:26.735 1Wire: Added Device: 28-0000066a394a 2018-03-24 23:11:26.735 1Wire: Added Device: 28-0000066a905a 2018-03-24 23:11:26.735 1Wire: Added Device: 28-0000066a4c51 2018-03-24 23:11:26.735 1Wire: Added Device: 28-0000066a3f88 2018-03-24 23:11:26.742 GPIO: Interrupt handler for GPIO 17 started (TID: 2888) 2018-03-24 23:11:26.766 Incoming connection from: 192.168.1.156 2018-03-24 23:11:27.690 Incoming connection from: 192.168.1.100 2018-03-24 23:11:30.058 Netatmo: Worker started... 2018-03-24 23:11:30.059 (Compteur EDF) Teleinfo device uses serial port: /dev/ttyUSB-EDF at 1200 bauds 2018-03-24 23:11:30.064 (Compteur EDF) CRC checks on incoming data are disabled 2018-03-24 23:11:30.066 EventSystem: reset all events... 2018-03-24 23:11:30.070 EventSystem: reset all device statuses... 2018-03-24 23:11:30.085 Error: Frame #PAPP 0# passed the checksum test but failed analysis 2018-03-24 23:11:30.377 PluginSystem: Entering work loop. 2018-03-24 23:11:30.813 (Piles Z-Waves) Initialized version 0.4.5, author 'logread' 2018-03-24 23:11:30.818 Error: Domoticz received fatal signal 11 !... 2018-03-24 23:11:30.819 Error: Domoticz received fatal signal 11 while backtracing !... 2018-03-24 23:11:30.823 Error: /home/pi/domoticz/domoticz() [0x1cdc48] 2018-03-24 23:11:30.823 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1cdd00] 2018-03-24 23:11:30.823 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76a9d180] root@domoticz:/home/pi/domoticz/log#

999LV commented 6 years ago

@multinet33 This looks like a general issue with plugins, not specific... can you try another plugin and report out?

multinet33 commented 6 years ago

Indeed it crashed too with Speedtest plugin. No idea why