NEWS
ioBroker im docker, Verbindung zu ccu3
-
Hallo,
ich hatte bis jetzt ioBroke immer auf einem rpi laufen. Nun bin ich dabei ioBroker in einem Dockercontainer unterzubringen. Der Umzug erfolgt mit HIlfe des BackItUp-Adapter, Die ccu3 selbst läuft als eigenes Gerät. Ich bekomme die Kommunikation von ioBroker zu ccu3 nicht ans laufen.
Die KonfigurationIP-Adressen
ccu3: 192.168.1.112
Dockerhost: 192.168.1.10
Container-ID (Bridge): 172.17.0.3Es wird u.a. der Port 2001 an den Container weitergereicht.
Firewall ccu3
Adapter-Einstellungen hm-rpc
Die Logdatei sagt
2023-02-18 20:09:57.855 - info: host.306fdf6c2ea0 "system.adapter.hm-rpc.0" enabled 2023-02-18 20:09:57.933 - info: host.306fdf6c2ea0 instance system.adapter.hm-rpc.0 started with pid 1935 2023-02-18 20:09:58.243 - debug: hm-rpc.0 (1935) Redis Objects: Use Redis connection: 127.0.0.1:9001 2023-02-18 20:09:58.266 - debug: hm-rpc.0 (1935) Objects client ready ... initialize now 2023-02-18 20:09:58.267 - debug: hm-rpc.0 (1935) Objects create System PubSub Client 2023-02-18 20:09:58.268 - debug: hm-rpc.0 (1935) Objects create User PubSub Client 2023-02-18 20:09:58.289 - debug: hm-rpc.0 (1935) Objects client initialize lua scripts 2023-02-18 20:09:58.291 - debug: hm-rpc.0 (1935) Objects connected to redis: 127.0.0.1:9001 2023-02-18 20:09:58.303 - debug: hm-rpc.0 (1935) Redis States: Use Redis connection: 127.0.0.1:9000 2023-02-18 20:09:58.310 - debug: hm-rpc.0 (1935) States create System PubSub Client 2023-02-18 20:09:58.311 - debug: hm-rpc.0 (1935) States create User PubSub Client 2023-02-18 20:09:58.323 - debug: hm-rpc.0 (1935) States connected to redis: 127.0.0.1:9000 2023-02-18 20:09:58.394 - debug: hm-rpc.0 (1935) Plugin sentry Initialize Plugin (enabled=true) 2023-02-18 20:09:58.500 - info: hm-rpc.0 (1935) starting. Version 1.15.16 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v16.19.1, js-controller: 4.0.24 2023-02-18 20:09:58.609 - info: hm-rpc.0 (1935) xmlrpc server is trying to listen on 172.17.0.3:2001 2023-02-18 20:09:58.610 - info: hm-rpc.0 (1935) xmlrpc client is trying to connect to 192.168.1.112:2001/ with ["http://192.168.1.10:2001","306fdf6c2ea0:hm-rpc.0:6f9653abd360c1f547bf76e3c5cb0c72"] 2023-02-18 20:09:58.611 - debug: hm-rpc.0 (1935) Connect... 2023-02-18 20:09:58.612 - debug: hm-rpc.0 (1935) xmlrpc -> 192.168.1.112:2001/ init ["http://192.168.1.10:2001","306fdf6c2ea0:hm-rpc.0:6f9653abd360c1f547bf76e3c5cb0c72"] 2023-02-18 20:09:58.621 - debug: hm-rpc.0 (1935) start connecting interval 2023-02-18 20:09:58.631 - info: hm-rpc.0 (1935) xmlrpc <- system.listMethods ["306fdf6c2ea0:hm-rpc.0:6f9653abd360c1f547bf76e3c5cb0c72"] 2023-02-18 20:09:58.635 - info: hm-rpc.0 (1935) xmlrpc <- listDevices ["306fdf6c2ea0:hm-rpc.0:6f9653abd360c1f547bf76e3c5cb0c72"] 2023-02-18 20:09:58.636 - debug: hm-rpc.0 (1935) No suitable Lua script, fallback to keys!: function(doc) { if (doc._id.match(/^hm-rpc\.[0-9]+\.\*?[A-Za-z0-9_-]+(\.[0-9]+)?$/)) { emit(doc._id, {ADDRESS:(doc.native?doc.native.ADDRESS:''),VERSION:(doc.native?doc.native.VERSION:'')}); } } 2023-02-18 20:09:58.653 - info: hm-rpc.0 (1935) xmlrpc -> 92 devices 2023-02-18 20:09:58.679 - info: hm-rpc.0 (1935) Connected 2023-02-18 20:09:58.679 - debug: hm-rpc.0 (1935) clear connecting interval 2023-02-18 20:09:58.679 - debug: hm-rpc.0 (1935) start ping interval
Welche Einstellungen muss ich noch machen?
-
@ma-sch sagte in ioBroker im docker, Verbindung zu ccu3:
Adapter-Einstellungen hm-rpc
da fehlt eine Seite
edit: gefunden, fehlte der Header!
sieht eigentlich gut aus2023-02-18 20:09:58.653 - info: hm-rpc.0 (1935) xmlrpc -> 92 devices 2023-02-18 20:09:58.679 - info: hm-rpc.0 (1935) Connected
meldet auch verbunden. sowie 92 Geräte gefunden
wo ist das Problem
-
@homoran sagte in ioBroker im docker, Verbindung zu ccu3:
verbunden. sowie 92 Geräte gef
Jetzt klappt es tatsächlich. Der Fehler war wohl, dass ich die ccu3 nicht neu gestartet habe. Das hatte ich bei schreiben des Posts getan ....
-
@ma-sch sagte in ioBroker im docker, Verbindung zu ccu3:
ccu3 nicht neu gestartet habe.
debug: hm-rpc.0 (1935) No suitable Lua script, fallback to keys!
https://forum.iobroker.net/post/821525
Wäre :