Page 1 of 1
Python crash
Posted: Tuesday 25 December 2018 9:42
by Lars65
Hello!
I have a problem with python plugins.
I have Broadlink plugin installed, also Mi Flora.
My problem is I get this:
2018-12-25 09:38:07.348 Error: Blomma2 hardware (4) thread seems to have ended unexpectedly
2018-12-25 09:38:07.348 Error: Sovrummet Sensor hardware (5) thread seems to have ended unexpectedly
I run latest beta, and raspbian stretch lite, with python 3.5.2
Is there anyone who has any idea?
Re: Python crash
Posted: Tuesday 25 December 2018 14:46
by waaren
Lars65 wrote: ↑Tuesday 25 December 2018 9:42
Hello!
I have a problem with python plugins.
I have Broadlink plugin installed, also Mi Flora.
My problem is I get this:
2018-12-25 09:38:07.348 Error: Blomma2 hardware (4) thread seems to have ended unexpectedly
2018-12-25 09:38:07.348 Error: Sovrummet Sensor hardware (5) thread seems to have ended unexpectedly
I run latest beta, and raspbian stretch lite, with python 3.5.2
Is there anyone who has any idea?
This happens when the systems is (too) heavily loaded. Do you see this very frequently ?
Re: Python crash
Posted: Wednesday 26 December 2018 6:47
by Lars65
yes, it happens pretty frequently.
Re: Python crash
Posted: Wednesday 26 December 2018 11:09
by Dnpwwo
@Lars65,
This is probably nothing to worry about, if you have a look here:
https://www.domoticz.com/wiki/Developin ... llable_API it warns that if the plugin heartbeats less than once every 30 seconds then this warning will be regularly written to the Domoticz log.
Do the plugins you use allow you to control the heartbeat interval? If so set it to less than than 30 seconds and the message should disappear.
This is not a Python plugin behaviour but applies to all supported Domoticz hardware, native or otherwise.
The plugin will function the same regardless of this warning.
Re: Python crash
Posted: Wednesday 26 December 2018 11:38
by waaren
Lars65 wrote:yes, it happens pretty frequently.
Let me rephrase my question.
"How often do you see this message in terms of occurences per hour, per plugin."?
Re: Python crash
Posted: Wednesday 26 December 2018 13:01
by Lars65
It seems like it always are both Broadlink A1, and Mi flora. Sometimes it runs a couple of hours, sometimes one hour.
They always crash simultaneously.