Newan / ioBroker.easee

easee is a wallbox with an REST-API. This adapter for ioBroker can used to connect the wallbox with your home environment
MIT License
21 stars 8 forks source link

Adapter läuft nicht mit Node.js v18.15.0 #60

Closed TMHEINE closed 1 year ago

TMHEINE commented 1 year ago

Nach dem Update Node.js von V16 auf V18 läuft der Adapter nicht mehr. Fehler:

grafik

Was kann ich da tun?

lastoks commented 1 year ago

Gleiches Problem bei mir nach dem Update auf Nodejs 18

gidhap commented 1 year ago

@Newan Gleiches Problem hier. Zu dumm daß ich das jetzt erst gelesen habe, damit ist meine Überschussladung ausser Betrieb :(

Newan commented 1 year ago

Könnt ihr das mal bitte mit v19 testen. Hab es gerade versucht bei mir nachzustellen, aber habe keinen Fehler? Ggf nur mit v18 so

gidhap commented 1 year ago

@Newan OK. Soweit ich weiss ist die V18.15.0 die aktuell höchste empfohlene Version, habe produktiv keine höhere am Laufen. Ich versuch mal eine Testinstanz mit V19 in der VM zu machen. Kann aber noch ein zwei Tage dauern.

gidhap commented 1 year ago

@Newan Ich habe eine neue VM (auch Buster wie meine Prod.) mit neuem IoBroker aufgesetzt und mal nur den Easee Adapter installiert, dann NodeJS auf 18.15.0 gebracht. Der Easee adapter wird geladen und funktioniert. Abgesehen von der Meldung `easee.0 | 2023-04-06 09:26:30.460 | info | undefined is not a valid state value for id "easee.0.xxxxxx.status.latestFirmware

easee.0 | 2023-04-06 09:26:01.268 | warn | State easee.0.xxxxxx.session.2023.total_year" has no existing object, this might lead to an error in future versions

easee.0 | 2023-04-06 09:26:01.269 | warn | State easee.0.xxxxxx.session.2023.total_year" has no existing object, this might lead to an error in future versions` die ich jetzt erst mal ignoriere. Oder kann das mit den o.a. Fehlern zusammenhängen? Nun frage ich mich wie ich den Fehler in der Produktiv Instanz finden kann. Habe ja von coding keinen Plan. :(

jhg28 commented 1 year ago

Habe denselben Fehler mit 18.15. Leider aktualisiert und den Eintrag hier vorher nicht gesehen. Meldungen sind dieselben wie oben.

Eine NodeJS-Version mit ungeraden Nummern ist immer nur zum Testen gedacht. Nicht zum Produktiveinsatz.

Newan commented 1 year ago

bitte commit prüfen, ob der das fixed. danke

jhg28 commented 1 year ago

Adapter läuft nach Neuinstallation wieder.

Folgender Hinweis kommt immer noch: State "easee.0.EH3K3T5J.status.smartCharging" has no existing object, this might lead to an error in future versions

gidhap commented 1 year ago

Adapter gelöscht und neu installiert, läuft wieder. DANKE ! Hier die noch verbliebenen Meldungen easee.0 | 2023-04-10 15:20:21.348 | info | undefined is not a valid state value for id "easee.0.xxxxxx.status.latestFirmware" easee.0 | 2023-04-10 15:19:52.287 | warn | State "easee.0.xxxxxx.session.2023.total_year" has no existing object, this might lead to an error in future versions easee.0 | 2023-04-10 15:19:52.285 | warn | State "easee.0.xxxxxx.session.2022.total_year" has no existing object, this might lead to an error in future versions easee.0 | 2023-04-10 15:19:52.257 | warn | State "easee.0.xxxxxx.session.2021.total_year" has no existing object, this might lead to an error in future versions

modmax commented 1 year ago

Nach Neuinstallation von GitHub ist das Problem gelöst. Dankeschön!

TMHEINE commented 1 year ago

Auch bei mir ist das Problem durch eine Neuinstallation aus dem Git gelöst. Den fehlenden Datenpunkt für "easee.0.xxxxxxx.status.smartCharging" hatte ich ja schon ne weile immer manuell angelegt. Danke