thkl / homebridge-homematic

Homematic plugin for homebridge: https://github.com/nfarina/homebridge
180 stars 49 forks source link

Keine Statusänderung nach rpi start wenn CCU not ready (Cache) #601

Closed jonasg2b closed 3 years ago

jonasg2b commented 4 years ago

Homebridge 1.0.4 Homebridge-Homematic v0.1.231 PivCCu/Homematic CCU3 3.51.6 -frische installation-

Seit einigen Versionen wird wenn die CCU noch startet der Gerätestatus nicht in der Homebride ausgegeben ( alles steht auf OFF und 0 C), Statusänderungen werden angenommen, allerdings springt die Anzeige dann sofort wieder auf OFF und 0C). Wenn die Homebridge dann manuell neugestartet wird nachdem die CCU gestartet ist, läuft alles optimal.

In der 0.0.219 das gleiche.

btw; danke fürs bereitstellen des Plugins! Ich denke wir wissen alle deine Arbeit zu schätzen.

Meldung in der Homebridge:

5/6/2020, 12:46:04] [HomeMatic CCU3] [Core] Unable to parse live ccu data. Will try cache if there is one. If you want to know what, start homebridge in debug mode -> DEBUG=* homebridge -D
[5/6/2020, 12:46:04] [HomeMatic CCU3] [Core] ok local cache is set to /var/lib/homebridge/ccu.json
[5/6/2020, 12:46:04] [HomeMatic CCU3] [Core] loaded ccu data from local cache ... WARNING: your mileage may vary

oder auch mal: [5/6/2020, 14:02:44] [HomeMatic CCU3] Error Error: connect ECONNREFUSED 192.168.1.11:8181while executing rega script Write('PONG') [5/6/2020, 14:02:44] [HomeMatic CCU3] if undefined is PONG CCU is alive [5/6/2020, 14:02:44] [HomeMatic CCU3] Error Error: connect ECONNREFUSED 192.168.1.11:8181while 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('}');

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.