Open Kaschi68 opened 1 year ago
Ich denke der erste Hinweis ist:
socketio.0 | 2023-05-08 04:52:08.330 | info | State value to set for "philips-air.0.control.fanSpeed" has to be type "string" but received type "number"
du schreibst eine 2 in das Feld als Zahl. Schreib die mal als String tein, geht es dann?
Die gleiche Fehlermeldung kommt auch wenn ich in den Objekten einfach den Wert setze (aus den Vorgaben). Vom Script übergebe ich auch als String (z.b. auch silent,turbo).
Falsches Format meckert er auch bei Werten, die ich nicht ändere. Aber das sind keine Error. Von daher nicht ganz so wichtig :
philips-air.0 | 2023-05-08 12:46:37.240 | info | State value to set for "philips-air.0.filter.hepaFilterReplaceInHours" has to be type "number" but received type "string" philips-air.0 | 2023-05-08 12:46:37.199 | info | State value to set for "philips-air.0.filter.preFilterCleanInHours" has to be type "number" but received type "string" philips-air.0 | 2023-05-08 12:46:37.152 | debug | STATUS: {"hepaFilterType":"NanoProtect Filter Series 3 (FY2422)","activeCarbonFilterType":"NanoProtect Filter AC (FY2420)","preFilterCleanInHours":"0","hepaFilterReplaceInHours":"4389","activeCarbonFilterReplaceInHours":"487"} philips-air.0 | 2023-05-08 12:46:37.091 | debug | STATUS: {"version":"2","upgrade":"","state":"idle","progress":0,"statusmsg":"","mandatory":false,"name":"AC1214_10"} philips-air.0 | 2023-05-08 12:46:37.038 | info | State value to set for "philips-air.0.status.timerMinutes" has to be type "number" but received type "string" philips-air.0 | 2023-05-08 12:46:36.992 | info | State value to set for "philips-air.0.status.pm25" has to be type "number" but received type "string" philips-air.0 | 2023-05-08 12:46:36.948 | info | State value to set for "philips-air.0.status.allergenIndex" has to be type "number" but received type "string" philips-air.0 | 2023-05-08 12:46:36.905 | debug | State change: {"val":"7","ack":true,"ts":1683542796904,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1673390176771} philips-air.0 | 2023-05-08 12:46:36.904 | info | State value to set for "philips-air.0.control.airQualityNotificationThreshold" has to be type "number" but received type "string" philips-air.0 | 2023-05-08 12:46:36.902 | debug | State change: {"val":"","ack":true,"ts":1683542796901,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1673390176762} philips-air.0 | 2023-05-08 12:46:36.900 | info | State value to set for "philips-air.0.control.childLock" has to be type "boolean" but received type "string" philips-air.0 | 2023-05-08 12:46:36.856 | debug | State change: {"val":"0","ack":true,"ts":1683542796854,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1673390176756} philips-air.0 | 2023-05-08 12:46:36.854 | info | State value to set for "philips-air.0.control.timerHours" has to be type "number" but received type "string" philips-air.0 | 2023-05-08 12:46:36.853 | debug | State change: {"val":true,"ack":true,"ts":1683542796851,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1683506401393} philips-air.0 | 2023-05-08 12:46:36.810 | debug | State change: {"val":"iai","ack":true,"ts":1683542796808,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1673390176745} philips-air.0 | 2023-05-08 12:46:36.763 | debug | State change: {"val":"25","ack":true,"ts":1683542796762,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1683506401390} philips-air.0 | 2023-05-08 12:46:36.762 | info | State value to set for "philips-air.0.control.lightBrightness" has to be type "number" but received type "string" philips-air.0 | 2023-05-08 12:46:36.761 | debug | State change: {"val":"manual","ack":true,"ts":1683542796759,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1683506401389} philips-air.0 | 2023-05-08 12:46:36.714 | debug | State change: {"val":true,"ack":true,"ts":1683542796712,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1683521394225} philips-air.0 | 2023-05-08 12:46:36.668 | debug | State change: {"val":"2","ack":true,"ts":1683542796666,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1683542176775} philips-air.0 | 2023-05-08 12:46:36.664 | debug | STATUS: {"fanSpeed":"2","power":true,"childLock":"","lightBrightness":"25","buttonLight":true,"timerHours":"0","timerMinutes":"0","mode":"manual","pm25":"1","allergenIndex":"1","airQualityNotificationThreshold":"7","usedIndex":"iai","error":"193"} philips-air.0 | 2023-05-08 12:46:36.588 | debug | Syncing...
Hello, i have many Errors in my LOG when control the air-purifier with Objekts/VIS. ---> Cannot parse: undefined. But the functions over iobroker is ok ! My protocol is HTTP. Air Purifier : AC1214/10, AC5659/10 and AC2889/10
Philips-Air Adapter V 1.03
LOG :
philips-air.0 | 2023-05-08 04:52:08.369 | debug | Data: undefined philips-air.0 | 2023-05-08 04:52:08.369 | error | Cannot parse: undefined philips-air.0 | 2023-05-08 04:52:08.332 | debug | State change: "(val":2,"ack":false,"ts":1683514328330,"q":0,"from":"system.adapter.socketio.0","user":"system.user.admin","lc":1683514328330} philips-air.0 | 2023-05-08 04:52:08.331 | silly | States user redis pmessage philips-air.0.control.*/philips-air.0.control.fanSpeed:{"val":2,"ack":false,"ts":1683514328330,"q":0,"from":"system.adapter.socketio.0","user":"system.user.admin","lc":1683514328330} socketio.0 | 2023-05-08 04:52:08.330 | info | State value to set for "philips-air.0.control.fanSpeed" has to be type "string" but received type "number"
JS-Controller 4.0.24 nodejs 18.16.0 npm 9.5.1 admin 6.4.3