thkl / hap-homematic

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

Evtl. seit neustem RapsberryMatic update 3.73.9.20231130 startet HAP-Homematic nicht mehr #667

Open Evil-Teddy opened 11 months ago

Evil-Teddy commented 11 months ago

Ich habe gestern das update gemacht auf Version 3.73.9.20231130 und dann ging auch ne weile noch alles und seit heute morgen komme ich nicht mehr in die GUI von HAP-Homematic, kann keine Verbindung aufgebaut werden. Ich habe in der Firewall in der RaspberryMatic die Ports soweit freigegeben.

Dann habe ich via SSH HAP-Homematic einmal gestoppt und wieder gestartet und dann ging es kurzeitig wieder und ich konnte die GUI nutzen und wollte neue Geräte hinzufügen. Dann brach die Verbindung wieder ab. Wenn ich jetzt versuche HAP-Homematic wieder zu starten im Debug Modus via SSH, dann bekomme ich folgende Ausgabe:

root@homematic-raspi:~# node /usr/local/addons/hap-homematic/node_modules/hap-homematic/index.js -D
[12/5/2023, 1:34:37 PM] [HAP Server] ---- launching ----
[12/5/2023, 1:34:37 PM] [HAP Server] Welcome to HAP Homematic. Use your HomeMatic devices in HomeKit
[12/5/2023, 1:34:37 PM] [HAP Server] (c) 2021 by @thkl - https://github.com/thkl/hap-homematic
[12/5/2023, 1:34:37 PM] [HAP Server] Logging into /tmp/hap-homematic.log
[12/5/2023, 1:34:37 PM] [HAP Server] Initializing Server
[12/5/2023, 1:34:37 PM] [HAP Server] using configuration at /usr/local/etc/config/addons/hap-homematic
[12/5/2023, 1:34:37 PM] [HAP Server] Using CCU at 127.0.0.1
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] settings loading ...
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] will load config from /usr/local/etc/config/addons/hap-homematic/config.json
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] config loading completed; start building servicetable
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] build up service list
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] start loading services
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] --- service file CustomHomeKitTypes.js did not match HomeMatic*Accessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] --- service file EveEnergy.js did not match HomeMatic*Accessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] --- service file EveHomeKitTypes.js did not match HomeMatic*Accessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] --- service file EveRoom.js did not match HomeMatic*Accessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] --- service file EveThermo.js did not match HomeMatic*Accessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] --- service file EveValve.js did not match HomeMatic*Accessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] --- service file EveWeather.js did not match HomeMatic*Accessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] --- service file FlowerCare.js did not match HomeMatic*Accessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticAlarmAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticBatVariableAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticBlindAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticBlindIPAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticContactSensorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticDimmerAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticDoorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticDoorBellAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticDoorOpenerAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticDualWhiteDimmerAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticDummyAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticFanAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticFillingSensorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticFloorHeatingActuatorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticFlowerCareAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticGarageDoorOpenerAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticHumidityAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticIPAccelerationAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticIPCO2Accessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticIPLeakSensorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticIPMotionAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticIPPowerMeterSwitchAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticIPRainDetectorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticIPSmokeDetectorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticKeyAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticKeyMaticAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticKeyMaticIPAccessAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticKeyMaticIPAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticKeyTriggeredMotionAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticLeakSensorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticLightSensorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticMotionAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticPowerMeterAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticPowerMeterSwitchAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticPresenceAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticProgramAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticProgrammableSwitchAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticProgrammableThermostatAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticPushTheButtonAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticRGBAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticRadiatorThermostatAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticRainDetectorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticRotarySensorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticRotaryWindowAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSPCCUDutyCycleAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSPCCUTempAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSPGarageDoorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSPHTTPAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSPMultiChannelKeyAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSPMultiChannelPushButtonAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSPTwoSensorWindowAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSPVideoDoorBellAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSmartSpeakerAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSmokeDetectorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticSwitchAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticThermSensorAccessory.js
[12/5/2023, 1:34:37 PM] [HAP Server] [Server] processing service file HomeMaticThermometerAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticThermostatAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticValveAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVarBasedElectricConsumptionAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVarBasedThermometerAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableAlarmAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableBinarySensorAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableBinarySwitchAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableNumberSensorAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticWeatherStationAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticWindowAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticWinmaticAccessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] --- service file ffmpeg.js did not match HomeMatic*Accessory.js
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticAlarmAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticBatVariableAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticBlindAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticBlindIPAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticContactSensorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticDimmerAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticDoorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticDoorBellAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticDoorOpenerAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticDualWhiteDimmerAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticDummyAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticFanAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticFillingSensorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticFloorHeatingActuatorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticFlowerCareAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticGarageDoorOpenerAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticHumidityAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticIPAccelerationAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticIPCO2Accessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticIPLeakSensorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticIPMotionAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticIPPowerMeterSwitchAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticIPRainDetectorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticIPSmokeDetectorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticKeyAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticKeyMaticAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticKeyMaticIPAccessAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticKeyMaticIPAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticKeyTriggeredMotionAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticLeakSensorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticLightSensorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticMotionAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticPowerMeterAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticPowerMeterSwitchAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticPresenceAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticProgramAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticProgrammableSwitchAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticProgrammableThermostatAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticPushTheButtonAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticRGBAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticRadiatorThermostatAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticRainDetectorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticRotarySensorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticRotaryWindowAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSPCCUDutyCycleAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSPCCUTempAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSPGarageDoorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSPHTTPAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSPMultiChannelKeyAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSPMultiChannelPushButtonAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSPTwoSensorWindowAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSPVideoDoorBellAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSmartSpeakerAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSmokeDetectorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticSwitchAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticThermSensorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticThermometerAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticThermostatAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticValveAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVarBasedElectricConsumptionAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVarBasedThermometerAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableAlarmAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableBinarySensorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableBinarySwitchAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticVariableNumberSensorAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticWeatherStationAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticWindowAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] processing service file HomeMaticWinmaticAccessory.js is done
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] sorting services via priority list
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] done loading services
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] service loading completed; publishing services
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] skipping service publishing to config server cause there is no config server (yet)
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] settings loading is done ; continuing init
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] Using config from /usr/local/etc/config/addons/hap-homematic/persist
[12/5/2023, 1:34:38 PM] [HAP Server] Spawning configuration service with PID 4262
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] init CCU Connections for 127.0.0.1
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] current restart count is  16
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] current restart count is  >= 5 disable monitoring
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] Checking rega connection
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] check Rega is alive
[12/5/2023, 1:34:38 PM] [HAP Server] [Rega] RegaScript Write("Pong");
[12/5/2023, 1:34:38 PM] [HAP Server] [Rega] result is Pong
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] Rega is alive going ahead
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] continueInitialization
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] preparing interface communication to ccu
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] preparing connections cleaning event table
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] fetching Interfaces
[12/5/2023, 1:34:38 PM] [HAP Server] [Rega] RegaScript !interfaces
string sifId;boolean df = true;Write('{"interfaces":[');foreach(sifId, root.Interfaces().EnumIDs()){object oIf = dom.GetObject(sifId);if ((oIf) && (oIf.TypeName()=="INTERFACE")) {if(df) {df = false;} else { Write(',');}Write('{')Write('"id": ' # sifId # ',');Write('"name": "' # oIf.Name() # '",');Write('"type": "' # oIf.Type() # '",');Write('"typename": "' # oIf.TypeName() # '",');Write('"info": "' # oIf.InterfaceInfo() # '",');Write('"url": "' # oIf.InterfaceUrl() # '"');Write('}');}} Write(']}');
[12/5/2023, 1:34:38 PM] [HAP Server] [Rega] result is {"interfaces":[{"id": 1007,"name": "VirtualDevices","type": "458753","typename": "INTERFACE","info": "Virtual Devices","url": "xmlrpc://127.0.0.1:39292/groups"},{"id": 1037,"name": "HmIP-RF","type": "458753","typename": "INTERFACE","info": "HmIP-RF","url": "xmlrpc://127.0.0.1:32010"},{"id": 1602,"name": "BidCos-RF","type": "458753","typename": "INTERFACE","info": "BidCos-RF","url": "xmlrpc_bin://127.0.0.1:32001"},{"id": 3854,"name": "CUxD","type": "458753","typename": "INTERFACE","info": "CUxD","url": "xmlrpc_bin://127.0.0.1:8701"}]}
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] loading databases from /usr/local/etc/config/addons/hap-homematic
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] loading object database for devices from /usr/local/etc/config/addons/hap-homematic/devices.json
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] object database loaded 54 objects found
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] device database loaded 54 devices found
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] loading object database for variables from /usr/local/etc/config/addons/hap-homematic/variables.json
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] object database loaded 65 objects found
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] variable database loaded 65 variables found
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] loading object database for programs from /usr/local/etc/config/addons/hap-homematic/programs.json
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] object database loaded 29 objects found
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] program database loaded 29 programs found
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] loading object database for rooms from /usr/local/etc/config/addons/hap-homematic/rooms.json
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] object database loaded 14 objects found
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] room database loaded 14 rooms found
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] instances to load : {"b6589fc6-ab0d-4c82-8f12-099d1c2d40ab":{"name":"default","user":"12:34:56:e6:2d:23","pin":"629-05-430","publishDevices":true},"f627d6e3-756a-4d6b-9293-149161ae0af3":{"name":"Wohnzimmer","user":"12:34:56:F0:89:E7","pincode":"191-31-940","roomId":1019,"setupID":"8AG9","publishDevices":true},"ee8ea23b-e772-4cdb-b146-a48dedb5c2ef":{"name":"Küche","user":"12:34:56:21:CB:8B","pincode":"345-50-414","roomId":1020,"setupID":"E5E9","publishDevices":true},"ccc6f3db-3dd2-4d2c-b17e-fc8407654ec7":{"name":"Schlafzimmer","user":"12:34:56:A4:36:78","pincode":"853-45-709","roomId":1021,"setupID":"J181","publishDevices":true},"ecbdeb56-54e6-44e4-914b-c9fb998cfe70":{"name":"Esszimmer","user":"12:34:56:E2:2F:1E","pincode":"342-00-238","roomId":1022,"setupID":"0FLF","publishDevices":true},"37143ef0-23c3-4ca8-a2cf-987958f5466c":{"name":"Gästezimmer","user":"12:34:56:AA:7E:D5","pincode":"697-61-571","roomId":1023,"setupID":"2LFK","publishDevices":true},"27b2473d-6a45-48f6-9ec6-fe6e09cc3128":{"name":"Büro","user":"12:34:56:6A:DB:DF","pincode":"943-14-197","roomId":1024,"setupID":"2OA3","publishDevices":true},"91ae972b-3026-4d22-b8a4-9f15a32f117f":{"name":"Badezimmer","user":"12:34:56:A0:26:4E","pincode":"469-15-991","roomId":1025,"setupID":"GALB","publishDevices":true},"fdf0e5d7-3646-41f3-9312-2d799a3c65a7":{"name":"Hauswirtschaftsraum","user":"12:34:56:26:30:F1","pincode":"287-26-656","roomId":1027,"setupID":"17KL","publishDevices":true},"5ca0186e-b9d1-48b2-ad42-fd89dd504393":{"name":"Hobbyraum","user":"12:34:56:FC:09:35","pincode":"455-28-980","roomId":1599,"setupID":"M2EH","publishDevices":true},"135186cb-fe47-4eeb-ab74-26581d9e1b39":{"name":"Gäste-Bad","user":"12:34:56:10:8C:90","pincode":"725-72-944","roomId":1600,"setupID":"8KC4","publishDevices":true},"911b4bf2-3642-4373-9d8d-fc2a00c1e0d1":{"name":"Gamingzimmer","user":"12:34:56:7E:56:1A","pincode":"158-34-937","roomId":1601,"setupID":"C8AD","publishDevices":true},"5bc80589-d597-414a-87e5-ddbac85f25d9":{"name":"Flur","user":"12:34:56:56:56:D8","pincode":"564-93-763","roomId":3842,"setupID":"2D2I","publishDevices":true},"15fa82a9-6972-4fb1-80c2-a25a0bda2338":{"name":"Terrasse","user":"12:34:56:59:67:56","pincode":"601-78-698","roomId":1029,"setupID":"MG0C"}}
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] mapping requested channels
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] setup used interfaces for 31 mapped channels
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] mapping variables
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] mapping requested variables 0 found
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] mapping requested programs 4 found
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] asking rpc manager to power up the interface connections
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] creating eventserver (300)
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] reseting all interface connections
[12/5/2023, 1:34:38 PM] [HAP Server] Setup Watchdog to 300
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] creating rpc server on port 9875
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] skip Monitoring as we are in debug
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] monit config removed
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] adding 4 interfaces to rpc manager
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] interface VirtualDevices seems not to be in use
[12/5/2023, 1:34:38 PM] [HAP Server] If URL is http://127.0.0.1:32010
[12/5/2023, 1:34:38 PM] [HAP Server] If Host 127.0.0.1 Port 32010 Path /
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] local ccu so nothing will be replaced
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] adding interface HmIP-RF with id 1037
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] adding Interface HmIP-RF. Host 127.0.0.1 Port 32010 Path /
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] interface BidCos-RF seems not to be in use
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] interface CUxD seems not to be in use
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] Connecting all interfaces (1 interfaces found)
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] init interface HmIP-RF. for connection to port 9875
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] looks like hap is running local so switch to 127.0.0.1
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] CCU RPC Init Call on 127.0.0.1 port 32010 for interface HmIP-RF. local server port 9875
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] init parameter is http://127.0.0.1:9875 HAP_HmIP-RF.
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] init watchdog 300 seconds
[12/5/2023, 1:34:38 PM] [HAP Server] [Server] prepare cache
[12/5/2023, 1:34:38 PM] [HAP Server] [CCU] will prefill the cache with values from evdps
[12/5/2023, 1:34:38 PM] [HAP Server] [Rega] RegaScript boolean df = true;string dpn;object o; string dpList = 'Program.TV Ambiente Einschalten:0.UNREACH        Program.TV Ambiente Ausschalten:0.UNREACH       Program.Außenrolläden Wetterabhängig öffnen (Sommer):0.UNREACH HmIP-RF.000E1BE9A74176:2.PROCESS        HmIP-RF.000E1BE9A74176:2.LEVEL  HmIP-RF.000E1BE9A74176:0.UNREACH        HmIP-RF.00111BE9A32820:4.INHIBIT        HmIP-RF.00111BE9A32820:3.ACTIVITY_STATE HmIP-RF.00111BE9A32820:3.LEVEL  HmIP-RF.00111BE9A32820:3.PROCESS       HmIP-RF.00111BE9A32820:0.UNREACH        HmIP-RF.000C9D898D3B53:0.UNREACH        HmIP-RF.00085BE9A56F1E:4.STATE  HmIP-RF.00085BE9A56F1E:0.UNREACH        HmIP-RF.00111BE9A327EE:4.INHIBIT        HmIP-RF.00111BE9A327EE:3.ACTIVITY_STATE HmIP-RF.00111BE9A327EE:3.LEVEL HmIP-RF.00111BE9A327EE:3.PROCESS        HmIP-RF.00111BE9A327EE:0.UNREACH        HmIP-RF.00111BE9A32827:4.INHIBIT        HmIP-RF.00111BE9A32827:3.ACTIVITY_STATE HmIP-RF.00111BE9A32827:3.LEVEL  HmIP-RF.00111BE9A32827:3.PROCESS        HmIP-RF.00111BE9A32827:0.UNREACH       HmIP-RF.00111BE9A58C9F:4.INHIBIT        HmIP-RF.00111BE9A58C9F:3.ACTIVITY_STATE HmIP-RF.00111BE9A58C9F:3.LEVEL  HmIP-RF.00111BE9A58C9F:3.PROCESS        HmIP-RF.00111BE9A58C9F:0.UNREACH        HmIP-RF.000E1BE9A74163:2.PROCESS        HmIP-RF.000E1BE9A74163:2.LEVEL HmIP-RF.000E1BE9A74163:0.UNREACH        HmIP-RF.00111BE9A58CA4:4.INHIBIT        HmIP-RF.00111BE9A58CA4:3.ACTIVITY_STATE HmIP-RF.00111BE9A58CA4:3.LEVEL  HmIP-RF.00111BE9A58CA4:3.PROCESS        HmIP-RF.00111BE9A58CA4:0.UNREACH        HmIP-RF.000E1BE9A7411E:2.PROCESS       HmIP-RF.000E1BE9A7411E:2.LEVEL  HmIP-RF.000E1BE9A7411E:0.UNREACH        HmIP-RF.00111BE9A3282B:4.INHIBIT        HmIP-RF.00111BE9A3282B:3.ACTIVITY_STATE HmIP-RF.00111BE9A3282B:3.LEVEL  HmIP-RF.00111BE9A3282B:3.PROCESS        HmIP-RF.00111BE9A3282B:0.UNREACH       HmIP-RF.00111BE9A32841:4.INHIBIT        HmIP-RF.00111BE9A32841:3.ACTIVITY_STATE HmIP-RF.00111BE9A32841:3.LEVEL  HmIP-RF.00111BE9A32841:3.PROCESS        HmIP-RF.00111BE9A32841:0.UNREACH        HmIP-RF.00085BE9A5720B:4.STATE  HmIP-RF.00085BE9A5720B:0.UNREACH       HmIP-RF.00085D89927709:4.STATE  HmIP-RF.00085D89927709:0.UNREACH        HmIP-RF.00085BE9A57210:4.STATE  HmIP-RF.00085BE9A57210:0.UNREACH        HmIP-RF.00085D89927919:4.STATE  HmIP-RF.00085D89927919:0.UNREACH        HmIP-RF.00111BE9A3281B:4.INHIBIT       HmIP-RF.00111BE9A3281B:3.ACTIVITY_STATE HmIP-RF.00111BE9A3281B:3.LEVEL  HmIP-RF.00111BE9A3281B:3.PROCESS        HmIP-RF.00111BE9A3281B:0.UNREACH        HmIP-RF.000C9D898D3B04:0.UNREACH        HmIP-RF.00085D8992739D:4.STATE  HmIP-RF.00085D8992739D:0.UNREACH       HmIP-RF.00085D89927C89:4.STATE  HmIP-RF.00085D89927C89:0.UNREACH        HmIP-RF.00111BE9A3284F:4.INHIBIT        HmIP-RF.00111BE9A3284F:3.ACTIVITY_STATE HmIP-RF.00111BE9A3284F:3.LEVEL  HmIP-RF.00111BE9A3284F:3.PROCESS        HmIP-RF.00111BE9A3284F:0.UNREACH       HmIP-RF.000C9D898D2F59:0.UNREACH        HmIP-RF.000E1BE9A741AE:2.PROCESS        HmIP-RF.000E1BE9A741AE:2.LEVEL  HmIP-RF.000E1BE9A741AE:0.UNREACH        HmIP-RF.00111BE9A32848:4.INHIBIT        HmIP-RF.00111BE9A32848:3.ACTIVITY_STATE HmIP-RF.00111BE9A32848:3.LEVEL HmIP-RF.00111BE9A32848:3.PROCESS        HmIP-RF.00111BE9A32848:0.UNREACH        HmIP-RF.00111BE9A3284D:4.INHIBIT        HmIP-RF.00111BE9A3284D:3.ACTIVITY_STATE HmIP-RF.00111BE9A3284D:3.LEVEL  HmIP-RF.00111BE9A3284D:3.PROCESS        HmIP-RF.00111BE9A3284D:0.UNREACH       HmIP-RF.000C9D898D3B0B:0.UNREACH        HmIP-RF.00085D89927BCC:4.STATE  HmIP-RF.00085D89927BCC:0.UNREACH        HmIP-RF.000C9D898D3B4A:0.UNREACH        HmIP-RF.00085BE9A5720E:4.STATE  HmIP-RF.00085BE9A5720E:0.UNREACH        HmIP-RF.00085D89927BC5:4.STATE HmIP-RF.00085D89927BC5:0.UNREACH        HmIP-RF.00085D89928945:4.STATE  HmIP-RF.00085D89928945:0.UNREACH';Write('{"states":{'); foreach(dpn,dpList){ o = dom.GetObject(dpn); if (o){  object v = o.Value();if (v) {if(df) {df = false;} else { Write(',');}  Write('"' #  dpn # '":');if (o.ValueType() != ivtString) { Write(o.Value()); } else { Write('"' #o.Value() # '"');}}}}  Write('}}');
[12/5/2023, 1:34:38 PM] [HAP Server] [RPC] server for all interfaces is listening on port 9875.
[12/5/2023, 1:34:38 PM] [HAP Server] [Rega] result is
[12/5/2023, 1:34:38 PM] [HAP Server] uncaughtException  log will be found in /usr/local/etc/config/addons/hap-homematic/1701779678478.crash exiting now
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at /usr/local/addons/hap-homematic/node_modules/hap-homematic/lib/HomeMaticCCU.js:891:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
root@homematic-raspi:~# [12/5/2023, 1:34:40 PM] [HAP ConfigServer] [Config] launching configuration service
[12/5/2023, 1:34:40 PM] [HAP ConfigServer] debug
[12/5/2023, 1:34:40 PM] [HAP ConfigServer] Config Start heartBeat
[12/5/2023, 1:34:40 PM] [HAP ConfigServer] Config Server is running
[12/5/2023, 1:34:40 PM] [HAP ConfigServer] [Config] server is up and running messaging daemon about that
[12/5/2023, 1:34:40 PM] [HAP ConfigServer] [Config] running  configuration server on port 9874
node:events:495
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at target._send (node:internal/child_process:872:20)
    at target.send (node:internal/child_process:745:19)
    at Object.<anonymous> (/usr/local/addons/hap-homematic/node_modules/hap-homematic/lib/configurationsrv/index.js:2012:9)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
    at node:internal/main/run_main_module:23:47
Emitted 'error' event on process instance at:
    at node:internal/child_process:876:39
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v18.18.2

Ich hoffe ihr könnt mir irgendwie helfen. Viele Grüße Mike

roe1974 commented 11 months ago

Was steht im log ? "/usr/local/etc/config/addons/hap-homematic/1701779678478.crash"

Evil-Teddy commented 11 months ago

Dort steht leider nur das drin:

Error log : Tue Dec 05 2023 13:34:38 GMT+0100 (Central European Standard Time)

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at /usr/local/addons/hap-homematic/node_modules/hap-homematic/lib/HomeMaticCCU.js:891:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
roe1974 commented 11 months ago

Bitte mal versuchen hap-nodejs auf 0.11.1 zu bringen und HAP zu restarten. SSH verbindung zur RM ... dann:

cd /usr/local/addons/hap-homematic/node_modules/hap-homematic npm i hap-nodejs@latest /usr/local/etc/config/rc.d/hap-homematic restart

Evil-Teddy commented 11 months ago

Jetzt kam dann diese Ausgabe:

root@homematic-raspi:/usr/local/addons/hap-homematic/node_modules/hap-homematic# npm i hap-nodejs@latest
npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)

added 307 packages, and audited 308 packages in 1m

81 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (2 low, 1 moderate, 2 high, 3 critical)

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm notice
npm notice New major version of npm available! 9.8.1 -> 10.2.4
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.4
npm notice Run npm install -g npm@10.2.4 to update!
npm notice
root@homematic-raspi:/usr/local/addons/hap-homematic/node_modules/hap-homematic# /usr/local/etc/config/rc.d/hap-homematic restart
root@homematic-raspi:/usr/local/addons/hap-homematic/node_modules/hap-homematic#

Und leider lässt es sich immer noch nicht starten, bzw. aufrufen.

Evil-Teddy commented 11 months ago

Wenn ich es jetzt im Debug starte kommt diese Fehlermeldung:

[12/6/2023, 2:42:36 PM] [HAP Server] ****************************************************************************************************************************
[12/6/2023, 2:42:36 PM] [HAP Server] *  Sorry the local port 9875 on your system is in use. Please make sure, self no other instance of this plugin is running.
[12/6/2023, 2:42:36 PM] [HAP Server] *  you may change the initial port with the config setting for local_port in your config.json
[12/6/2023, 2:42:36 PM] [HAP Server] *  giving up ... the homematic plugin is not able to listen for ccu events on %s until you fix this.
[12/6/2023, 2:42:36 PM] [HAP Server] ****************************************************************************************************************************
[12/6/2023, 2:42:36 PM] [HAP Server] uncaughtException  log will be found in /usr/local/etc/config/addons/hap-homematic/1701870156384.crash exiting now
Error: port in use error
    at /usr/local/addons/hap-homematic/node_modules/hap-homematic/lib/HomeMaticRPC.js:270:20
    at Server.<anonymous> (/usr/local/addons/hap-homematic/node_modules/hap-homematic/lib/HomeMaticRPC.js:489:7)
    at Object.onceWrapper (node:events:632:26)
    at Server.emit (node:events:517:28)
    at emitErrorNT (node:net:1844:8)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
root@homematic-raspi:/usr/local/addons/hap-homematic/node_modules/hap-homematic# [12/6/2023, 2:42:39 PM] [HAP ConfigServer] [Config] launching configuration service
[12/6/2023, 2:42:39 PM] [HAP ConfigServer] debug
[12/6/2023, 2:42:39 PM] [HAP ConfigServer] Config Start heartBeat
[12/6/2023, 2:42:39 PM] [HAP ConfigServer] Config Server is running
[12/6/2023, 2:42:39 PM] [HAP ConfigServer] [Config] server is up and running messaging daemon about that
[12/6/2023, 2:42:39 PM] [HAP ConfigServer] [Config] running  configuration server on port 9874
Error: write EPIPE
    at process.target._send (node:internal/child_process:872:20)
    at process.target.send (node:internal/child_process:745:19)
    at Object.<anonymous> (/usr/local/addons/hap-homematic/node_modules/hap-homematic/lib/configurationsrv/index.js:2012:9)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Function.Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
    at node:internal/main/run_main_module:23:47

Und im Error Log steht das:

Error log : Wed Dec 06 2023 14:42:36 GMT+0100 (Central European Standard Time)

Error: port in use error
    at /usr/local/addons/hap-homematic/node_modules/hap-homematic/lib/HomeMaticRPC.js:270:20
    at Server.<anonymous> (/usr/local/addons/hap-homematic/node_modules/hap-homematic/lib/HomeMaticRPC.js:489:7)
    at Object.onceWrapper (node:events:632:26)
    at Server.emit (node:events:517:28)
    at emitErrorNT (node:net:1844:8)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
roe1974 commented 11 months ago

Die Fehler beim install von hap-nodejs 0.11.1 sind normal ... Hmmmm ... also ich würde ein backup der RM machen, neue SD Karte mit neuer aktueller RM, dann Backup zurückspielen ... dabei wird HAP frisch installiert .... btw: ich mache die updates immer so mit einer drischen SD Karte... Wobei ... worauf läuft deine RM ??? (Raspi, Virtuell, Tinkerboard,....)

Evil-Teddy commented 11 months ago

Auf einer CCU3 läuft die RaspberryMatic

roe1974 commented 11 months ago

OK ... also ein Raspi ;-) ... aber hast Du die CCU schon mal rebootet ?

Evil-Teddy commented 11 months ago

Habe in den letzten Tage sehr oft neugestartet :D Aber jetzt nachdem ich die hap-nodejs geupdated habe noch nicht. Habe ich jetzt mal gemacht und dann ging es leider immer noch nicht. Aber mich dann per SSH nochmal raufgeschaltet und HAP-Homematic gestoppt und wieder gestartet und jetzt geht es erstmal wieder. Soweit war ich gestern aber auch schon mal und da war das so, wenn es wieder ging, dann ist es aber irgendwann wieder gecrasht und ich musste HAP-Homematic neustarten damit es wieder funktioniert. Mal sehen ob es jetzt vllt behoben ist mit dem update von hap-nodejs.

roe1974 commented 11 months ago

OK .... das aktuelle log von HAP sieht normal aus ?

Evil-Teddy commented 11 months ago

Ja also ich habe das mit

node /usr/local/addons/hap-homematic/node_modules/hap-homematic/index.js -D

gestartet und schaue aktuell direkt auf die Ausgabe und bis jetzt sieht das alles normal aus, ja.

roe1974 commented 11 months ago

... dann warten wir mal ab ;-)

roe1974 commented 11 months ago

PS: An der RM Version liegt es def. nicht, läuft bei mir ohne Probleme ;-)

