klein0r / ioBroker.lametric

Send notifications and other important information to your LaMetric time
https://haus-automatisierung.com/
MIT License
15 stars 8 forks source link

Type issue with js-controller 3.3 #45

Closed ahnungsbefreit closed 2 years ago

ahnungsbefreit commented 3 years ago

With update to js-controller 3.3 I get periodically several error messages from lametric 1.3.2 like this:

State value to set for "lametric.0.mydatadiy.obj" has to be type "string" but received type "object"

marlan99 commented 3 years ago

yes, same here. also on 1.3.2 with the same Logentry

ahnungsbefreit commented 3 years ago

Any progress on this one?

klein0r commented 2 years ago

It is not that easy to fix, because (if I follow the rules) the LaMetric Time won't be able to parse the information correctly. See linked issue in https://github.com/ioBroker/ioBroker.simple-api/issues/96 for more technical details

klein0r commented 2 years ago

The fix is pretty simple. See commit https://github.com/klein0r/ioBroker.lametric/commit/f43858fb98c4fae48910eb1fd59b8148ee1465cb

But... I have to wait until the simple api adapter is able to return the information correctly

klein0r commented 2 years ago

Das ist in Version 1.5.0 gefixt. Dafür braucht ihr aber 2 Dinge

Falls ihr eines von beiden nicht macht, läuft myData DIY nicht mehr!