DrozmotiX / ioBroker.tado

Tado cloud connector to control Tado devices
MIT License
24 stars 13 forks source link

Keine Neuinstallation möglich vom Adapter #826

Closed McR1983 closed 1 month ago

McR1983 commented 2 months ago

JsController 6.x nicht unterstützt?

Screenshot_20240623_115941_Firefox

Grothesk242 commented 2 months ago
echad@chet:~ $ iob update | grep -E 'tado|js-controller'
Controller "js-controller": 6.0.5    , installed 6.0.5
Adapter    "tado"         : 0.5.4    , installed 0.5.4
echad@chet:~ $ 

Funktioniert.

McR1983 commented 2 months ago
echad@chet:~ $ iob update | grep -E 'tado|js-controller'
Controller "js-controller": 6.0.5    , installed 6.0.5
Adapter    "tado"         : 0.5.4    , installed 0.5.4
echad@chet:~ $ 

Funktioniert.

Über iobroker? Oder manuell? Kein Update! Bei mir kam nach kompletter Deinstallation die Meldung vom Bild

Grothesk242 commented 2 months ago

Ich habe gerade mal spaßeshalber eine zweite Instanz tado.1 über den admin hinzugefügt. Kein Problem.

McR1983 commented 2 months ago

Ich habe gerade mal spaßeshalber eine zweite Instanz tado.1 über den admin hinzugefügt. Kein Problem.

Ja das kann sein... ich habe ja den Adapter komplett deinstalliert und dann neu installieren wollen...

Musste nun extra komplettes Backup zurück spielen

HGlab01 commented 2 months ago

Hallo,

bei mir klappt die Neuinstallation unter 6.0.5 mit Node 20.5.1 problemlos

Sowohl über Console

user@DEVICE:/mnt/c/Users/H$ iob update | grep -E 'tado|js-controller'
Controller "js-controller": 6.0.5    , installed 6.0.5

user@DEVICE:/mnt/c/Users/H$ iob install iobroker.tado
NPM version: 9.8.0
Installing iobroker.tado@0.5.4... (System call)

added 19 packages in 5s

76 packages are looking for funding
  run `npm fund` for details
host.DEVICE install adapter tado
upload [2] tado.admin /opt/iobroker/node_modules/iobroker.tado/admin/button.png button.png image/png
upload [1] tado.admin /opt/iobroker/node_modules/iobroker.tado/admin/jsonConfig.json jsonConfig.json application/json
upload [0] tado.admin /opt/iobroker/node_modules/iobroker.tado/admin/tado.png tado.png image/png
host.DEVICE object system.adapter.tado created/updated

user@DEVICE:/mnt/c/Users/H$ iob update | grep -E 'tado|js-controller'
Controller "js-controller": 6.0.5    , installed 6.0.5
Adapter    "tado"         : 0.5.4    , installed 0.5.4

user@DEVICE:/mnt/c/Users/H$ node -v
v20.5.1
user@DEVICE:/mnt/c/Users/H$

als auch nach erneuter Deinstallation über Admin-UI

2024-06-24 18:27:46.462 - info: host.DEVICE iobroker add tado auto --host LAPTOP-N0KJFISK --debug
2024-06-24 18:27:48.794 - info: host.DEVICE iobroker NPM version: 9.8.0
2024-06-24 18:27:48.796 - info: host.DEVICE iobroker Installing iobroker.tado@0.5.4... (System call)
2024-06-24 18:27:55.115 - info: host.DEVICE iobroker added 19 packages in 6s
2024-06-24 18:27:55.116 - info: host.DEVICE iobroker 76 packages are looking for funding run `npm fund` for details
2024-06-24 18:27:55.133 - info: host.DEVICE iobroker host.DEVICE install adapter tado
2024-06-24 18:27:55.157 - info: host.DEVICE iobroker upload [2] tado.admin /opt/iobroker/node_modules/iobroker.tado/admin/button.png button.png image/png
2024-06-24 18:27:55.163 - info: host.DEVICE iobroker upload [1] tado.admin /opt/iobroker/node_modules/iobroker.tado/admin/jsonConfig.json jsonConfig.json application/json
2024-06-24 18:27:55.167 - info: host.DEVICE iobroker upload [0] tado.admin /opt/iobroker/node_modules/iobroker.tado/admin/tado.png tado.png image/png
2024-06-24 18:27:55.188 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado created/updated
2024-06-24 18:27:55.211 - info: host.DEVICE iobroker host.DEVICE create instance tado
2024-06-24 18:27:55.214 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.alive created
2024-06-24 18:27:55.217 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.connected created
2024-06-24 18:27:55.221 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.compactMode created
2024-06-24 18:27:55.225 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.cpu created
2024-06-24 18:27:55.228 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.cputime created
2024-06-24 18:27:55.231 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.memHeapUsed created
2024-06-24 18:27:55.234 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.memHeapTotal created
2024-06-24 18:27:55.238 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.memRss created
2024-06-24 18:27:55.241 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.uptime created
2024-06-24 18:27:55.244 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.inputCount created
2024-06-24 18:27:55.248 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.outputCount created
2024-06-24 18:27:55.252 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.eventLoopLag created
2024-06-24 18:27:55.255 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.sigKill created
2024-06-24 18:27:55.258 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0.logLevel created
2024-06-24 18:27:55.262 - info: host.DEVICE iobroker host.DEVICE object tado.0.info created
2024-06-24 18:27:55.265 - info: host.DEVICE iobroker host.DEVICE object tado.0.info.connection created
2024-06-24 18:27:55.268 - info: host.DEVICE iobroker host.DEVICE Set default value of tado.0.info.connection: false
2024-06-24 18:27:55.273 - info: host.DEVICE iobroker host.DEVICE object system.adapter.tado.0 created
2024-06-24 18:27:56.318 - info: host.DEVICE iobroker exit 0
2024-06-24 18:27:58.623 - info: host.DEVICE instance system.adapter.tado.0 started with pid 6169
2024-06-24 18:27:59.596 - info: tado.0 (6169) starting. Version 0.5.4 in /opt/iobroker/node_modules/iobroker.tado, node: v20.5.1, js-controller: 6.0.5
2024-06-24 18:27:59.613 - info: tado.0 (6169) Started with JSON-Explorer version 0.1.15
2024-06-24 18:27:59.677 - error: tado.0 (6169) *** Adapter deactivated, credentials missing in Adaptper Settings !!! ***
2024-06-24 18:27:59.697 - info: host.DEVICE instance "system.adapter.tado.0" disabled via .alive
2024-06-24 18:27:59.700 - info: host.DEVICE "system.adapter.tado.0" disabled
2024-06-24 18:27:59.700 - info: host.DEVICE stopInstance system.adapter.tado.0 (force=false, process=true)
2024-06-24 18:27:59.703 - info: tado.0 (6169) Got terminate signal TERMINATE_YOURSELF
2024-06-24 18:27:59.704 - info: tado.0 (6169) cleaned everything up...
2024-06-24 18:27:59.704 - info: tado.0 (6169) terminating
2024-06-24 18:27:59.705 - info: tado.0 (6169) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-06-24 18:27:59.760 - info: host.DEVICE stopInstance system.adapter.tado.0 send kill signal
2024-06-24 18:28:00.206 - info: tado.0 (6169) terminating
2024-06-24 18:28:00.251 - info: host.DEVICE instance system.adapter.tado.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
McR1983 commented 2 months ago

