thkl / hap-homematic

a AddOn for HomeMatic CCU3 (Raspberrymatic) that will bring HomeKit to your CCU
MIT License
220 stars 24 forks source link

Constant hap-homematic crashes #687

Open tb59427 opened 2 months ago

tb59427 commented 2 months ago

Please describe your problem Which Homematic actor/sensor you want to control ? Plenty of sensors all being controlled from raspberrymatic (3.75.7.20240420) Which settings y've choosen for this actor/sensor in hap-homematic ? Many, if someone tells me, which config file I should upload, I will do so.

What happends Installed hap-homematic on said raspberrymatic. Created homekit instances, assigend devices to instances, finally created a special device for a garage door opener. All fine and seems to run. After I a while, I see apple home telling me no contact to devices. Checking on the raspi it turns out hap-homematic seems to have crashed. Restart of hap-homematic or raspberrymatic doesn't help. System remains crashed. Manually starting hap-homematic via shell brings hap-homematic up again, but in an "empty" state - in other words it asks me to set up instances and devices again.

What should be happend It shouldn't have crashed

Steps to reproduce this issue Dunno really - as I am not actively doing anything when it crashes.

(while you are perfoming these steps please run hap-homematic in debug mode ( https://github.com/thkl/hap-homematic/wiki/Troubleshooting#running-in-debug-mode ) and add the log here

EDIT The most recent crash log has this to say....

Error log : Sat May 18 2024 20:38:06 GMT+0200 (Central European Summer Time)

Error: TimeOut at ClientRequest. (/usr/local/addons/hap-homematic/node_modules/hap-homematic/lib/HomeMaticRegaRequest.js:88:16) at ClientRequest.emit (node:events:518:28) at Socket.emitRequestTimeout (node:_http_client:840:9) at Object.onceWrapper (node:events:632:28) at Socket.emit (node:events:530:35) at Socket._onTimeout (node:net:589:8) at listOnTimeout (node:internal/timers:573:17) at process.processTimers (node:internal/timers:514:7)

Is there any way to recover my setup and get it going again? I've bloody done it twice today :-(

Any help or pointers highly appreciated

thanks Torsten

jb-home commented 1 month ago

Schau dir mal den issue 672 an. Da hab ich einen Fix für den timeout bereitgestellt.

Deine Konfiguration bleibt erhalten.