MadPatrick / somfy

Tahoma/Conexoon plugin for IO blinds, this plugin require internet connexion and a Somfy account
GNU General Public License v3.0
14 stars 3 forks source link

hardware (38) thread seems to have ended unexpectedly #50

Closed MikeyMan83 closed 8 months ago

MikeyMan83 commented 1 year ago

Sorry, me again doing some too thorough testing ;) Domoticz log says: somfy.log

2023-03-02 16:02:52.210 Error: Somfy zonneschermen hardware (38) thread seems to have ended unexpectedly

This seems to have been caused with an external trigger through MQTT. Mqtt message was something like: msg1.payload = { "command": "switchlight", "idx": 492, "switchcmd": "Off" };

however, the somfy log is rather clean

Nothing useful in the domoticz.log either:

2023-03-02 16:02:48.102  Slimme Meter: Usage (Usage L3)
2023-03-02 16:02:48.114  Slimme Meter: Usage (Delivery L1)
2023-03-02 16:02:48.124  Slimme Meter: Usage (Delivery L2)
2023-03-02 16:02:48.138  Slimme Meter: Usage (Delivery L3)
2023-03-02 16:02:48.145  Slimme Meter: Current (Current L1/L2/L3)
2023-03-02 16:02:48.153  Slimme Meter: Current (Delivery Current L1/L2/L3)
2023-03-02 16:02:49.061  Heishamon: Heartbeating...
2023-03-02 16:02:49.061  Heishamon: MqttClient::ping
2023-03-02 16:02:49.471  SolarEdge Inverter: Updated 14 values out of 22
2023-03-02 16:02:52.210  Error: Somfy zonneschermen hardware (38) thread seems to have ended unexpectedly
2023-03-02 16:02:54.415  SolarEdge Inverter: Updated 14 values out of 22
2023-03-02 16:02:54.985  InfluxLink: value Temperature,idx=295,name=Heishamon---Main_Inlet_Temp value=10.25
2023-03-02 16:02:59.105  Heishamon: Heartbeating...
2023-03-02 16:02:59.105  Heishamon: MqttClient::ping
2023-03-02 16:02:59.487  SolarEdge Inverter: Updated 13 values out of 22
2023-03-02 16:03:00.177  Airco: Update unit Airco 2e verdieping information.
2023-03-02 16:03:00.309  Airco: Update unit Airco Slaapkamer information.
JanJaapKo commented 1 year ago

This error normally occurs when something else (or this one itself) is blocking the CPU too long, causing no response. Anything that was hanging/taking long? Like the SolarEdge or Influxx?

Can also be that this plugin is waiting too long. But to avoid that, I placed time outs on all the web calls, so that should not be an issue (but no guarantees ;) )