Komisch, ich bekomme das Fenster eingeblendet... Bei Node 18 und Docker.

Zusätzliche Instanz geht auch ohne Probleme..Traue mich gar nicht zu testen komplett zu deinstallieren...

Grothesk242 commented 2 months ago

Is das ein Master/Slave-Setup da?

McR1983 commented 2 months ago

Nein, hatte ich aber vorher mal... Redis habe ich aber.

Grothesk242 commented 2 months ago

Ich kenne das mit dem angeblich fehlenden js-controller immer aus der Konstellation Master/Slave. Schau dir die Ausgabe von iob diag an. Vielleicht steht da was erhellendes drin. Das ganze ist aber mit ziemlicher Sicherheit kein Thema des Adapters.

McR1983 commented 2 months ago

Ich kenne das mit dem angeblich fehlenden js-controller immer aus der Konstellation Master/Slave. Schau dir die Ausgabe von iob diag an. Vielleicht steht da was erhellendes drin. Das ganze ist aber mit ziemlicher Sicherheit kein Thema des Adapters.

Hier der Auszug :-) iob diag.txt

Grothesk242 commented 2 months ago

Lösch mal den admin.1 Der hat den nicht mehr existenten Slave im Beutel, denke ich.

Und den info-Adapter auch raushauen, der wird nicht mehr gepflegt.

McR1983 commented 2 months ago

Lösch mal den admin.1 Der hat den nicht mehr existenten Slave im Beutel, denke ich.

Und den info-Adapter auch raushauen, der wird nicht mehr gepflegt.

Erledigt iob diag neu.txt

Grothesk242 commented 2 months ago

Nö, die laufen beide noch...

+ system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8080, bind: 0.0.0.0, run as: admin
+ system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
McR1983 commented 2 months ago

Nö, die laufen beide noch...

+ system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8080, bind: 0.0.0.0, run as: admin
+ system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin

Achso ja ich brauche beide! Habe den aber neu installiert.. sorry

Grothesk242 commented 2 months ago

Wozu braucht man zwei Admin-Instanzen?

McR1983 commented 2 months ago

Wozu braucht man zwei Admin-Instanzen?

Einer ist für interne Kommunikation der andere ist für externe. Also der .0 ohne https und Auth der andere .1 mit https und Auth. Dann wird der 1er mit Reverse Proxy in der Syno mit Lets Encrypt Zertifikat der Syno im Browser erkannt :-) Und der 0er ist das Fallback fürs Heimnetz. Der 1er dann mit Vis usw extern

War die einfachste Lösung für ein Sicheres Zertifikat und Anmeldung extern, für web und vis usw.

Grothesk242 commented 2 months ago

??? Nutz doch einen für alles? Construction from hell... Jedenfalls dürfte das Konstrukt in der Form zu genau dem hier beobachteten Verhalten führen.

Den admin würde ich so oder so NIE nach draußen stellen.

McR1983 commented 2 months ago

??? Nutz doch einen für alles? Construction from hell... Jedenfalls dürfte das Konstrukt in der Form zu genau dem hier beobachteten Verhalten führen.

Kam warscheinlich damals aus der not heraus, da ich erst direkt versucht hatte mit Lets.. das hinzubekommen, dann mich aber mehrfach ausgesperrt hatte :-)

Naja wieso, der Admin ist nur über einen anderen Port über ReverseProxy der Syno mit anderem freien Port mit Https und Anmeldung erreichbar... Keine lust auf ständiges VPN am Handy...

McR1983 commented 1 month ago

Mit der 0.5.5 gehts auf jeden Fall. Habe aber auch jetzt aufgeräumt und auch nur einen Admin installiert....