Evil-Teddy commented 11 months ago

Ja das dachte ich mir schon, war aber auffällig, dass diese Probleme erst mit dem update gekommen sind. Aber vielleicht ist auch was beim update Prozess schiefgelaufen oder so.

ChrWi commented 11 months ago

Mein pivCCU System läuft mit der 3.73.9 auch unauffällig. Scheint also ein spezielles Problem zu sein

sjbufton commented 11 months ago

Ich habe auch Schwierigkeiten seit dem Update auf 3.73.9 (CCU3 Original-SW, nicht Raspberrymatic).

Ich habe verschiedene Kanäle mehrerer FCI6 Tasterschnittstellen via hap-homematic als HomeMaticKeyAccessory veröffentlicht und im HomeKit als Trigger für verschiedene Szenen verwendet. Nach dem Update funktionierte alles normal, bis ich zwei weitere Kanäle eines FCI6s veröffentlicht habe. Seither funktionieren keine der FCI6-Kanäle als Trigger in HomeKit. Es hat auch nichts genützt, die zwei neuen Kanäle wieder zu entfernen.

Alles andere funktioniert normal: ich kann Dimmer und Schalter steuern (und sehe auch den Zustand der Lampen korrekt in HomeKit), sowie Thermostate ablesen. Ich habe jedoch nicht versucht, weitere Lampen oder Thermostate zu veröffentlichen - es sind schon alle drin.

