I have a plugin (hardware item) supported by a Python script, that stops working after several days, and reports every 10 to 15 seconds in the log:
Code: Select all
Error: <name> hardware (<idx>) thread seems to have ended unexpectedlyThe dongle is attached to an electricity meter used in Europe (aka P1- smart meter).
There is no evidence of any malfunction of the dongle.
When this happens, if I go in the settings, Hardware, select that item, slide the switch in order to disable it, Domoticz becomes completely unresponsive (although the domoticz process is still there and consumes some CPU ticks.)
I have no crash log, nothing that could help tracing the defect.
-- --
The script is here: https://github.com/gettevan/HomeWizard-Wifi-p1-plugin
The dongle is from HomeWizard.com.
- How can I diagnose the problem ?
- Is there any better way to recover, other than stopping and restarting Domoticz ?