iobroker-community-adapters / ioBroker.fritzbox

iobroker Fritzbox Adapter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS-Controller 3.3 - wrong type "number" but has to be "string"

TheBrain26 opened this issue · comments

fritzbox.0 warn State value to set for "fritzbox.0.calls.counterActualCalls.connectCount" has wrong type "number" but has to be "string"
fritzbox.0 warn State value to set for "fritzbox.0.calls.counterActualCalls.ringCount" has wrong type "number" but has to be "string"
fritzbox.0 warn State value to set for "fritzbox.0.system.deltaTime" has wrong type "number" but has to be "string"

ioBroker/ioBroker.js-controller#1299

@Apollon77 can you please have a look on this issue as well?

siehe PR, alternativ mein Fork mal versuchen

@Apollon77 @ruhr70

Ich hab gerade die Version von github installiert.
Admin 5.1.12
js-controller 3.3.14

Es sind noch folgende Meldungen vorhanden. Soll dieses Ticket wieder geöffnet werden oder soll ich ein neues anlegen?

20 Jul 2021 19:37:10.581
fritzbox.0 (16849) State value to set for "fritzbox.0.calls.missedCount" has to be type "string" but received type "number"
20 Jul 2021 19:37:10.579
fritzbox.0 (16849) State value to set for "fritzbox.0.calls.counterActualCalls.allActiveCount" has to be type "string" but received type "number"
20 Jul 2021 19:37:10.576
fritzbox.0 (16849) State value to set for "fritzbox.0.calls.connectNumbers" has to be type "string" but received type "object"
20 Jul 2021 19:37:10.573
fritzbox.0 (16849) State value to set for "fritzbox.0.calls.ringActualNumbers" has to be type "string" but received type "object"
20 Jul 2021 19:37:10.564
fritzbox.0 (16849) State value to set for "fritzbox.0.wlan.enabled" has to be type "boolean" but received type "string" 

@Feuer-sturm Bitte lösch mal die betroffenen Objekte und starte Adapter neu ... kommen die Meldungen dann wieder?

@Apollon77 Ja die Meldungen kommen, wenn ich zuvor alle Objekte unter fritzbox.* lösche und dann die Instanz neu starte.

Ok, neuer PR ... oder mein Fork

@ruhr70 nohcmal neu für dich :-))

@Apollon77 Ich hab gerade mal deinen Fork (https://github.com/Apollon77/ioBroker.fritzbox) installiert aber die folgenden Meldungen tauche noch auf. Die Datenpunkte habe ich zuvor komplett gelöscht.

20 Jul 2021 23:45:35.624
fritzbox.0 (18906) State value to set for "fritzbox.0.calls.counterActualCalls.allActiveCount" has to be type "string" but received type "number"
20 Jul 2021 23:45:35.620
fritzbox.0 (18906) State value to set for "fritzbox.0.calls.connectNumbers" has to be type "number" but received type "object"
20 Jul 2021 23:45:35.608
fritzbox.0 (18906) State value to set for "fritzbox.0.calls.ringActualNumbers" has to be type "number" but received type "object" 

Ok, they were new ... fixed in my fork/PR

@Apollon77 Thanks. With your new fork everything looks good now.

@Apollon77 Thank you for your fork! The original adapter (this repo) doesn't work anymore =(