Gab es irgendwelche Node-Updates mit dem Firmware-Update? Oder spielt der Update auf Java 11 eine Rolle? hap-homematic verwendet Java nicht direkt, spricht aber via Schnittstelle mit dem Java-Prozess. Gibt es vielleicht dort irgend eine Verhaltensänderung?

sjbufton commented 11 months ago

Ich habe auch Schwierigkeiten seit dem Update auf 3.73.9 (CCU3 Original-SW, nicht Raspberrymatic).

Alles gelöst, sorry. Ein Neustart des Apple TVs hat geholfen.

Evil-Teddy commented 11 months ago

Also ich habe das bei mir jetzt mal die letzten Tage beobachtet und leider ist es immer noch so das sich HAP-Homematic so 1 mal am Tag verabschiedet, wenn ich das Plugin dann Neustarte geht es wieder. Aber ist schon nervig wenn auf einmal mit dem Handy nichts mehr steuern kann und man sich erst wieder aufs Raspberrymatic schalten muss damit es geht.

Als workaround könnte ich mit einem script einfach alle 30 Minuten HAP-Homematic Neustarten lassen, aber das wäre halt nicht die Lösung.

ChrWi commented 11 months ago

Kannst Du bitte die Einstellungen Deiner CCU Firewall teilen? Es muss ja irgendwas mit der Kommunikation zwischen CCU und HAP Add-on sein.

