woessmich / ioBroker.weatherflow_udp

ioBroker adapter to parse Weatherflow UDP packets
MIT License
2 stars 3 forks source link

State value has to be type "number" but received type "object" #12

Closed pacman13 closed 3 years ago

pacman13 commented 3 years ago

Hello, since the upgarde to JS 3.3 I'm receiving the following warning message every 5 seconds: State value to set for "weatherflow_udp.0.xxx.hub_status.timestamp" has to be type "number" but received type "object"

In the Internet I found the following remark for such a message: Ab Version 3.3 des js-controllers sollen keine Objekte / Arrays mehr in Datenpunkte geschrieben werden, sondern nur noch per JSON.stringify(obj) gewandelte Objekte. https://forum.iobroker.net/topic/45009/fehler-nach-update-js-controller-3-3-9

Not sure if this helps but at least it looks like that what I observed as well.

woessmich commented 3 years ago

Hi pacman13

The problem should be resolved with version 0.1.0 It is, however, required to manually delete the objects causing the warning once the new version is installed. They will automatically be recreated in a correct way.

Kind regards Michael

Am 06.08.2021 um 07:14 schrieb pacman13 @.***>:

 Hello, since the upgarde to JS 3.3 I'm receiving the following warning message every 5 seconds: State value to set for "weatherflow_udp.0.xxx.hub_status.timestamp" has to be type "number" but received type "object"

In the Internet I found the following remark for such a message: Ab Version 3.3 des js-controllers sollen keine Objekte / Arrays mehr in Datenpunkte geschrieben werden, sondern nur noch per JSON.stringify(obj) gewandelte Objekte. https://forum.iobroker.net/topic/45009/fehler-nach-update-js-controller-3-3-9

Not sure if this helps but at least it looks like that what I observed as well.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

pacman13 commented 3 years ago

Hi,

thank you for the very fast response. Unfortunately I tried this already and also I reinstalled the whole adapter, without success. But in the meanwhile I started other adapters (which where stopped for a while, like Synology) and there I see the same error message. So I think it has something to do with my installation in general, not with your Adapter.

Thanks again I must solve it somehow else.

Regards

Am 06.08.2021 um 07:33 schrieb woessmich @.***>:

Hi pacman13

The problem should be resolved with version 0.1.0 It is, however, required to manually delete the objects causing the warning once the new version is installed. They will automatically be recreated in a correct way.

Kind regards Michael

Am 06.08.2021 um 07:14 schrieb pacman13 @.***>:

 Hello, since the upgarde to JS 3.3 I'm receiving the following warning message every 5 seconds: State value to set for "weatherflow_udp.0.xxx.hub_status.timestamp" has to be type "number" but received type "object"

In the Internet I found the following remark for such a message: Ab Version 3.3 des js-controllers sollen keine Objekte / Arrays mehr in Datenpunkte geschrieben werden, sondern nur noch per JSON.stringify(obj) gewandelte Objekte. https://forum.iobroker.net/topic/45009/fehler-nach-update-js-controller-3-3-9

Not sure if this helps but at least it looks like that what I observed as well.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/woessmich/ioBroker.weatherflow_udp/issues/12#issuecomment-894012859, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIY34M4C7K3SKJTTE4TBHQTT3NXZRANCNFSM5BVF6VRQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.