Eisbaeeer / ioBroker.alpha2

iobroker Moehlenhoff Alpha2 Adapter
Other
3 stars 10 forks source link

Warning! alpha2.0.HEATCTRL.11.HEATCTRL_STATE #18

Closed AcidSubway closed 2 years ago

AcidSubway commented 3 years ago

Hallo Eisbaeeer,

ich hab das Problem das mir ioBroker ständig das meldet:

`

alpha2.0 2021-03-08 19:37:05.493 warn (6133) State "alpha2.0.HEATCTRL.11.HEATCTRL_STATE" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.493 warn (6133) State "alpha2.0.HEATCTRL.11.ACTOR" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.493 warn (6133) State "alpha2.0.HEATCTRL.11.HEATAREA_NR" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.493 warn (6133) State "alpha2.0.HEATCTRL.11.INUSE" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.493 warn (6133) State "alpha2.0.HEATCTRL.10.HEATCTRL_STATE" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.493 warn (6133) State "alpha2.0.HEATCTRL.10.ACTOR" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.493 warn (6133) State "alpha2.0.HEATCTRL.10.HEATAREA_NR" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.492 warn (6133) State "alpha2.0.HEATCTRL.10.INUSE" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.492 warn (6133) State "alpha2.0.HEATCTRL.9.HEATCTRL_STATE" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.492 warn (6133) State "alpha2.0.HEATCTRL.9.ACTOR" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.492 warn (6133) State "alpha2.0.HEATCTRL.9.HEATAREA_NR" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.492 warn (6133) State "alpha2.0.HEATCTRL.9.INUSE" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.492 warn (6133) State "alpha2.0.HEATCTRL.8.HEATCTRL_STATE" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.491 warn (6133) State "alpha2.0.HEATCTRL.8.ACTOR" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.491 warn (6133) State "alpha2.0.HEATCTRL.8.HEATAREA_NR" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.491 warn (6133) State "alpha2.0.HEATCTRL.8.INUSE" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.454 warn (6133) State "alpha2.0.PROGRAM.16.16.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.454 warn (6133) State "alpha2.0.PROGRAM.16.16.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.454 warn (6133) State "alpha2.0.PROGRAM.15.15.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.454 warn (6133) State "alpha2.0.PROGRAM.15.15.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.454 warn (6133) State "alpha2.0.PROGRAM.14.14.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.454 warn (6133) State "alpha2.0.PROGRAM.14.14.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.453 warn (6133) State "alpha2.0.PROGRAM.13.13.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.453 warn (6133) State "alpha2.0.PROGRAM.13.13.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.453 warn (6133) State "alpha2.0.PROGRAM.12.12.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.453 warn (6133) State "alpha2.0.PROGRAM.12.12.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.453 warn (6133) State "alpha2.0.PROGRAM.11.11.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.453 warn (6133) State "alpha2.0.PROGRAM.11.11.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.453 warn (6133) State "alpha2.0.PROGRAM.10.10.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.452 warn (6133) State "alpha2.0.PROGRAM.10.10.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.452 warn (6133) State "alpha2.0.PROGRAM.9.9.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.452 warn (6133) State "alpha2.0.PROGRAM.9.9.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.452 warn (6133) State "alpha2.0.PROGRAM.8.8.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.452 warn (6133) State "alpha2.0.PROGRAM.8.8.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.452 warn (6133) State "alpha2.0.PROGRAM.7.7.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.452 warn (6133) State "alpha2.0.PROGRAM.7.7.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.451 warn (6133) State "alpha2.0.PROGRAM.6.6.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.451 warn (6133) State "alpha2.0.PROGRAM.6.6.START" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.451 warn (6133) State "alpha2.0.PROGRAM.5.5.END" has no existing object, this might lead to an error in future versions
alpha2.0 2021-03-08 19:37:05.451 warn (6133) State "alpha2.0.PROGRAM.5.5.START" has no existing object, this might lead to an error in future versions

`

Kannst du damit was anfangen? Das kam nach einem Update von ioBroker.

MfG

AcidSubway

Eisbaeeer commented 3 years ago

Ich vermute, dass die Objekt Struktur nach dem Update nicht mehr gültig ist. Ist derzeit aber nur ein Hinweis. Schau mal nach, ob diese Objekte angelegt wurden. Gruß Lars

MrFisch commented 3 years ago

Ist bei mir exakt das gleiche Problem. Die Objekte wurden nicht angelegt. Hast du noch eine idee?

MrFisch commented 3 years ago

Ich konnte für meinen Fall das Problem lösen. Ich habe die Version 1.0.1 als Grundlage genommen. Es wurden in der main.js über die Schleifenzähler auf Datenpunkte geschrieben, die aber über die io-package.json nicht angelegt worden sind. Hab bei den Datenpunkten eine einfache "if" Bedingung eingefügt, die bei den "Programm" Datenpunkten nur bis max. 4 zählt und nicht wie bisher bis 16. Außerdem wurde in der "io-package.json" als Unit statt °C ein zusätzliches "Sonderzeichen" eingefügt... das ist / war aber nur ein kleiner Schönheitsfehler.

manylomy commented 3 years ago

Hallo zusammen, auch bei mir erscheint die Meldung:

State "alpha2.0.HEATCTRL.11.HEATCTRL_STATE" has no existing object, this might lead to an error in future versions