Evil-Teddy commented 11 months ago

Ja klar: Screenshot 2023-12-13 185410 Screenshot 2023-12-13 185456

ChrWi commented 11 months ago

Testweise würde ich mal die XML-RPC API auf Vollzugriff stellen, auch wenn der Port 9875 freigegeben ist

die 10er IP Adresse ist von was?

Evil-Teddy commented 11 months ago

Testweise würde ich mal die XML-RPC API auf Vollzugriff stellen, auch wenn der Port 9875 freigegeben ist

Okay habe das mal auf Vollzugriff gestellt und beobachte das die nächsten Tage nochmal.

die 10er IP Adresse ist von was?

Ehrlich gesagt hab ich keine Ahnung. Das stand da irgendwie schon drin, ich dachte das muss so :D

Evil-Teddy commented 11 months ago

Leider ist es auch jetzt immer wieder nicht erreichbar.

Evil-Teddy commented 11 months ago

Nabend,

leider hatte es sich heute über nach auch wieder verabschiedet und lies sich auch mit den üblichen wegen nicht mehr starten und ich musste die gesamte CCU neu starten damit HAP-Homematic wieder funktionierte. Und eben gerade war es auch wieder abgestürzt. Lies sich aber durch ein Neustart von HAP-Homematic wieder starten.

