NEWS
Xiaomi Smartmi Air Humidifier2
-
@maxim-777 Hast du nodemi-home denn jetzt auch im javascript-Adapter eingetragen?
-
@thomas-braun Ja, habe ich gemacht...
-
@maxim-777
Hier läuft's.
Musst du @Pittini Mal fragen. -
@pittini Habe jetzt komplett neu raspi+ Iobroker installiert dann Javascript + im Javascript Adapter als Zusatzmodul eingetragen "node-mihome" und setObject zugelassen, dann Adapter gestartet LOG:
javascript.0 2021-04-22 22:01:02.599 info (12087) received all states javascript.0 2021-04-22 22:01:02.586 info (12087) received all objects javascript.0 2021-04-22 22:01:02.310 info (12087) requesting all objects javascript.0 2021-04-22 22:01:02.308 info (12087) requesting all states javascript.0 2021-04-22 22:01:02.197 info (12087) starting. Version 5.0.14 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-04-22 22:00:59.620 info instance system.adapter.javascript.0 started with pid 12087 host.raspberrypi 2021-04-22 22:00:59.542 info "system.adapter.javascript.0" enabled host.raspberrypi 2021-04-22 22:00:26.175 info instance system.adapter.javascript.0 terminated with code 0 (NO_ERROR) javascript.0 2021-04-22 22:00:25.627 info (12009) Terminated (NO_ERROR): Without reason javascript.0 2021-04-22 22:00:25.623 info (12009) terminating javascript.0 2021-04-22 22:00:25.609 info (12009) Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2021-04-22 22:00:25.607 info stopInstance system.adapter.javascript.0 send kill signal javascript.0 2021-04-22 22:00:25.588 info (12009) Stop script script.js.Test host.raspberrypi 2021-04-22 22:00:25.587 info stopInstance system.adapter.javascript.0 (force=false, process=true) host.raspberrypi 2021-04-22 22:00:25.585 info "system.adapter.javascript.0" disabled javascript.0 2021-04-22 22:00:25.583 info (12009) Adapter is disabled => stop javascript.0 2021-04-22 22:00:03.153 info (12009) script.js.Test: Setting trigger #0 for deerma.humidifier.jsq javascript.0 2021-04-22 22:00:03.153 info (12009) script.js.Test: Init Device# 0 - device="deerma.humidifier.jsq" javascript.0 2021-04-22 22:00:02.745 info (12009) script.js.Test: Created device {"_events":{},"_eventsCount":0,"_maxListeners":100,"id":"239969578","address":"192.168.178.63","token":"47555d87e284070b8920da3b129e1ede","protocol":"local","re javascript.0 2021-04-22 22:00:02.741 info (12009) script.js.Test: Now creating device for deerma.humidifier.jsq / 239969578 / 192.168.178.63 / 47555d87e284070b8920da3b129e1ede / 10000 javascript.0 2021-04-22 22:00:02.712 info (12009) script.js.Test: Device Mi Smart Antibacterial Humidifier is supported, creating DataPoints javascript.0 2021-04-22 22:00:02.711 info (12009) script.js.Test: Now searching for supported Devices... javascript.0 2021-04-22 22:00:02.710 info (12009) script.js.Test: RoboCop javascript.0 2021-04-22 22:00:02.709 info (12009) script.js.Test: Mi Smart Antibacterial Humidifier javascript.0 2021-04-22 22:00:02.708 info (12009) script.js.Test: Found 2 MiHome Devices, those are: javascript.0 2021-04-22 22:00:02.581 info (12009) script.js.Test: Retrieving your in de registered MiHome Devices javascript.0 2021-04-22 21:59:59.885 info (12009) script.js.Test: registered 0 subscriptions and 0 schedules javascript.0 2021-04-22 21:59:59.838 info (12009) script.js.Test: Starting AllMyMi V.0.2.11 javascript.0 2021-04-22 21:59:59.657 info (12009) Start javascript script.js.Test javascript.0 2021-04-22 21:59:59.551 info (12009) received all states javascript.0 2021-04-22 21:59:59.547 info (12009) received all objects javascript.0 2021-04-22 21:59:59.285 info (12009) requesting all objects javascript.0 2021-04-22 21:59:59.284 info (12009) requesting all states javascript.0 2021-04-22 21:59:59.162 info (12009) starting. Version 5.0.14 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-04-22 21:59:56.524 info instance system.adapter.javascript.0 started with pid 12009 host.raspberrypi 2021-04-22 21:59:54.000 info instance system.adapter.javascript.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) javascript.0 2021-04-22 21:59:53.443 info (11958) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason javascript.0 2021-04-22 21:59:53.440 info (11958) terminating
Dann folgende Befehl ausgeführt:
und danach Adapter neue gestartet, gleiche Fehler Log wie vorher
-
@maxim-777 Hmm, die letzte Zeile aus dem Screenshot sagts, er findet node-mihome nicht. Sorry, das is Systemebene, wenn alles gemacht wurde wie Du sagst, weis ich auch nicht weiter, auffällig ist dass die meisten mit ähnlichen Problemen nen raspi verwenden. Ich hab aber keine Ahnung was da anders ist. Vielleicht haz @Dutchman ne Idee, ich muß passen an der Stelle, ich kanns auch nicht testen weil ich keinen raspi verwende.
-
@pittini welche Betriebssystem verwendest du?
-
@maxim-777
Hast du dieses Verzeichnis?/opt/iobroker/node_modules/node-mihome
-
@thomas-braun ich schaue abends nach... bin gerade bei der Arbeit
-
@maxim-777
Jedenfalls muss der iobroker-Adapter iobroker.mihome installiert sein. -
@thomas-braun du meinst diese Adapter?
-
@maxim-777 Ja. Auf den setzt das skript auf.
-
@thomas-braun aha, den habe ich nicht installiert probiere ich abends. Danke für dein Tipp
-
@thomas-braun mal blöde frage: muss "Xiaomi MiHome Gateway" Adapter grün leuchten? Brauche ich dafür ein MiHome Gateway??
Nach den Installation "Xiaomi MiHome Gateway" Adapter habe ich folgende LOG (keine Fehler mehr, aber trotzdem keine werte):
javascript.0 2021-04-23 21:52:48.525 info (8102) script.js.Test: Setting trigger #0 for deerma.humidifier.jsq javascript.0 2021-04-23 21:52:48.524 info (8102) script.js.Test: Init Device# 0 - device="deerma.humidifier.jsq" javascript.0 2021-04-23 21:52:48.093 info (8102) script.js.Test: Created device {"_events":{},"_eventsCount":0,"_maxListeners":100,"id":"239969578","address":"192.168.178.63","token":"47555d87e284070b8920da3b129e1ede","protocol":"local","refr javascript.0 2021-04-23 21:52:48.089 info (8102) script.js.Test: Now creating device for deerma.humidifier.jsq / 239969578 / 192.168.178.63 / 47555d87e284070b8920da3b129e1ede / 10000 javascript.0 2021-04-23 21:52:48.058 info (8102) script.js.Test: Device Mi Smart Antibacterial Humidifier is supported, creating DataPoints javascript.0 2021-04-23 21:52:48.057 info (8102) script.js.Test: Now searching for supported Devices... javascript.0 2021-04-23 21:52:48.056 info (8102) script.js.Test: RoboCop javascript.0 2021-04-23 21:52:48.054 info (8102) script.js.Test: Mi Smart Antibacterial Humidifier javascript.0 2021-04-23 21:52:48.053 info (8102) script.js.Test: Found 2 MiHome Devices, those are: javascript.0 2021-04-23 21:52:47.907 info (8102) script.js.Test: Retrieving your in de registered MiHome Devices javascript.0 2021-04-23 21:52:45.084 info (8102) script.js.Test: registered 0 subscriptions and 0 schedules javascript.0 2021-04-23 21:52:45.036 info (8102) script.js.Test: Starting AllMyMi V.0.2.11 javascript.0 2021-04-23 21:52:44.865 info (8102) Start javascript script.js.Test javascript.0 2021-04-23 21:52:44.800 info (8102) received all states javascript.0 2021-04-23 21:52:44.795 info (8102) received all objects javascript.0 2021-04-23 21:52:44.523 info (8102) requesting all objects javascript.0 2021-04-23 21:52:44.521 info (8102) requesting all states javascript.0 2021-04-23 21:52:44.408 info (8102) starting. Version 5.0.14 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-04-23 21:52:41.793 info instance system.adapter.javascript.0 started with pid 8102 host.raspberrypi 2021-04-23 20:52:39.294 info instance system.adapter.javascript.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) javascript.0 2021-04-23 20:52:38.693 info (7866) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason javascript.0 2021-04-23 20:52:38.691 info (7866) terminating javascript.0 2021-04-23 20:52:38.677 info (7866) Stop script script.js.Test
-
@maxim-777
Ich habe beides. Also ein Gateway und einen grün leuchtenden Adapter.Ich weiß aber nicht wie weit die Unterstützung durch das Skript für die Hardware gehen sollte.
-
@thomas-braun ach... dann geht es ohne Gateway wahrscheinlich nicht
-
@maxim-777 Das kann ich dir nicht sagen.
Wobei das Gateway eigentlich nur für Zigbee-Komponenten erforderlich sein sollte. Die Wifi-Geräte kommen ja darüber in das Netz. -
@maxim-777 sagte in Xiaomi Smartmi Air Humidifier2:
@thomas-braun ach... dann geht es ohne Gateway wahrscheinlich nicht
Weder braucht man ein Gateway, noch den MiHome Adapter. Das Skript setzt viel früher an, und meldet sich selber an der Cloud an, bzw. die node-mihome, daran liegts nicht das is mal sicher.
-
@pittini Guten Abend,
hab gerade noch mal "node-mihome" installiert, jetzt bekomme ich keine Fehler in log, aber immer noch keine Werte in Datenpunkte, mal ne Idee?javascript.0 2021-04-25 21:41:19.221 info (1688) script.js.Test: Setting trigger #0 for deerma.humidifier.jsq javascript.0 2021-04-25 21:41:19.220 info (1688) script.js.Test: Init Device# 0 - device="deerma.humidifier.jsq" javascript.0 2021-04-25 21:41:18.837 info (1688) script.js.Test: Created device {"_events":{},"_eventsCount":0,"_maxListeners":100,"id":"239969578","address":"192.168.178.63","token":"eb8d9d423828ac5240b14c348142c5ff","protocol":"local","refr javascript.0 2021-04-25 21:41:18.834 info (1688) script.js.Test: Now creating device for deerma.humidifier.jsq / 239969578 / 192.168.178.63 / eb8d9d423828ac5240b14c348142c5ff / 10000 javascript.0 2021-04-25 21:41:18.805 info (1688) script.js.Test: Device Mi Smart Antibacterial Humidifier is supported, creating DataPoints javascript.0 2021-04-25 21:41:18.805 info (1688) script.js.Test: Now searching for supported Devices... javascript.0 2021-04-25 21:41:18.804 info (1688) script.js.Test: RoboCop javascript.0 2021-04-25 21:41:18.803 info (1688) script.js.Test: Mi Smart Antibacterial Humidifier javascript.0 2021-04-25 21:41:18.801 info (1688) script.js.Test: Found 2 MiHome Devices, those are: javascript.0 2021-04-25 21:41:18.645 info (1688) script.js.Test: Retrieving your in de registered MiHome Devices javascript.0 2021-04-25 21:41:15.918 info (1688) script.js.Test: registered 0 subscriptions and 0 schedules javascript.0 2021-04-25 21:41:15.871 info (1688) script.js.Test: Starting AllMyMi V.0.2.11 javascript.0 2021-04-25 21:41:15.597 info (1688) Start javascript script.js.Test javascript.0 2021-04-25 21:41:15.533 info (1688) received all states javascript.0 2021-04-25 21:41:15.529 info (1688) received all objects javascript.0 2021-04-25 21:41:15.252 info (1688) requesting all objects javascript.0 2021-04-25 21:41:15.250 info (1688) requesting all states javascript.0 2021-04-25 21:41:15.137 info (1688) starting. Version 5.1.3 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-04-25 20:41:12.283 info instance system.adapter.javascript.0 started with pid 1688 host.raspberrypi 2021-04-25 20:41:09.856 info instance system.adapter.javascript.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) javascript.0 2021-04-25 20:41:09.252 info (1537) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason javascript.0 2021-04-25 20:41:09.249 info (1537) terminating javascript.0 2021-04-25 20:41:09.243 info (1537) Stop script script.js.Test
-
@maxim-777 Wenn Du node-mihome neuinstallierst, must Du die deerma.humidifier.jsq.js aus meinem Git Verzeichnis da wieder reinkopieren.
-
wie kann ich die "node-mihome" nochmal installieren?
wird das nicht automatisch erledigt wenn ich das modul im js adapter eintrage?