ich habe aktuell Homebridge für Windows installiert auf meinem Server. Nun habe ich zwei / drei Probleme. Eventuell kann mir hier jemand weiter helfen.
1. Wenn ich Homebridge Neustarte, kommt unten das der Server sehr lange braucht zum starten.
Im Protokoll steht folgendes
Code: Alles auswählen
[12.2.2022, 08:56:15] [homebridge-homematic] This plugin is taking long time to load and preventing Homebridge from starting. See https://git.io/JtMGR for more info.
[12.2.2022, 08:56:35] [Haus] timeout while executing rega script
[12.2.2022, 08:56:35] [Haus] Error Error: socket hang upwhile executing rega script string sDeviceId;string sChannelId;boolean df = true;Write('{"devices":[');foreach(sDeviceId, root.Devices().EnumIDs()){object oDevice = dom.GetObject(sDeviceId);if(oDevice){var oInterface = dom.GetObject(oDevice.Interface());if(df) {df = false;} else { Write(',');}Write('{');Write('"id": "' # sDeviceId # '",');Write('"name": "' # oDevice.Name() # '",');Write('"address": "' # oDevice.Address() # '",');Write('"type": "' # oDevice.HssType() # '",');Write('"channels": [');boolean bcf = true;foreach(sChannelId, oDevice.Channels().EnumIDs()){object oChannel = dom.GetObject(sChannelId);if(bcf) {bcf = false;} else {Write(',');}Write('{');Write('"cId": ' # sChannelId # ',');Write('"name": "' # oChannel.Name() # '",');if(oInterface){Write('"intf": "' # oInterface.Name() # '",');Write('"address": "' # oInterface.Name() #'.' # oChannel.Address() # '",');}Write('"type": "' # oChannel.HssType() # '",');Write('"access": "' # oChannel.UserAccessRights(iulOtherThanAdmin)# '"');Write('}');}Write(']}');}}Write(']');var s = dom.GetObject("HomeKit");string cid;boolean sdf = true;if (s) {Write(',"subsection":[');foreach(cid, s.EnumUsedIDs()){ if(sdf) {sdf = false;} else { Write(',');}Write(cid);}Write(']');}Write('}');
[12.2.2022, 08:56:35] [Haus] [Core] ok local cache is set to C:\Users\Administrator\.homebridge\ccu.json
[12.2.2022, 08:56:35] [Haus] [Core] Unable to parse cached ccu data. giving up
Setup Payload:
X-HM://0023VTKYG0PYQ
homebridge-homematic v0.2.226@thkl
2. Wenn ich die Remoteverbindung zum Server schließe, dann wird auch irgend wann die Homebridge und mein CCUHistorian geschlossen oder beendet, zu mindestens habe ich keinen Zugriff auf die Daten.
Hat da jemand ein Lösung?
Danke