roe1974 commented 11 months ago

Sehr seltsam ... HAP ist bei mir noch nie abgestürzt ... hast spezielle Geräte eingebunden ?

Evil-Teddy commented 11 months ago

Ne nicht das ich wüsste. Was wäre denn Speziell? Ich habe haufenweise Homematic Geräte und ein paar Phillips Hue Leuchten. Ansonsten dürfte da nichts spezielles sein. Und die Auslastung der CCU ist auch nicht hoch ,also der duty cycle.

ChrWi commented 11 months ago

Wie sieht denn deine Hue Kopplung aus?

Evil-Teddy commented 11 months ago

Wie meinst du das? Also ich habe das Philips Hue Plugin installiert.

Evil-Teddy commented 11 months ago

Heute ist HAP wieder abgestürzt und ich bekomme es aktuell nicht mehr wieder zum laufen. Auch wenn ich es über die Konsole stoppe und wieder starte. Habe es mal im Debug Modus gestartet und im stacktrace hatte ich dann diese errors gefunden:

Screenshot 2023-12-31 100644

Screenshot 2023-12-31 100452

ChrWi commented 11 months ago

Schau mal hier: https://github.com/thkl/hap-homematic/issues/575#issuecomment-1304451804 => irgendwelche .crash files?

Ggf ein kaputter ccu cache? Da hatte @thkl aber mit Änderungen in 10/2022 gegengesteuert. Siehe #453

