NEWS
HM-RPC Adapter starten nicht mehr!
-
Hallo zusammen,
ich brauche eure Hilfe, meine beiden hm-rpc Adapter verbinden sich nicht mehr. Bis gestern hatte noch alles funktioniert. Habe gestern noch ein paar Geräte angelernt, irgendwann ist dann die Raspberry mal abgeschmiert und nach dem Neustart, blieben die Adapter gelb.
Im Log steht folgendes
hm-rpc.0 2020-01-22 22:12:38.242 error (9122) init error: Error: Unknown XML-RPC tag 'TITLE' hm-rpc.0 2020-01-22 22:12:38.141 info (9122) xmlrpc client is trying to connect to 192.168.178.6:2001/ with ["http://192.168.178.6:1024","hm-rpc.0"] hm-rpc.0 2020-01-22 22:12:38.138 info (9122) xmlrpc server is trying to listen on 192.168.178.6:1024 hm-rpc.0 2020-01-22 22:10:57.964 info (9122) [META] Meta data updated hm-rpc.0 2020-01-22 22:10:57.349 info (9122) starting. Version 1.12.1 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v10.18.1 hm-rpc.0 2020-01-22 22:10:50.293 info (8524) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason hm-rpc.0 2020-01-22 22:10:50.279 info (8524) xmlrpc -> 192.168.178.6:2001/ init ["http://192.168.178.6:1024",""]
Hier noch ein paar Infos:
Ich nutze eine Raspi 3B+ mit dem Funkmodul HM-MOD-RPI-PCB unter
Debmatic 3.49.17.40 und
Iobroker 3.6.12
Node.js v10.18.1
NPM 6.11.3
ReGaHSS 2.5.2
Hm-RPC 1.12.1
Hab schon einiges probiert und auch mit google bin ich nicht fündig geworden.
Hab auch schon die Adapter mal neu installiert ohne Erfolg.was mir noch aufgefallen ist, dass mir bei der HomeMatic CCU-Adresse die Pi zweimal angezeigt wird?! Das war bisher nicht, denk ich.
Was kann ich noch tun?
-
@Michi_Pi Angegebene Adapter Adresse und Homematic Adresse sind identisch? Absicht?
Unter welcher IP erreichst du deine CCU?
-
@foxriver76 sagte:
Adapter Adresse und Homematic Adresse sind identisch?
@Michi_Pi sagte in HM-RPC Adapter starten nicht mehr!:
Debmatic 3.49.17.40
Ich würde localhost verwenden.
-
Hab iobroker und debmatic auf dem gleichen Raspberry, daher muss es ja die gleiche IP sein, oder kann man das etwa anders ansteuern?
Bisher ging es ja problemlos.Mit Localhost kommt der gleiche Fehler
-
@foxriver76 hab ja das aufsteck Funkmodul HM-MOD-RPI-PCB an der Pi, die Adresse ist dann meine Pi. Also 192.168.178.6
-
@Michi_Pi sagte:
Hab iobroker und debmatic auf dem gleichen Raspberry, daher muss es ja die gleiche IP sein
Nein, muss es nicht. Wenn die CCU-Software in einem Container läuft wie piVCCU, haben ioBroker und CCU unterschiedliche IP-Adressen.
-
@paul53 okay, gut zu wissen
-
@Michi_Pi Wenn du auf die CCU Weboberfläche gelangen möchtest, erreichst du diese unter 192.168.178.6?
Falls ja, rufe mal im Browser
192.168.178.6:2001
auf. Da scheint eine HTML-Seite zu sein, evtl. Authentifizierung an o. ä. -
@foxriver76 sagte:
rufe mal im Browser 192.168.178.6:2001 auf. Da scheint eine HTML-Seite zu sein
rfd hat eine HTML-Seite ? Port 2001 liefert eine XML-RPC-Schnittstelle.
-
@paul53 Jein, wenn Auth an ist dann kommt eine HTML Seite mit Unauthorized zurück und wenn z. B. kein Funkmodul angesteckt ist kommt eine Seite mit
Eine Komponente der Homematic Zentrale reagiert nicht
, siehe im Log.hm-rpc.0 2020-01-22 22:12:38.242 error (9122) init error: Error: Unknown XML-RPC tag 'TITLE'
-
@foxriver76 ja, mit der IP komme ich zu meiner webui.
Wenn ich den Port 2001 wähle, kommt
"503 Service Not Available" -
@Michi_Pi Interessant. Hast du nochmal den Host neugestartet? Blockiert evtl jemand anderes Port 2001? CCU-Log wäre vermutlich eine Anlaufstelle.
-
@foxriver76 wie kann ich das rausfinden ob jemand anders den Port blockiert?
Bin noch Recht neu in der Materie.
Habe halt das komplette system neugestartet auch Mal neue Adapter installiert mit den Einstellungen, parallel hab ich natürlich die anderen deaktiviert.
Den Cache hab ich auch geleert.... Sonst ist mir nichts mehr eingefallen. -
Hab eben bei der ersten Instanz den lokalen Host und einen den Port 32010 angegeben, jetzt hat sich die zweite Instanz verbunden... Komisch...
-
@Michi_Pi ja, das mit 3er Ports geht weil du Lokal zugreifst. Ports checken mit
lsof -P | grep 2001
-
@foxriver76 er sagt Zugang verweigert....
pi@raspberrypi:~$ lsof -P | grep 2001 io.zigbee 2001 iobroker cwd unknown /proc/2001/cwd (readlink: Permission denied) io.zigbee 2001 iobroker rtd unknown /proc/2001/root (readlink: Permission denied) io.zigbee 2001 iobroker txt unknown /proc/2001/exe (readlink: Permission denied) io.zigbee 2001 iobroker NOFD /proc/2001/fd (opendir: Permission denied) io.zigbee 2001 2003 node iobroker cwd unknown /proc/2001/task/2003/cwd (readlink: Permission denied) io.zigbee 2001 2003 node iobroker rtd unknown /proc/2001/task/2003/root (readlink: Permission denied) io.zigbee 2001 2003 node iobroker txt unknown /proc/2001/task/2003/exe (readlink: Permission denied) io.zigbee 2001 2003 node iobroker NOFD /proc/2001/task/2003/fd (opendir: Permission denied) io.zigbee 2001 2004 node iobroker cwd unknown /proc/2001/task/2004/cwd (readlink: Permission denied) io.zigbee 2001 2004 node iobroker rtd unknown /proc/2001/task/2004/root (readlink: Permission denied) io.zigbee 2001 2004 node iobroker txt unknown /proc/2001/task/2004/exe (readlink: Permission denied) io.zigbee 2001 2004 node iobroker NOFD /proc/2001/task/2004/fd (opendir: Permission denied) io.zigbee 2001 2005 node iobroker cwd unknown /proc/2001/task/2005/cwd (readlink: Permission denied) io.zigbee 2001 2005 node iobroker rtd unknown /proc/2001/task/2005/root (readlink: Permission denied) io.zigbee 2001 2005 node iobroker txt unknown /proc/2001/task/2005/exe (readlink: Permission denied) io.zigbee 2001 2005 node iobroker NOFD /proc/2001/task/2005/fd (opendir: Permission denied) io.zigbee 2001 2006 node iobroker cwd unknown /proc/2001/task/2006/cwd (readlink: Permission denied) io.zigbee 2001 2006 node iobroker rtd unknown /proc/2001/task/2006/root (readlink: Permission denied) io.zigbee 2001 2006 node iobroker txt unknown /proc/2001/task/2006/exe (readlink: Permission denied) io.zigbee 2001 2006 node iobroker NOFD /proc/2001/task/2006/fd (opendir: Permission denied) io.zigbee 2001 2007 node iobroker cwd unknown /proc/2001/task/2007/cwd (readlink: Permission denied) io.zigbee 2001 2007 node iobroker rtd unknown /proc/2001/task/2007/root (readlink: Permission denied) io.zigbee 2001 2007 node iobroker txt unknown /proc/2001/task/2007/exe (readlink: Permission denied) io.zigbee 2001 2007 node iobroker NOFD /proc/2001/task/2007/fd (opendir: Permission denied) io.zigbee 2001 2008 node iobroker cwd unknown /proc/2001/task/2008/cwd (readlink: Permission denied) io.zigbee 2001 2008 node iobroker rtd unknown /proc/2001/task/2008/root (readlink: Permission denied) io.zigbee 2001 2008 node iobroker txt unknown /proc/2001/task/2008/exe (readlink: Permission denied) io.zigbee 2001 2008 node iobroker NOFD /proc/2001/task/2008/fd (opendir: Permission denied) io.zigbee 2001 2478 node iobroker cwd unknown /proc/2001/task/2478/cwd (readlink: Permission denied) io.zigbee 2001 2478 node iobroker rtd unknown /proc/2001/task/2478/root (readlink: Permission denied) io.zigbee 2001 2478 node iobroker txt unknown /proc/2001/task/2478/exe (readlink: Permission denied) io.zigbee 2001 2478 node iobroker NOFD /proc/2001/task/2478/fd (opendir: Permission denied) io.zigbee 2001 2479 node iobroker cwd unknown /proc/2001/task/2479/cwd (readlink: Permission denied) io.zigbee 2001 2479 node iobroker rtd unknown /proc/2001/task/2479/root (readlink: Permission denied) io.zigbee 2001 2479 node iobroker txt unknown /proc/2001/task/2479/exe (readlink: Permission denied) io.zigbee 2001 2479 node iobroker NOFD /proc/2001/task/2479/fd (opendir: Permission denied) io.zigbee 2001 2480 node iobroker cwd unknown /proc/2001/task/2480/cwd (readlink: Permission denied) io.zigbee 2001 2480 node iobroker rtd unknown /proc/2001/task/2480/root (readlink: Permission denied) io.zigbee 2001 2480 node iobroker txt unknown /proc/2001/task/2480/exe (readlink: Permission denied) io.zigbee 2001 2480 node iobroker NOFD /proc/2001/task/2480/fd (opendir: Permission denied) io.zigbee 2001 2481 node iobroker cwd unknown /proc/2001/task/2481/cwd (readlink: Permission denied) io.zigbee 2001 2481 node iobroker rtd unknown /proc/2001/task/2481/root (readlink: Permission denied) io.zigbee 2001 2481 node iobroker txt unknown /proc/2001/task/2481/exe (readlink: Permission denied) io.zigbee 2001 2481 node iobroker NOFD /proc/2001/task/2481/fd (opendir: Permission denied) pi@raspberrypi:~$ ~
-
@Michi_Pi sorry, jetzt am Rechner:
sudo lsof -n -i -P | grep LISTEN
-
@foxriver76 hier das Ergebnis
iobroker. 503 iobroker 19u IPv4 17357 0t0 TCP 127.0.0.1:9001 (LISTEN) iobroker. 503 iobroker 20u IPv4 17366 0t0 TCP 127.0.0.1:9000 (LISTEN) sshd 546 root 3u IPv4 12661 0t0 TCP *:22 (LISTEN) sshd 546 root 4u IPv6 12663 0t0 TCP *:22 (LISTEN) lighttpd 576 www-data 4u IPv4 12720 0t0 TCP *:8089 (LISTEN) lighttpd 576 www-data 5u IPv6 12721 0t0 TCP *:8089 (LISTEN) lighttpd 576 www-data 6u IPv4 12722 0t0 TCP *:80 (LISTEN) lighttpd 576 www-data 7u IPv6 12723 0t0 TCP *:80 (LISTEN) lighttpd 576 www-data 8u IPv4 12724 0t0 TCP *:8181 (LISTEN) lighttpd 576 www-data 9u IPv6 12725 0t0 TCP *:8181 (LISTEN) lighttpd 576 www-data 10u IPv4 12726 0t0 TCP *:1999 (LISTEN) lighttpd 576 www-data 11u IPv6 12727 0t0 TCP *:1999 (LISTEN) lighttpd 576 www-data 12u IPv4 12728 0t0 TCP *:2010 (LISTEN) lighttpd 576 www-data 13u IPv6 12729 0t0 TCP *:2010 (LISTEN) lighttpd 576 www-data 14u IPv4 12730 0t0 TCP *:9292 (LISTEN) lighttpd 576 www-data 15u IPv6 12731 0t0 TCP *:9292 (LISTEN) lighttpd 576 www-data 16u IPv4 12732 0t0 TCP *:2001 (LISTEN) lighttpd 576 www-data 17u IPv6 12733 0t0 TCP *:2001 (LISTEN) lighttpd 576 www-data 18u IPv4 12734 0t0 TCP *:2000 (LISTEN) lighttpd 576 www-data 19u IPv6 12735 0t0 TCP *:2000 (LISTEN) pihole-FT 930 pihole 5u IPv4 17547 0t0 TCP *:53 (LISTEN) pihole-FT 930 pihole 7u IPv6 17549 0t0 TCP *:53 (LISTEN) pihole-FT 930 pihole 10u IPv4 18767 0t0 TCP 127.0.0.1:4711 (LISTEN) pihole-FT 930 pihole 11u IPv6 18769 0t0 TCP [::1]:4711 (LISTEN) io.admin. 1100 iobroker 25u IPv6 32647 0t0 TCP *:8081 (LISTEN) io.web.0 1770 iobroker 25u IPv6 36489 0t0 TCP *:8082 (LISTEN) io.shelly 3028 iobroker 25u IPv4 63284 0t0 TCP *:1886 (LISTEN) lighttpd 7586 root 4u IPv4 102500 0t0 TCP 127.0.0.1:30080 (LISTEN) ReGaHss.n 7674 root 3u IPv4 102895 0t0 TCP *:8183 (LISTEN) ReGaHss.n 7674 root 4u IPv4 106103 0t0 TCP *:31999 (LISTEN) io.hm-rpc 24433 iobroker 26u IPv4 311038 0t0 TCP 192.168.178.6:1024 (LISTEN)
-
@Michi_Pi schaut gut aus. Und über die 3er Ports läuft jetzt alles wieder? Und über die ohne 3 vorne nicht?
-
@foxriver76 nein leider nicht, war zwar grün und auch nur der hm-rpc.1 aber es wurden keine Daten von den Geräten empfangen.
hab jetzt mal den debug modus noch gestartethm-rpc.1 2020-01-23 21:20:30.251 error (32310) init error: Error: Unknown XML-RPC tag 'TITLE' hm-rpc.1 2020-01-23 21:20:30.238 debug (32310) xmlrpc -> 192.168.178.6:2010/ init ["http://127.0.0.1:2011","hm-rpc.1"] hm-rpc.0 2020-01-23 21:20:14.791 error (32275) init error: Error: Unknown XML-RPC tag 'TITLE' hm-rpc.0 2020-01-23 21:20:14.719 debug (32275) start connecting interval hm-rpc.0 2020-01-23 21:20:14.677 debug (32275) xmlrpc -> 192.168.178.6:2001/ init ["http://192.168.178.6:1024","hm-rpc.0"] hm-rpc.0 2020-01-23 21:20:14.674 debug (32275) Connect... hm-rpc.0 2020-01-23 21:20:14.668 info (32275) xmlrpc client is trying to connect to 192.168.178.6:2001/ with ["http://192.168.178.6:1024","hm-rpc.0"] hm-rpc.0 2020-01-23 21:20:14.665 info (32275) xmlrpc server is trying to listen on 192.168.178.6:1024 hm-rpc.1 2020-01-23 21:20:00.252 error (32310) init error: Error: Unknown XML-RPC tag 'TITLE' hm-rpc.1 2020-01-23 21:20:00.237 debug (32310) xmlrpc -> 192.168.178.6:2010/ init ["http://127.0.0.1:2011","hm-rpc.1"] hm-rpc.1 2020-01-23 21:19:30.261 error (32310) init error: Error: Unknown XML-RPC tag 'TITLE' hm-rpc.1 2020-01-23 21:19:30.237 debug (32310) xmlrpc -> 192.168.178.6:2010/ init ["http://127.0.0.1:2011","hm-rpc.1"] hm-rpc.1 2020-01-23 21:19:00.317 error (32310) init error: Error: Unknown XML-RPC tag 'TITLE' hm-rpc.1 2020-01-23 21:19:00.235 debug (32310) start connecting interval hm-rpc.1 2020-01-23 21:19:00.192 debug (32310) xmlrpc -> 192.168.178.6:2010/ init ["http://127.0.0.1:2011","hm-rpc.1"] hm-rpc.1 2020-01-23 21:19:00.189 debug (32310) Connect... hm-rpc.1 2020-01-23 21:19:00.183 info (32310) xmlrpc client is trying to connect to 192.168.178.6:2010/ with ["http://127.0.0.1:2011","hm-rpc.1"] hm-rpc.1 2020-01-23 21:19:00.181 info (32310) xmlrpc server is trying to listen on 127.0.0.1:2011 hm-rpc.1 2020-01-23 21:18:57.079 info (32310) [META] Meta data updated hm-rpc.1 2020-01-23 21:18:56.382 info (32310) starting. Version 1.12.1 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v10.18.1 hm-rpc.1 2020-01-23 21:18:55.777 debug (32310) States connected to redis: 127.0.0.1:9000 hm-rpc.1 2020-01-23 21:18:55.693 debug (32310) statesDB connected hm-rpc.1 2020-01-23 21:18:55.689 debug (32310) States create PubSub Client hm-rpc.1 2020-01-23 21:18:55.672 debug (32310) Objects connected to redis: 127.0.0.1:9001 hm-rpc.1 2020-01-23 21:18:55.662 debug (32310) Redis States: Use Redis connection: 127.0.0.1:9000 hm-rpc.1 2020-01-23 21:18:55.654 debug (32310) objectDB connected hm-rpc.1 2020-01-23 21:18:55.604 debug (32310) Objects client initialize lua scripts hm-rpc.1 2020-01-23 21:18:55.600 debug (32310) Objects create PubSub Client hm-rpc.1 2020-01-23 21:18:55.586 debug (32310) Objects client ready ... initialize now hm-rpc.1 2020-01-23 21:18:55.417 debug (32310) Redis Objects: Use Redis connection: 127.0.0.1:9001