NEWS
Object type mismatch in adapter mpd
-
I recently discovered thousands of INFO messages in the iobroker log:
State value to set for "mpd.0.elapsed" has to be type "number" but received type "string" State value to set for "mpd.0.seek" has to be type "number" but received type "string"
MOD-Edit: Code in code-tags gesetzt!
How can I fix this? When manually changing the object type to string in iobroker it works temporarily but gets reverted as soon as the adapter is restarted.
Changing it in "/opt/iobroker/node_modules/iobroker.mpd/io-package.json" does not help either.How can I permanently fix this issue?
-
I think the adapter is not longer supported - I changed the log-level of the adapter to "error" - just to get rid of it
you could try to put an issue on github - maybe somebody is answering
https://github.com/iobroker-community-adapters/ioBroker.mpd/issues
-
@der-scram by the way- I have never tried to change the /io-package.json file and whether it is correct to do this.
have you tried to stop iobroker or the adapter and then change the file - in order to avoid that the module overwrites the file when you stop the adapter
-
@liv-in-sky sagte in Object type mismatch in adapter mpd:
by the way- I have never tried to change the /io-package.json file and whether it is correct to do this.
Das habe ich selbst als js-noob bereits bei anderen Adaptern gemacht.
War aber etwas tricky
Nach dem Upload muss aber die Instanz gelöscht und neu installiert werden.War zumindest damals so.
@Der-Scram
Warum diesmal auf Englisch? -
@homoran said in Object type mismatch in adapter mpd:
Warum diesmal auf Englisch?
Den Unterschied merke ich schon gar nicht mehr
The adapter seems to be not completely abandoned as on Github there's still some activity. For now i opened an issue there and set the loglevel to error.
-
@der-scram sagte in Object type mismatch in adapter mpd:
For now i opened an issue there and set the loglevel to error.
I didn't found the issue.
I looked under
https://github.com/iobroker-community-adapters/ioBroker.mpdthe developer stopped all activities of his adapters.
Therefore those adapters had been transferred to the community.But after that there was activity again in the original repos.
The community will maintain the community-version only!
-
@homoran
Ok. Got it. Maybe i'm lucky. -
hast du das mit der änderung von io-package.json ohne laufenden iobroker mal getestet ?
-
@liv-in-sky
Verhält sich lustig. Nach dem Erzeugen der Instanzen ist im Objektbaum alles richtig. Sobald der Adapter gestartet wird wird es von etwas überschrieben..