Evil-Teddy commented 11 months ago

Ja in den Crash files steht dann aber immer nur sowas:

Error log : Sun Dec 31 2023 10:00:05 GMT+0100 (Central European Standard Time)

Error: connect ECONNREFUSED 127.0.0.1:32010
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)

Also wirklich mehr nicht.

Evil-Teddy commented 11 months ago

Ggf ein kaputter ccu cache? Da hatte @thkl aber mit Änderungen in 10/2022 gegengesteuert. Siehe #453

Wie würde ich denn einen kaputten ccu cache fixen?

Evil-Teddy commented 10 months ago

Leider immer noch nichts neues. HAP stürzt weiterhin immer wieder am (so 1 mal täglich) und heute war es sogar soweit, dass die ganze CCU abgestürzt ist.

Hat irgendwer noch eine Idee?

ChrWi commented 10 months ago

Schau mal hier https://github.com/thkl/hap-homematic/issues/614#issuecomment-1445150518

Evil-Teddy commented 10 months ago

Hmm ich weiß nicht. Interessant ist, das da jemand auch als "Lösung" bzw. Workaround ein Script laufen hat was alle 10 Minuten checkt ob HAP noch funktioniert und wenn nicht, das dann neu startet. Das mache ich momentan auch seit ein paar Tagen. Seitdem keine Probleme mehr. Ist aber natürlich keine dauerhafte Lösung. Das mit dem löschen der /var/run/hap-homematic.pid hört sich interessant an, aber ich habe angst das ich dann was zerschiesse oder so.

Evil-Teddy commented 10 months ago

ich habe den HAP cache jetzt mal gelöscht so wie in #614 (comment) beschrieben und mein script abgeschaltet. Mal sehen ob HAP jetzt wieder stabil bleibt. :-)

Evil-Teddy commented 10 months ago

Also kleines update von mir. Seitdem ich letzte Woche den Cache gelöscht habe wie im link von meinem letzten Kommentar beschrieben wurde, habe ich keine Probleme mehr gehabt. Generell läuft die CCU3 wieder sehr viel besser. Also sehe ich as Problem erstmal als erledigt an würde ich sagen.

Vielen Dank für eure Hilfe :-)

redtom13 commented 9 months ago

Bei mir ebenfalls: Nach update started HAP nicht mehr (bzw. schmiert ab)

Evil-Teddy commented 9 months ago

Bei mir ebenfalls: Nach update started HAP nicht mehr (bzw. schmiert ab)

Ja bei mir ist es auch leider wieder so. Dachte erst das es geklappt hat, aber das Verhalten ist zurück gekommen. HAP schmiert ab manchmal sogar so schlimm das fie CCU3 komplett neu gestartet werden muss.