Python crash

Python and python framework

Moderator: leecollings

Post Reply
Lars65
Posts: 41
Joined: Thursday 14 July 2016 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Python crash

Post 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?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Python crash

Post 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 ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Lars65
Posts: 41
Joined: Thursday 14 July 2016 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python crash

Post by Lars65 »

yes, it happens pretty frequently.
User avatar
Dnpwwo
Posts: 820
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Python crash

Post 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.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Python crash

Post 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."?




Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Lars65
Posts: 41
Joined: Thursday 14 July 2016 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python crash

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest