NEWS
js-controller 3.3 jetzt im Beta
-
@apollon77 sagte in js-controller 3.3 jetzt im Beta:
@diginix sagte in js-controller 3.3 jetzt im Beta:
Und beim statistics kommt alles als boolean obwohl es number sein müsste.
ok, da bitte log posten ... so nen fehler hab ich egrade nicht auf dem radar dort. ggf mal Objekte löschen !!
Das ist immer die letzte und schlechteste Variante. Denn statistics hat man idR weil man Werte erfasst und historisch mitmeiselt. Wenn ich die Objekte lösche, gehen auch alle influx/history Einstellungen verloren.
Ein Adapter sollte in der Lage sein den Datentyp usw. seiner Objekte on-the-fly glatt zu ziehen.
Ich schau mir das mal bei Gelegenheit an ob der Typ vom Objekt oder im Adapter Code falsch ist.@diginix sagte in js-controller 3.3 jetzt im Beta:
Das ist immer die letzte und schlechteste Variante. Denn statistics hat man idR weil man Werte erfasst und historisch mitmeiselt. Wenn ich die Objekte lösche, gehen auch alle influx/history Einstellungen verloren.
Ich habe das gleiche Problem (siehe oben) Das ist aber grundsätzlich nicht sooo schlimm. OK, dir fehlen ein paar Minuten wenn du die Objekte neu generieren lässt. In InfluxDB oder so, wird aber danach der gleiche DP Name wieder angelegt, sobald du den Harken gesetzt hast.
In einem Grafana Grafik Trend hast du dann kurz eine "Flat Line" drin. Das sollte nicht soo schlimm sein. Wir dokumentieren hier ja keine Temperaturen von Impfstoff Kühlschränken ;)
Grundsätzlich stimme ich dir zu. Gerade wenn man sehr viele Datenbank Einträge aus den Objekten generiert, vergisst man nach einer Adapter Neu Anlage schonmal den einen oder anderen Harken zu setzen.
-
Roomba funktioniert noch nicht - Innogy schon.
roomba.0 2021-07-16 17:17:09.743 info (15004) State value to set for "roomba.0.statistics.missions.failed" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.743 info (15004) State value to set for "roomba.0.statistics.missions.succeed" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.742 info (15004) State value to set for "roomba.0.statistics.missions.total" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.742 info (15004) State value to set for "roomba.0.statistics.time.nDocks" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.742 info (15004) State value to set for "roomba.0.statistics.time.nNimhChrg" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.741 info (15004) State value to set for "roomba.0.statistics.time.nLithChrg" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.741 info (15004) State value to set for "roomba.0.statistics.time.estCap" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.740 info (15004) State value to set for "roomba.0.statistics.time.nAvail" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.740 info (15004) State value to set for "roomba.0.statistics.time.avgMin" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.739 info (15004) State value to set for "roomba.0.states.battery" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.737 info (15004) State value to set for "roomba.0.device.versions.hardwareRev" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.736 info (15004) State value to set for "roomba.0.device.network.dhcp" has to be type "string" but received type "boolean" roomba.0 2021-07-16 17:17:09.735 info (15004) State value to set for "roomba.0.commands.last.timestamp" has to be type "string" but received type "number"@jb_sullivan Kommt davon wenn die GitHub issues unvollstndig sind .... grmpf ... ja heute abend mach ich noch ne Runde. Melde mich
-
ja, die neuste Version und nochmal von GitHub geholt und getestet.
021-07-16 17:25:23.374 - info: rpi2.0 (4929) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v14.17.2, js-controller: 3.3.14 2021-07-16 17:25:24.159 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load1" has to be type "number" but received type "string" 2021-07-16 17:25:24.163 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load5" has to be type "number" but received type "string" 2021-07-16 17:25:24.165 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load15" has to be type "number" but received type "string" 2021-07-16 17:25:24.189 - warn: rpi2.0 (4929) State "rpi2.0.raspberry.cpu_voltage" has no existing object, this might lead to an error in future versions 2021-07-16 17:25:24.191 - warn: rpi2.0 (4929) State "rpi2.0.raspberry.mem_arm" has no existing object, this might lead to an error in future versions 2021-07-16 17:25:24.192 - warn: rpi2.0 (4929) State "rpi2.0.raspberry.mem_gpu" has no existing object, this might lead to an error in future versions 2021-07-16 17:25:30.180 - info: info.0 (2978) State value to set for "info.0.sysinfo.cpu.currentspeed.coresSpeed" has to be stringified but received type "object" 2021-07-16 17:25:32.128 - info: info.0 (2978) State value to set for "info.0.sysinfo.cpu.temperature.cores" has to be stringified but received type "object" 2021-07-16 17:26:23.753 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load1" has to be type "number" but received type "string" 2021-07-16 17:26:23.755 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load5" has to be type "number" but received type "string" 2021-07-16 17:26:23.756 - info: rpi2.0 (4929) State value to set for "rpi2.0.cpu.load15" has to be type "number" but received type "string" -
Roomba funktioniert noch nicht - Innogy schon.
roomba.0 2021-07-16 17:17:09.743 info (15004) State value to set for "roomba.0.statistics.missions.failed" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.743 info (15004) State value to set for "roomba.0.statistics.missions.succeed" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.742 info (15004) State value to set for "roomba.0.statistics.missions.total" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.742 info (15004) State value to set for "roomba.0.statistics.time.nDocks" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.742 info (15004) State value to set for "roomba.0.statistics.time.nNimhChrg" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.741 info (15004) State value to set for "roomba.0.statistics.time.nLithChrg" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.741 info (15004) State value to set for "roomba.0.statistics.time.estCap" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.740 info (15004) State value to set for "roomba.0.statistics.time.nAvail" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.740 info (15004) State value to set for "roomba.0.statistics.time.avgMin" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.739 info (15004) State value to set for "roomba.0.states.battery" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.737 info (15004) State value to set for "roomba.0.device.versions.hardwareRev" has to be type "string" but received type "number" roomba.0 2021-07-16 17:17:09.736 info (15004) State value to set for "roomba.0.device.network.dhcp" has to be type "string" but received type "boolean" roomba.0 2021-07-16 17:17:09.735 info (15004) State value to set for "roomba.0.commands.last.timestamp" has to be type "string" but received type "number"@jb_sullivan Mach mir bitte mitt dem Log ein GitHub Issue für später damits nicht runterfällt
-
@apollon77 sagte in js-controller 3.3 jetzt im Beta:
@diginix sagte in js-controller 3.3 jetzt im Beta:
Und beim statistics kommt alles als boolean obwohl es number sein müsste.
ok, da bitte log posten ... so nen fehler hab ich egrade nicht auf dem radar dort. ggf mal Objekte löschen !!
Das ist immer die letzte und schlechteste Variante. Denn statistics hat man idR weil man Werte erfasst und historisch mitmeiselt. Wenn ich die Objekte lösche, gehen auch alle influx/history Einstellungen verloren.
Ein Adapter sollte in der Lage sein den Datentyp usw. seiner Objekte on-the-fly glatt zu ziehen.
Ich schau mir das mal bei Gelegenheit an ob der Typ vom Objekt oder im Adapter Code falsch ist.@diginix sagte in js-controller 3.3 jetzt im Beta:
Ein Adapter sollte in der Lage sein den Datentyp usw. seiner Objekte on-the-fly glatt zu ziehen.
Ja das könnte er, aber die meisten sind dafür nicht vorbereitet und wenn Sie das tun würden gäbe es ggf andere probleme wie "Hohe I/O weil ständig Objekte neu geschrieben werden". Haben wir auf dem Zettel da was zu überlegen
-
@diginix sagte in js-controller 3.3 jetzt im Beta:
Das ist immer die letzte und schlechteste Variante. Denn statistics hat man idR weil man Werte erfasst und historisch mitmeiselt. Wenn ich die Objekte lösche, gehen auch alle influx/history Einstellungen verloren.
Ich habe das gleiche Problem (siehe oben) Das ist aber grundsätzlich nicht sooo schlimm. OK, dir fehlen ein paar Minuten wenn du die Objekte neu generieren lässt. In InfluxDB oder so, wird aber danach der gleiche DP Name wieder angelegt, sobald du den Harken gesetzt hast.
In einem Grafana Grafik Trend hast du dann kurz eine "Flat Line" drin. Das sollte nicht soo schlimm sein. Wir dokumentieren hier ja keine Temperaturen von Impfstoff Kühlschränken ;)
Grundsätzlich stimme ich dir zu. Gerade wenn man sehr viele Datenbank Einträge aus den Objekten generiert, vergisst man nach einer Adapter Neu Anlage schonmal den einen oder anderen Harken zu setzen.
@jb_sullivan Na macht doch mal einen Admin Feature Request für "custom import/export" ... das wäre doch Eure Lösung
-
Hey All,
so es war ein langer weg. Ich habe die letzten Woche fast nur Adapter gefixt wegen der js-controller 3.3 Warnungen. Alle Adapter die irgendwie zur ioBroker Orga oder Adapter-Community gehören von denen ich es weiss sind gefixt (Alle, fast alle ... siehe nächster Absatz...). Daher bitte aktualisiert mal auf aktuellste Latest und setzt die Error level wieder auf info und sagt was noch ist bitte. Bitte im Zweifel mal die Adapterobjekte löschen und neu anlegen lassen
Noch bekannte Themen:
- sonoff braucht Bluefox Infos. bitte hier schauen wer noch Meldungen hat und melden!
- statistics gibts noch eine offene zu klärende Frage, kann also auch noch Meldungen bei "avg" geben. Auch hier "bester" Stand ist GitHub, aber an sich ausser dem einen Thema soweit bestätigt
- rpi2: Bitte mal GitHub Version checken, weil da noch andere Dinge drin sind und sagen ob noch alles ok ist
Was sonst noch offen?
(Ich denke wled oder so hat noch was?)
@apollon77 sagte in js-controller 3.3 jetzt im Beta:
Was sonst noch offen?
Nuki-Extended (https://github.com/Zefau/ioBroker.nuki-extended/issues/145) unverändert bisher (v2.3.0).
-
@apollon77 sagte in js-controller 3.3 jetzt im Beta:
Was sonst noch offen?
Nuki-Extended (https://github.com/Zefau/ioBroker.nuki-extended/issues/145) unverändert bisher (v2.3.0).
-
Ich hoffe das ist so richtig.
https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/72#issuecomment-881637186
-
Also:
- Roomba: Bitte nochmal GitHub version checken, sollte alles weg sein
- Info Adapter: Siehe Issue ... ich behaupte Ihr nutzt nicht den Code von GitHub :-)
@apollon77 NOPE
Roomba läuft immer noch nicht
roomba.0 2021-07-16 20:40:13.405 info (15356) State value to set for "roomba.0.missions.current.runtime" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:12.603 info (15356) State value to set for "roomba.0.missions.current.runtime" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:11.028 info (15356) State value to set for "roomba.0.missions.current.runtime" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:11.025 info (15356) State value to set for "roomba.0.missions.current.started" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:11.024 info (15356) State value to set for "roomba.0.missions.current.id" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:10.994 info (15356) Roomba has started a new mission (#434). roomba.0 2021-07-16 20:40:09.775 info (15356) Triggered action -start- on Roomba. web.0 2021-07-16 20:39:36.732 info (14512) ==>Connected system.user.admin from -
Und mit dem Info-Adapter sieht das jetzt so aus. Der Fehler liegt wohl an meinem System?
2021-07-16 20:35:00.822 - info: host.raspi "system.adapter.info.0" enabled 2021-07-16 20:35:01.356 - info: host.raspi instance system.adapter.info.0 started with pid 6020 2021-07-16 20:35:04.549 - info: info.0 (6020) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2021-07-16 20:35:04.567 - info: info.0 (6020) starting. Version 1.8.0 in /opt/iobroker/node_modules/iobroker.info, node: v14.17.2, js-controller: 3.3.14 2021-07-16 20:35:04.636 - info: info.0 (6020) Reading/updating systemdata. 2021-07-16 20:35:06.007 - error: info.0 (6020) uncaught exception: EACCES: permission denied, scandir '/var/lib/bluetooth/' 2021-07-16 20:35:06.013 - error: info.0 (6020) Error: EACCES: permission denied, scandir '/var/lib/bluetooth/' at readdirSync (fs.js:1043:3) at getDirectories (/opt/iobroker/node_modules/systeminformation/lib/util.js:680:12) at getFilesRecursively (/opt/iobroker/node_modules/systeminformation/lib/util.js:687:16) at Object.getFilesInPath (/opt/iobroker/node_modules/systeminformation/lib/util.js:695:12) at /opt/iobroker/node_modules/systeminformation/lib/bluetooth.js:98:30 at processTicksAndRejections (internal/process/task_queues.js:77:11) 2021-07-16 20:35:06.015 - error: info.0 (6020) Exception-Code: EACCES: EACCES: permission denied, scandir '/var/lib/bluetooth/' 2021-07-16 20:35:07.224 - info: info.0 (6020) cleaned everything up... 2021-07-16 20:35:07.226 - info: info.0 (6020) terminating 2021-07-16 20:35:07.230 - warn: info.0 (6020) Terminated (UNCAUGHT_EXCEPTION): Without reason 2021-07-16 20:35:07.378 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-0" has to be stringified but received type "object" 2021-07-16 20:35:07.379 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-1" has to be stringified but received type "object" 2021-07-16 20:35:07.381 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-2" has to be stringified but received type "object" 2021-07-16 20:35:07.385 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-3" has to be stringified but received type "object" 2021-07-16 20:35:08.094 - warn: info.0 (6020) get state error: Connection is closed. 2021-07-16 20:35:08.095 - warn: info.0 (6020) get state error: DB closed ... 2021-07-16 20:35:08.148 - warn: info.0 (6020) get state error: DB closed 2021-07-16 20:35:08.150 - warn: info.0 (6020) get state error: DB closed 2021-07-16 20:35:08.164 - warn: info.0 (6020) get state error: Connection is closed. 2021-07-16 20:35:08.257 - warn: info.0 (6020) Could not perform strict object check of state info.0.newsfeed_filtered: Connection is closed. 2021-07-16 20:35:08.259 - warn: info.0 (6020) get state error: Connection is closed. 2021-07-16 20:35:08.357 - error: host.raspi instance system.adapter.info.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2021-07-16 20:35:08.359 - info: host.raspi Restart adapter system.adapter.info.0 because enabled -
Habe noch einen Adapter gefunden. Auch nur Entwickler oder ggf. ebenfalls Community?
spotify-premium.0 2021-07-16 21:03:46.219 info (10336) State value to set for "spotify-premium.0.authorization.token" has to be stringified but received type "object" -
Ich hoffe das ist so richtig.
https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/72#issuecomment-881637186
-
@apollon77 NOPE
Roomba läuft immer noch nicht
roomba.0 2021-07-16 20:40:13.405 info (15356) State value to set for "roomba.0.missions.current.runtime" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:12.603 info (15356) State value to set for "roomba.0.missions.current.runtime" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:11.028 info (15356) State value to set for "roomba.0.missions.current.runtime" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:11.025 info (15356) State value to set for "roomba.0.missions.current.started" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:11.024 info (15356) State value to set for "roomba.0.missions.current.id" has to be type "string" but received type "number" roomba.0 2021-07-16 20:40:10.994 info (15356) Roomba has started a new mission (#434). roomba.0 2021-07-16 20:40:09.775 info (15356) Triggered action -start- on Roomba. web.0 2021-07-16 20:39:36.732 info (14512) ==>Connected system.user.admin from@jb_sullivan Na du kommst ja auch immer mit neuen IDs die vorher nie in den Logs waren. Ich muss JEDE ID einzeln definieren!!
Geändert auf GitHub ... dann die nächsten Bitte? ;-) -
rpi2 - keine Fehler mehr. Danke:+1:
-
Und mit dem Info-Adapter sieht das jetzt so aus. Der Fehler liegt wohl an meinem System?
2021-07-16 20:35:00.822 - info: host.raspi "system.adapter.info.0" enabled 2021-07-16 20:35:01.356 - info: host.raspi instance system.adapter.info.0 started with pid 6020 2021-07-16 20:35:04.549 - info: info.0 (6020) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2021-07-16 20:35:04.567 - info: info.0 (6020) starting. Version 1.8.0 in /opt/iobroker/node_modules/iobroker.info, node: v14.17.2, js-controller: 3.3.14 2021-07-16 20:35:04.636 - info: info.0 (6020) Reading/updating systemdata. 2021-07-16 20:35:06.007 - error: info.0 (6020) uncaught exception: EACCES: permission denied, scandir '/var/lib/bluetooth/' 2021-07-16 20:35:06.013 - error: info.0 (6020) Error: EACCES: permission denied, scandir '/var/lib/bluetooth/' at readdirSync (fs.js:1043:3) at getDirectories (/opt/iobroker/node_modules/systeminformation/lib/util.js:680:12) at getFilesRecursively (/opt/iobroker/node_modules/systeminformation/lib/util.js:687:16) at Object.getFilesInPath (/opt/iobroker/node_modules/systeminformation/lib/util.js:695:12) at /opt/iobroker/node_modules/systeminformation/lib/bluetooth.js:98:30 at processTicksAndRejections (internal/process/task_queues.js:77:11) 2021-07-16 20:35:06.015 - error: info.0 (6020) Exception-Code: EACCES: EACCES: permission denied, scandir '/var/lib/bluetooth/' 2021-07-16 20:35:07.224 - info: info.0 (6020) cleaned everything up... 2021-07-16 20:35:07.226 - info: info.0 (6020) terminating 2021-07-16 20:35:07.230 - warn: info.0 (6020) Terminated (UNCAUGHT_EXCEPTION): Without reason 2021-07-16 20:35:07.378 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-0" has to be stringified but received type "object" 2021-07-16 20:35:07.379 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-1" has to be stringified but received type "object" 2021-07-16 20:35:07.381 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-2" has to be stringified but received type "object" 2021-07-16 20:35:07.385 - info: info.0 (6020) State value to set for "info.0.sysinfo.cpu.currentLoad.cpus-3" has to be stringified but received type "object" 2021-07-16 20:35:08.094 - warn: info.0 (6020) get state error: Connection is closed. 2021-07-16 20:35:08.095 - warn: info.0 (6020) get state error: DB closed ... 2021-07-16 20:35:08.148 - warn: info.0 (6020) get state error: DB closed 2021-07-16 20:35:08.150 - warn: info.0 (6020) get state error: DB closed 2021-07-16 20:35:08.164 - warn: info.0 (6020) get state error: Connection is closed. 2021-07-16 20:35:08.257 - warn: info.0 (6020) Could not perform strict object check of state info.0.newsfeed_filtered: Connection is closed. 2021-07-16 20:35:08.259 - warn: info.0 (6020) get state error: Connection is closed. 2021-07-16 20:35:08.357 - error: host.raspi instance system.adapter.info.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2021-07-16 20:35:08.359 - info: host.raspi Restart adapter system.adapter.info.0 because enabled -
Habe noch einen Adapter gefunden. Auch nur Entwickler oder ggf. ebenfalls Community?
spotify-premium.0 2021-07-16 21:03:46.219 info (10336) State value to set for "spotify-premium.0.authorization.token" has to be stringified but received type "object"@jb_sullivan Immer GitHub issues machen!!! Aber ja den kann ich mir ansehen
-
Habe noch einen Adapter gefunden. Auch nur Entwickler oder ggf. ebenfalls Community?
spotify-premium.0 2021-07-16 21:03:46.219 info (10336) State value to set for "spotify-premium.0.authorization.token" has to be stringified but received type "object"@jb_sullivan Github update bitte versuchen
-
@jb_sullivan Na du kommst ja auch immer mit neuen IDs die vorher nie in den Logs waren. Ich muss JEDE ID einzeln definieren!!
Geändert auf GitHub ... dann die nächsten Bitte? ;-)@apollon77 sagte in js-controller 3.3 jetzt im Beta:
Ich muss JEDE ID einzeln definieren!!
Ähm sorry, das kann ich ja nicht ahnen/wissen. Ich dachte das wäre irgend etwas globales was man einmal irgendwo umstellen muss.
D.h. aber auch im Umkehrschluss, das man im Grunde ALLE Funktionen von ALLEN Geräten testen muss, denn nur wenn sich der Datenpunkt ändert, spuckt er ggf. auch eine Fehlermeldung aus?!?
Na, da könnte noch einiges kommen (z.B. Heizkörper Thermostate - weil nur im Winter in Betrieb) oder Datenpunkte die nur bei bestimmten Betriebszuständen geschrieben werden, was man so ggf. gar nicht simulieren kann oder gar nicht auf dem Schirm hat.