30-11-2019, 12:29:26
(05-06-2019, 09:59:08)PJH schrieb: Hallo Ollie und alle anderen Eingeweihten,
gibt es mittlerweile ein Binding um die Innogy Zentrale 2 in OpenHAB einzubinden?
Danke und schöne Grüße.
PJH
Hallo PJH,
ja, es gibt Bindings für die SHC2. Das aktuellste ist hier zu finden:
https://community.openhab.org/t/innogy-u.../77928/119
Das habe ich aber nicht zum Laufen bekommen, die Zentrale bleibt immer im Status "INITIALIZED" (OH 2.4).
Mit einer älteren Version läuft es bei mir jetzt (eingeschränkt):
https://community.openhab.org/t/innogy-u...d/77928/27
Eigentlich funktioniert auch alles, aber in den Logs tauchen ständig die folgenden Meldungen auf (vielleicht kann Ollie helfen?):
2019-11-30 11:24:15.915 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler InnogyBridgeHandler tried updating the thing status although the handler was already disposed.
2019-11-30 11:24:36.104 [ERROR] [internal.handler.InnogyBridgeHandler] - Error initializing innogy SmartHome client.
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:?]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:?]
at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:?]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:?]
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:?]
at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:?]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) ~[?:?]
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940) ~[?:?]
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:?]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:?]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) ~[?:?]
at java.io.BufferedInputStream.read(BufferedInputStream.java:345) ~[?:?]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735) ~[?:?]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
at com.google.api.client.http.javanet.NetHttpResponse.<init>(NetHttpResponse.java:37) ~[243:org.openhab.binding.innogysmarthome:2.4.0]
at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:94) ~[243:org.openhab.binding.innogysmarthome:2.4.0]
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981) ~[243:org.openhab.binding.innogysmarthome:2.4.0]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.executeGet(InnogyClient.java:283) ~[243:org.openhab.binding.innogysmarthome:2.4.0]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.initializeSession(InnogyClient.java:181) ~[243:org.openhab.binding.innogysmarthome:2.4.0]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.initialize(InnogyClient.java:134) ~[243:org.openhab.binding.innogysmarthome:2.4.0]
at org.openhab.binding.innogysmarthome.internal.handler.InnogyBridgeHandler$Initializer.run(InnogyBridgeHandler.java:107) [243:org.openhab.binding.innogysmarthome:2.4.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]