Ja, das sind gute Tipps. Ich da eher noch Anfänger.
Und vielen Dank für die schnelle Hilfe.
Und nochmals sorry für meinen Fauxpas...
Gruß,
Marko
Ja, das sind gute Tipps. Ich da eher noch Anfänger.
Und vielen Dank für die schnelle Hilfe.
Und nochmals sorry für meinen Fauxpas...
Gruß,
Marko
Ja, das sind gute Tipps. Ich da eher noch Anfänger.
Und vielen Dank für die schnelle Hilfe.
Und nochmals sorry für meinen Fauxpas...
Gruß,
Marko
Okay, da hat der Adapter ein falsches Passwort angemeckert. Ich habe das Passwort nochmal reinkopiert und den Adapter neu gestartet.
Danach sind die Devices aufgetaucht.
Aber wie konnte der Adapter dann grün werden...?
@glasfaser ```
/*
await lupusecAsync.deviceGet();
/
await lupusecAsync.deviceListGet();
await lupusecAsync.devicePSSListGet();
await lupusecAsync.panelCondGet();
await lupusecAsync.deviceListUPICGet();
await lupusecAsync.deviceEditAllGet();
await lupusecAsync.deviceAllGet();
await lupusecAsync.logsGetPost();
if (adapter.config.webcam_providing) await lupusecAsync.getWebcamSnapshots();
}
2024-01-07 00:12:55.380 - debug: lupusec.0 (1089) Process: {"key":1704582738600,"functname":"async () => {\n /\n await lupusecAsync.deviceGet();\n /\n await lupusecAsync.deviceListGet();\n await lupusecAsync.devicePSSListGet();\n await lupusecAsync.panelCondGet();\n await lupusecAsync.deviceListUPICGet();\n await lupusecAsync.deviceEditAllGet();\n await lupusecAsync.deviceAllGet();\n await lupusecAsync.logsGetPost();\n if (adapter.config.webcam_providing) await lupusecAsync.getWebcamSnapshots();\n }","loop":true,"time":0,"localtime":1704582774369}
2024-01-07 00:12:56.389 - debug: lupusec.0 (1089) Process Queue: [{"key":1704582738600,"functname":"async () => {\n /\n await lupusecAsync.deviceGet();\n /\n await lupusecAsync.deviceListGet();\n await lupusecAsync.devicePSSListGet();\n await lupusecAsync.panelCondGet();\n await lupusecAsync.deviceListUPICGet();\n await lupusecAsync.deviceEditAllGet();\n await lupusecAsync.deviceAllGet();\n await lupusecAsync.logsGetPost();\n if (adapter.config.webcam_providing) await lupusecAsync.getWebcamSnapshots();\n }","loop":true,"time":0,"localtime":1704582775379}]
2024-01-07 00:12:56.389 - debug: lupusec.0 (1089) Function: async () => {
/
await lupusecAsync.deviceGet();
/
await lupusecAsync.deviceListGet();
await lupusecAsync.devicePSSListGet();
await lupusecAsync.panelCondGet();
await lupusecAsync.deviceListUPICGet();
await lupusecAsync.deviceEditAllGet();
await lupusecAsync.deviceAllGet();
await lupusecAsync.logsGetPost();
if (adapter.config.webcam_providing) await lupusecAsync.getWebcamSnapshots();
}
2024-01-07 00:12:56.390 - debug: lupusec.0 (1089) Process: {"key":1704582738600,"functname":"async () => {\n /\n await lupusecAsync.deviceGet();\n /\n await lupusecAsync.deviceListGet();\n await lupusecAsync.devicePSSListGet();\n await lupusecAsync.panelCondGet();\n await lupusecAsync.deviceListUPICGet();\n await lupusecAsync.deviceEditAllGet();\n await lupusecAsync.deviceAllGet();\n await lupusecAsync.logsGetPost();\n if (adapter.config.webcam_providing) await lupusecAsync.getWebcamSnapshots();\n }","loop":true,"time":0,"localtime":1704582775379}
2024-01-07 00:12:57.398 - debug: lupusec.0 (1089) Process Queue: [{"key":1704582738600,"functname":"async () => {\n /\n await lupusecAsync.deviceGet();\n /\n await lupusecAsync.deviceListGet();\n await lupusecAsync.devicePSSListGet();\n await lupusecAsync.panelCondGet();\n await lupusecAsync.deviceListUPICGet();\n await lupusecAsync.deviceEditAllGet();\n await lupusecAsync.deviceAllGet();\n await lupusecAsync.logsGetPost();\n if (adapter.config.webcam_providing) await lupusecAsync.getWebcamSnapshots();\n }","loop":true,"time":0,"localtime":1704582776389}]
2024-01-07 00:12:57.398 - debug: lupusec.0 (1089) Function: async () => {
/
await lupusecAsync.deviceGet();
*/
await lupusecAsync.deviceListGet();
await lupusecAsync.devicePSSListGet();
await lupusecAsync.panelCondGet();
await lupusecAsync.deviceListUPICGet();
await lupusecAsync.deviceEditAllGet();
await lupusecAsync.deviceAllGet();
await lupusecAsync.logsGetPost();
if (adapter.config.webcam_providing) await lupusecAsync.getWebcamSnapshots();
}
Okay, jetzt ist der Adapter zumindest schon mal grün - und bleibt es auch...
Was war das jetzt..?
Aber unter den Objekten tauchen die Devices nicht auf. Hast du da eine Idee..?
@glasfaser ```
mkreu@ct-iobroker01:~$ ls -la /bin/ping
-rwxr-xr-x 1 root root 90568 Nov 27 2022 /bin/ping
mkreu@ct-iobroker01:~$
Ich hab ja einen User "mkreu" angelegt. Nur da fehlt es mir irgendwie noch an Rechten...
Dann brauche ich ein sudo zum pingen...
Sorry, ich bin nicht wirklich der Held in Linux...
Ja, ich pinge direkt aus der VM bzw. von dem LXC-Container...
Kann ich mich mit dem User iobroker anmelden..?
root@ct-iobroker01:/home/mkreu# ping 192.168.140.22
PING 192.168.140.22 (192.168.140.22) 56(84) bytes of data.
64 bytes from 192.168.140.22: icmp_seq=1 ttl=63 time=1.81 ms
64 bytes from 192.168.140.22: icmp_seq=2 ttl=63 time=2.25 ms
64 bytes from 192.168.140.22: icmp_seq=3 ttl=63 time=1.74 ms
64 bytes from 192.168.140.22: icmp_seq=4 ttl=63 time=0.781 ms
64 bytes from 192.168.140.22: icmp_seq=5 ttl=63 time=2.08 ms
64 bytes from 192.168.140.22: icmp_seq=6 ttl=63 time=1.68 ms
64 bytes from 192.168.140.22: icmp_seq=7 ttl=63 time=1.56 ms
64 bytes from 192.168.140.22: icmp_seq=8 ttl=63 time=1.86 ms
64 bytes from 192.168.140.22: icmp_seq=9 ttl=63 time=2.27 ms
64 bytes from 192.168.140.22: icmp_seq=10 ttl=63 time=1.22 ms
^C
--- 192.168.140.22 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9039ms
rtt min/avg/max/mdev = 0.781/1.724/2.273/0.435 ms
root@ct-iobroker01:/home/mkreu#
Hier der Log-Auszug:
2024-01-06 23:40:48.432 - info: host.ct-iobroker01 "system.adapter.lupusec.0" enabled
2024-01-06 23:40:48.495 - info: host.ct-iobroker01 instance system.adapter.lupusec.0 started with pid 930
2024-01-06 23:40:49.921 - debug: lupusec.0 (930) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-01-06 23:40:49.944 - debug: lupusec.0 (930) Objects client ready ... initialize now
2024-01-06 23:40:49.946 - debug: lupusec.0 (930) Objects create System PubSub Client
2024-01-06 23:40:49.948 - debug: lupusec.0 (930) Objects create User PubSub Client
2024-01-06 23:40:49.964 - debug: lupusec.0 (930) Objects client initialize lua scripts
2024-01-06 23:40:49.971 - debug: lupusec.0 (930) Objects connected to redis: 127.0.0.1:9001
2024-01-06 23:40:49.987 - debug: lupusec.0 (930) Redis States: Use Redis connection: 127.0.0.1:9000
2024-01-06 23:40:49.995 - debug: lupusec.0 (930) States create System PubSub Client
2024-01-06 23:40:49.996 - debug: lupusec.0 (930) States create User PubSub Client
2024-01-06 23:40:50.005 - debug: lupusec.0 (930) States connected to redis: 127.0.0.1:9000
2024-01-06 23:40:50.033 - debug: lupusec.0 (930) Plugin sentry Do not initialize Plugin (enabled=false)
2024-01-06 23:40:50.040 - debug: lupusec.0 (930) Plugin sentry destroyed because not initialized correctly
2024-01-06 23:40:50.138 - info: lupusec.0 (930) starting. Version 1.3.6 in /opt/iobroker/node_modules/iobroker.lupusec, node: v18.19.0, js-controller: 5.0.17
2024-01-06 23:40:50.157 - info: lupusec.0 (930) Starting Adapter lupusec.0 in version 1.3.6
2024-01-06 23:40:50.205 - error: lupusec.0 (930) Lupusec Alarmsystem 192.168.140.22 is not reachable
2024-01-06 23:40:50.206 - info: lupusec.0 (930) Terminated (ADAPTER_REQUESTED_TERMINATION): Not reachable
2024-01-06 23:40:50.755 - info: host.ct-iobroker01 instance system.adapter.lupusec.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
2024-01-06 23:40:50.756 - info: host.ct-iobroker01 Do not restart adapter system.adapter.lupusec.0 because desired by instance
Ich hoffe, ich hab's richtig gemacht...
@glasfaser
Ja, mir aber nicht. Ich wollte das nicht. Das war einfach eine dumme Fehlbedienung...
zum Thema:
Parallele Verbindungen sollten funktionieren. Ich habe aber auch den Adapter auf dem "alten" System deaktiviert. Hat nichts gebracht.
Ich habe die Lupusec und den ioBroker auch rebootet. Keine Änderung.
Und wie gesagt, von der Konsole des ioBrokers kann ich die Lupusec anpingen. Die Firewall ist auch korrekt freigeschaltet.
Zum Test, dass mir nicht die Firewall in die Suppe spuckt, habe ich die Lupusec auch mal in das gleiche Subnetz geschaltet, in dem auch die beiden ioBroker hängen...