Ich habe die Message von MrFisch zwar gelesen aber nicht verstanden. Wo oder welche Version 1.0.1 ist gemeint. Bei iobroker finde ich für den Adapter nur die 1.0.0. Selbst wenn ich die finde, ich weiß nicht, ob ich die beschriebene Ändeung einbauen kann, keine Erfahrung in Treiberprogrammierung etc. Wer kann mir da "auf die Sprünge" helfen?

Vielen Dank, Manylomy

noob-pi commented 2 years ago

Habe genau das gleiche Problem. Schließe mich @manylomy an ich versteh leider auch nicht so ganz was @MrFisch genau meinte.

@MrFisch Könntest du die 1.0.1 Version anbieten? (Download) Oder vielleicht eine bessere oder genau Vorgehensweise für die nicht Programmier Profis schreiben? ;-)

@Eisbaeeer Wäre es möglich das du die Version als Update einfügen könntest?

Vielen Dank euch

Grüße

AcidSubway commented 2 years ago

@Eisbaeeer wäre ein Update möglich, weil ich komm da auch nicht mit was das umstellen angeht?

HerrBier commented 2 years ago

Ich häng mich an, gleiche Meldungen bei mir und keine Ahnung, was ich selbst dran machen könnte :-/

luft-post commented 2 years ago

Moin, auch bei mir besteht die gleiche Problematik. @Eisbaeeer können wir dich gemeinsam bewegen diesen Fehler zu Fixen? Wäre schade wenn wir diesen Adapter nicht mehr verwenden können. @MrFisch Könnten Sie alternativ etwas genauer erläutern wie Sie diesen Fehler umgangen haben?

Vielen Dank und Gruß Matthias

Eisbaeeer commented 2 years ago

Falls sich niemand findet, schau ich mir das an. Derzeit bin ich aber absolut busy. Und ich kann nicht testen, da ich derzeit keine Alpha habe. LG Lars

luft-post commented 2 years ago

Moin Eisbaeeer, zum testen hast du doch uns, wir alle hier haben großes Interesse daran, dass der Adapter glatt gezogen wird und wir ihn weiterbenutzen können. Was mich angeht wäre ich bereit dich so gut wie es mir möglich ist dich zu unterstützen, vielleicht kann ich dir auch einen fernzugriff auf meine Alpha geben (unter der Voraussetzung, dass der Eisbär die Heizung bei mir nicht abstellt ;-) @all Wisst Ihr noch ab wann die Warnung bei euch aufgetreten ist? Bei mir ist sie mit den update von Nodejs 12 auf 14 gekommen.

gruß Matthias

AcidSubway commented 2 years ago

ne das weis ich nicht mehr aber bin auch dabei, beim unterstützen :D

MrFisch commented 2 years ago

Gibt es eine Möglichkeit meine Scripts hochzuladen? Das macht es vermutlich am einfachsten

luft-post commented 2 years ago

@MrFisch: wollen wir einfach im iobroker Forum einen Post zu diesen Workaround aufmachen? Da könnten wir auch Skripte hochladen und würden bestimmt noch mehr betroffene Nutzer erreichen.

gruß Matthias

Eisbaeeer commented 2 years ago

Hallo zusammen Ich habe mich heute hingesetzt. Der Adapter sollte wieder funktionieren. Ich konnte jetzt eine Alpha2 auftreiben und bei mir hat soweit alles wieder funktioniert. Ihr müsst derzeit den Adapter von Hand installieren, bis er in das Repo einfließt. Folgt bitte folgenden Schritten: alpha-01

alpha-02

alpha-03

alpha-04

alpha-05

alpha-06

HerrBier commented 2 years ago

Hat bei mir leider nichts bewirkt :-(

grafik

Eisbaeeer commented 2 years ago

@HerrBier Ok, ich kann das hier nachvollziehen. Ich schaue mir das an. --- Edit --- Fehler gefunden. Wird mit der Version 1.0.3 behoben. Sobald sie online ist, melde ich mich.

HerrBier commented 2 years ago

Hab grad gesehen, die neue Version war da :-) Die Warnungen sind weg. Dankeschön 👍

Jetzt weiß ich nicht, ob die Log-Einträge durchs Update kommen: grafik

MrFisch commented 2 years ago

Super Arbeit! Vielen Dank. Das macht es auf alle Fälle einfacher wenn man das System neu aufsetzt. Der letzte Post mit den fehlerhaften Typ lässt sich manuell auch leicht lösen, wenn man bei den Objekten den Typ „Mixed“ bzw „gemischt“ auswählt. Der beste Weg wäre natürlich das Script für die Generierung der datenpunkte anzupassen.

Eisbaeeer commented 2 years ago

@HerrBier Ist gefixt. Die Warnung sollte jetzt nicht mehr erscheinen.

luft-post commented 2 years ago

@Eisbaeeer Vielen vielen Dank, hab geupdatet und die Warnungen sind weg und es scheint alles zu Funktionieren. Nochmal vielen Dank das du dich dessen angenommen hast.

Gruß Matthias

HerrBier commented 2 years ago

Sieht gut aus :-) Vielen, vielen Dank für die Mühe. Das wird viel mehr Leuten helfen, als denen, die sich hier melden.

AcidSubway commented 2 years ago

VIELEN DANK! Danke für deine Zeit :)