iobroker-community-adapters / ioBroker.philips-air

Connects Philips air purifier with ioBroker
MIT License
6 stars 6 forks source link

HTTP protocol not working #62

Closed tukey42 closed 1 year ago

tukey42 commented 1 year ago

Describe the bug
I have an older purifier (AC3829/10) which most likely did not support COAP (don't know if there is a firmware update available). Therefore I tested the HTTP protocol and found at least two bugs. The first one happens directly when doing the Http Request, because the time is past as string and not as integer. Line 74 of lib/http.js: options.aliveTimeout should most likely be this.aliveTimeout

After fixing that, most states are not updated because of incorrect mapping. Line 74 of main.js: AirPurifier.getMapping is used in all cases (COAP and HTTP). For HTTP it should be AirHttpPurifier.getMapping. Even changing this in the source returns only very few states (e.g. pm25). Most others are still "(null)" (e.g. temp).

To Reproduce
Steps to reproduce the behavior:

  1. Just start the adapter in Http Mode

Expected behavior
Connection is established and correct values are returned.

Versions:

Apollon77 commented 1 year ago

Can you then please provide a debug log ... maybe we can then add missing mappings? We do not own such devices, so if you like a fix you need to provid eway more data

tukey42 commented 1 year ago

Sure, here are the relevant lines from the log after fixing the two other mentioned issues, which are repeated every 30 seconds:

2022-12-22 12:49:29.478 - debug: philips-air.0 (2975518) STATUS: {"om":"0","pwr":"0","cl":false,"aqil":100,"uil":"0","dt":0,"dtrs":0,"mode":"A","func":"PH","rhset":50,"rh":41,"temp":26,"pm25":2,"iaql":1,"aqit":4,"ddp":"0","err":49408,"wl":0} 2022-12-22 12:49:29.654 - silly: philips-air.0 (2975518) States user redis pmessage philips-air.0.control.*/philips-air.0.control.mode:{"val":"A","ack":true,"ts":1671709769568,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671663984044} 2022-12-22 12:49:29.654 - debug: philips-air.0 (2975518) State change: {"val":"A","ack":true,"ts":1671709769568,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671663984044} 2022-12-22 12:49:59.479 - debug: philips-air.0 (2975518) Syncing...

And here is a screenshots of the corresponding states:

If you need any additional information or if you have a new version which I should test, just let me know. Btw. switching power on/off by setting the control.power state works.

Am 22.12.2022 um 09:24 schrieb Ingo Fischer @.***>:

Can you then please provide a debug log ... maybe we can then add missing mappings? We do not own such devices, so if you like a fix you need to provid eway more data

— Reply to this email directly, view it on GitHub https://github.com/iobroker-community-adapters/ioBroker.philips-air/issues/62#issuecomment-1362547207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGIOUPPDPTQ7LBZZN5M6ESTWOQF3TANCNFSM6AAAAAATGEHL2I. You are receiving this because you authored the thread.

Apollon77 commented 1 year ago

Please try GitHub version. I think I found the issue

tukey42 commented 1 year ago

Great, many thanks! This looks much better. In the log you just find some type mismatch messages. Still some states are not set (e.g. the filter states, which are returned by this model). Here is a screenshot of the states:

Am 22.12.2022 um 16:22 schrieb Ingo Fischer @.***>:

Please try GitHub version. I think I found the issue

— Reply to this email directly, view it on GitHub https://github.com/iobroker-community-adapters/ioBroker.philips-air/issues/62#issuecomment-1362967466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGIOUPK6RXJIODV5YVI6SQDWORW4RANCNFSM6AAAAAATGEHL2I. You are receiving this because you authored the thread.

Apollon77 commented 1 year ago

Which log? Which screenshot? Email attachements are not added to the GitHub iossue - please add yourself!

Apollon77 commented 1 year ago

(And please add a full debug log)

tukey42 commented 1 year ago

Sorry, the screenshot was attached in the e-mail (which I understand came not through), but I forgot the log. No I try to add both through the web page.

PastedGraphic-3

Here is the log:

2022-12-22 23:17:09.177  - info: host.iobroker instance system.adapter.philips-air.0 started with pid 4111390
2022-12-22 23:17:10.161  - debug: philips-air.0 (4111390) Redis Objects: Use Redis connection: 127.0.0.1:9001
2022-12-22 23:17:10.240  - debug: philips-air.0 (4111390) Objects client ready ... initialize now
2022-12-22 23:17:10.240  - debug: philips-air.0 (4111390) Objects create System PubSub Client
2022-12-22 23:17:10.241  - debug: philips-air.0 (4111390) Objects create User PubSub Client
2022-12-22 23:17:10.464  - debug: philips-air.0 (4111390) Objects client initialize lua scripts
2022-12-22 23:17:10.472  - debug: philips-air.0 (4111390) Objects connected to redis: 127.0.0.1:9001
2022-12-22 23:17:10.473  - silly: philips-air.0 (4111390) redis psubscribe cfg.o.system.user.*
2022-12-22 23:17:10.548  - silly: philips-air.0 (4111390) redis psubscribe cfg.o.enum.*
2022-12-22 23:17:10.550  - silly: philips-air.0 (4111390) objectDB connected
2022-12-22 23:17:10.551  - debug: philips-air.0 (4111390) Redis States: Use Redis connection: 127.0.0.1:9000
2022-12-22 23:17:10.640  - debug: philips-air.0 (4111390) States create System PubSub Client
2022-12-22 23:17:10.641  - debug: philips-air.0 (4111390) States create User PubSub Client
2022-12-22 23:17:10.836  - debug: philips-air.0 (4111390) States connected to redis: 127.0.0.1:9000
2022-12-22 23:17:10.836  - silly: philips-air.0 (4111390) statesDB connected
2022-12-22 23:17:11.240  - debug: philips-air.0 (4111390) Plugin sentry Initialize Plugin (enabled=true)
2022-12-22 23:17:11.242  - info: philips-air.0 (4111390) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
2022-12-22 23:17:11.357  - info: philips-air.0 (4111390) starting. Version 1.0.2 (non-npm: iobroker-community-adapters/ioBroker.philips-air) in /opt/iobroker/node_modules/iobroker.philips-air, node: v16.18.1, js-controller: 4.0.23
2022-12-22 23:17:11.402  - silly: philips-air.0 (4111390) States system redis pmessage system.adapter.philips-air.0.logLevel/system.adapter.philips-air.0.logLevel:{"val":"silly","ack":true,"ts":1671747431383,"q":0,"from":"system.adapter.philips-air.0","lc":1671236709622}
2022-12-22 23:17:11.419  - debug: philips-air.0 (4111390) start with 10.2.1.6 {"host":"10.2.1.6","aliveTimeout":"30000","reconnectInterval":"30000","protocol":"http"}
2022-12-22 23:17:11.420  - debug: philips-air.0 (4111390) started
2022-12-22 23:17:11.421  - debug: philips-air.0 (4111390) Syncing...
2022-12-22 23:17:13.143  - debug: philips-air.0 (4111390) Update client key: �^��n��}y�m<�M6�M}�m{��}��]��~
2022-12-22 23:17:13.145  - debug: philips-air.0 (4111390) connected
2022-12-22 23:17:13.146  - debug: philips-air.0 (4111390) STATUS: {"fanSpeed":"0","power":false,"childLock":"","lightBrightness":"100","buttonLight":false,"timerHours":"0","timerMinutes":"0","mode":"allergen","function":"humidification","targetHumidity":"50","humidity":"41","temperature":"26","pm25":"4","allergenIndex":"4","airQualityNotificationThreshold":"4","usedIndex":"iai","error":"no water","waterLevel":"0"}
2022-12-22 23:17:13.189  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.fanSpeed:{"val":"0","ack":true,"ts":1671747433188,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}
2022-12-22 23:17:13.189  - debug: philips-air.0 (4111390) State change: {"val":"0","ack":true,"ts":1671747433188,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}
2022-12-22 23:17:13.232  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.power:{"val":false,"ack":true,"ts":1671747433231,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407671}
2022-12-22 23:17:13.233  - debug: philips-air.0 (4111390) State change: {"val":false,"ack":true,"ts":1671747433231,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407671}
2022-12-22 23:17:13.234  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.mode:{"val":"allergen","ack":true,"ts":1671747433233,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407719}
2022-12-22 23:17:13.234  - debug: philips-air.0 (4111390) State change: {"val":"allergen","ack":true,"ts":1671747433233,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407719}
2022-12-22 23:17:13.235  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.targetHumidity" has to be type "number" but received type "string" 
2022-12-22 23:17:13.236  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.targetHumidity:{"val":"50","ack":true,"ts":1671747433235,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407724}
2022-12-22 23:17:13.236  - debug: philips-air.0 (4111390) State change: {"val":"50","ack":true,"ts":1671747433235,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407724}
2022-12-22 23:17:13.280  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.function:{"val":true,"ack":true,"ts":1671747433279,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407767}
2022-12-22 23:17:13.281  - debug: philips-air.0 (4111390) State change: {"val":true,"ack":true,"ts":1671747433279,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407767}
2022-12-22 23:17:13.281  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.lightBrightness" has to be type "number" but received type "string" 
2022-12-22 23:17:13.282  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.lightBrightness:{"val":"100","ack":true,"ts":1671747433281,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407770}
2022-12-22 23:17:13.282  - debug: philips-air.0 (4111390) State change: {"val":"100","ack":true,"ts":1671747433281,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407770}
2022-12-22 23:17:13.324  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.usedIndex:{"val":"iai","ack":true,"ts":1671747433323,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407816}
2022-12-22 23:17:13.325  - debug: philips-air.0 (4111390) State change: {"val":"iai","ack":true,"ts":1671747433323,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407816}
2022-12-22 23:17:13.327  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.buttonLight:{"val":false,"ack":true,"ts":1671747433326,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407859}
2022-12-22 23:17:13.332  - debug: philips-air.0 (4111390) State change: {"val":false,"ack":true,"ts":1671747433326,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407859}
2022-12-22 23:17:13.332  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.timerHours" has to be type "number" but received type "string" 
2022-12-22 23:17:13.333  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.timerHours:{"val":"0","ack":true,"ts":1671747433333,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407862}
2022-12-22 23:17:13.333  - debug: philips-air.0 (4111390) State change: {"val":"0","ack":true,"ts":1671747433333,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407862}
2022-12-22 23:17:13.334  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.childLock" has to be type "boolean" but received type "string" 
2022-12-22 23:17:13.335  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.childLock:{"val":"","ack":true,"ts":1671747433334,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407908}
2022-12-22 23:17:13.335  - debug: philips-air.0 (4111390) State change: {"val":"","ack":true,"ts":1671747433334,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407908}
2022-12-22 23:17:13.335  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.airQualityNotificationThreshold" has to be type "number" but received type "string" 
2022-12-22 23:17:13.336  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.airQualityNotificationThreshold:{"val":"4","ack":true,"ts":1671747433336,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407963}
2022-12-22 23:17:13.336  - debug: philips-air.0 (4111390) State change: {"val":"4","ack":true,"ts":1671747433336,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407963}
2022-12-22 23:17:13.337  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.humidity" has to be type "number" but received type "string" 
2022-12-22 23:17:13.380  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.allergenIndex" has to be type "number" but received type "string" 
2022-12-22 23:17:13.428  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.temperature" has to be type "number" but received type "string" 
2022-12-22 23:17:13.472  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.waterLevel" has to be type "number" but received type "string" 
2022-12-22 23:17:13.516  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.pm25" has to be type "number" but received type "string" 
2022-12-22 23:17:13.560  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.timerMinutes" has to be type "number" but received type "string" 
2022-12-22 23:17:43.147  - debug: philips-air.0 (4111390) Syncing...
2022-12-22 23:17:43.256  - debug: philips-air.0 (4111390) STATUS: {"fanSpeed":"0","power":false,"childLock":"","lightBrightness":"100","buttonLight":false,"timerHours":"0","timerMinutes":"0","mode":"allergen","function":"humidification","targetHumidity":"50","humidity":"41","temperature":"26","pm25":"4","allergenIndex":"4","airQualityNotificationThreshold":"4","usedIndex":"iai","error":"no water","waterLevel":"0"}
2022-12-22 23:17:43.258  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.fanSpeed:{"val":"0","ack":true,"ts":1671747463257,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}
Apollon77 commented 1 year ago

Ok, I weill check the type stuff, but the filter infos are not contained in the data returned from the device, so yes the states (that are always created) stay null

tukey42 commented 1 year ago

Beside of the getStatus() call, there is a getFilters() call, which would return the filter status. This is of course more of a feature request....

Apollon77 commented 1 year ago

Ahh this might be a difference between Coap and HTTP ... will check

Apollon77 commented 1 year ago

@tukey42 Try GitHub version again please and post debug log in any case! HTTP is now requesting Firmware, Wifi and Filters also

tukey42 commented 1 year ago

Wow, great, it seems, that at least all states I like to see are now set. Many thanks!

Here is again a screenshot and the log:

2022-12-23 13:18:42.787  - info: host.iobroker instance system.adapter.philips-air.0 started with pid 626762
2022-12-23 13:18:44.055  - debug: philips-air.0 (626762) Redis Objects: Use Redis connection: 127.0.0.1:9001
2022-12-23 13:18:44.147  - debug: philips-air.0 (626762) Objects client ready ... initialize now
2022-12-23 13:18:44.147  - debug: philips-air.0 (626762) Objects create System PubSub Client
2022-12-23 13:18:44.148  - debug: philips-air.0 (626762) Objects create User PubSub Client
2022-12-23 13:18:44.360  - debug: philips-air.0 (626762) Objects client initialize lua scripts
2022-12-23 13:18:44.372  - debug: philips-air.0 (626762) Objects connected to redis: 127.0.0.1:9001
2022-12-23 13:18:44.373  - silly: philips-air.0 (626762) redis psubscribe cfg.o.system.user.*
2022-12-23 13:18:44.439  - silly: philips-air.0 (626762) redis psubscribe cfg.o.enum.*
2022-12-23 13:18:44.441  - silly: philips-air.0 (626762) objectDB connected
2022-12-23 13:18:44.443  - debug: philips-air.0 (626762) Redis States: Use Redis connection: 127.0.0.1:9000
2022-12-23 13:18:44.542  - debug: philips-air.0 (626762) States create System PubSub Client
2022-12-23 13:18:44.542  - debug: philips-air.0 (626762) States create User PubSub Client
2022-12-23 13:18:44.728  - debug: philips-air.0 (626762) States connected to redis: 127.0.0.1:9000
2022-12-23 13:18:44.728  - silly: philips-air.0 (626762) statesDB connected
2022-12-23 13:18:45.106  - debug: philips-air.0 (626762) Plugin sentry Initialize Plugin (enabled=true)
2022-12-23 13:18:45.108  - info: philips-air.0 (626762) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
2022-12-23 13:18:45.238  - info: philips-air.0 (626762) starting. Version 1.0.2 (non-npm: iobroker-community-adapters/ioBroker.philips-air) in /opt/iobroker/node_modules/iobroker.philips-air, node: v16.18.1, js-controller: 4.0.23
2022-12-23 13:18:45.255  - silly: philips-air.0 (626762) States system redis pmessage system.adapter.philips-air.0.logLevel/system.adapter.philips-air.0.logLevel:{"val":"silly","ack":true,"ts":1671797925252,"q":0,"from":"system.adapter.philips-air.0","lc":1671236709622}
2022-12-23 13:18:45.264  - debug: philips-air.0 (626762) start with 10.2.1.6 {"host":"10.2.1.6","aliveTimeout":"30000","reconnectInterval":"30000","protocol":"http"}
2022-12-23 13:18:45.264  - debug: philips-air.0 (626762) started
2022-12-23 13:18:45.267  - debug: philips-air.0 (626762) Syncing...
2022-12-23 13:18:47.001  - debug: philips-air.0 (626762) Update client key: �^��n��}y�m<�M6�M}�m{��}��]��~
2022-12-23 13:18:47.042  - debug: philips-air.0 (626762) connected
2022-12-23 13:18:47.042  - debug: philips-air.0 (626762) STATUS: {"fanSpeed":"0","power":false,"childLock":"","lightBrightness":"100","buttonLight":false,"timerHours":"0","timerMinutes":"0","mode":"allergen","function":"humidification","targetHumidity":"50","humidity":"42","temperature":"26","pm25":"9","allergenIndex":"3","airQualityNotificationThreshold":"4","usedIndex":"iai","error":"no water","waterLevel":"0"}
2022-12-23 13:18:47.063  - debug: philips-air.0 (626762) STATUS: {"version":"15","upgrade":"","state":"idle","progress":0,"statusmsg":"","mandatory":false,"name":"AC3829_10"}
2022-12-23 13:18:47.066  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.fanSpeed:{"val":"0","ack":true,"ts":1671797927065,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}
2022-12-23 13:18:47.067  - debug: philips-air.0 (626762) State change: {"val":"0","ack":true,"ts":1671797927065,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}
2022-12-23 13:18:47.096  - debug: philips-air.0 (626762) STATUS: {"hepaFilterType":"NanoProtect Filter Series 3 (FY2422)","activeCarbonFilterType":"NanoProtect Filter AC (FY2420)","preFilterCleanInHours":"69","hepaFilterReplaceInHours":"4147","activeCarbonFilterReplaceInHours":"4147","wickFilterReplaceInHours":"4147"}
2022-12-23 13:18:47.123  - debug: philips-air.0 (626762) STATUS: {"ssid":"IoT","password":"","protection":"wpa-2","ipaddress":"10.2.1.6","netmask":"255.255.0.0","gateway":"10.2.0.1","dhcp":true,"macaddress":"e8:c1:d7:01:54:03","cppid":"e8c1d7fffe015403"}
2022-12-23 13:18:47.127  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.power:{"val":false,"ack":true,"ts":1671797927124,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407671}
2022-12-23 13:18:47.127  - debug: philips-air.0 (626762) State change: {"val":false,"ack":true,"ts":1671797927124,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407671}
2022-12-23 13:18:47.142  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.mode:{"val":"allergen","ack":true,"ts":1671797927141,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407719}
2022-12-23 13:18:47.142  - debug: philips-air.0 (626762) State change: {"val":"allergen","ack":true,"ts":1671797927141,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407719}
2022-12-23 13:18:47.187  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.targetHumidity" has to be type "number" but received type "string" 
2022-12-23 13:18:47.190  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.targetHumidity:{"val":"50","ack":true,"ts":1671797927188,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407724}
2022-12-23 13:18:47.190  - debug: philips-air.0 (626762) State change: {"val":"50","ack":true,"ts":1671797927188,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407724}
2022-12-23 13:18:47.191  - info: philips-air.0 (626762) State value to set for "philips-air.0.filter.preFilterCleanInHours" has to be type "number" but received type "string" 
2022-12-23 13:18:47.193  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.function:{"val":true,"ack":true,"ts":1671797927193,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407767}
2022-12-23 13:18:47.194  - debug: philips-air.0 (626762) State change: {"val":true,"ack":true,"ts":1671797927193,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407767}
2022-12-23 13:18:47.194  - info: philips-air.0 (626762) State value to set for "philips-air.0.filter.hepaFilterReplaceInHours" has to be type "number" but received type "string" 
2022-12-23 13:18:47.195  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.lightBrightness" has to be type "number" but received type "string" 
2022-12-23 13:18:47.197  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.lightBrightness:{"val":"100","ack":true,"ts":1671797927196,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407770}
2022-12-23 13:18:47.198  - debug: philips-air.0 (626762) State change: {"val":"100","ack":true,"ts":1671797927196,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407770}
2022-12-23 13:18:47.198  - info: philips-air.0 (626762) State value to set for "philips-air.0.filter.activeCarbonFilterReplaceInHours" has to be type "number" but received type "string" 
2022-12-23 13:18:47.201  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.usedIndex:{"val":"iai","ack":true,"ts":1671797927200,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407816}
2022-12-23 13:18:47.201  - debug: philips-air.0 (626762) State change: {"val":"iai","ack":true,"ts":1671797927200,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407816}
2022-12-23 13:18:47.201  - info: philips-air.0 (626762) State value to set for "philips-air.0.filter.wickFilterReplaceInHours" has to be type "number" but received type "string" 
2022-12-23 13:18:47.203  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.buttonLight:{"val":false,"ack":true,"ts":1671797927202,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407859}
2022-12-23 13:18:47.205  - debug: philips-air.0 (626762) State change: {"val":false,"ack":true,"ts":1671797927202,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407859}
2022-12-23 13:18:47.252  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.timerHours" has to be type "number" but received type "string" 
2022-12-23 13:18:47.253  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.timerHours:{"val":"0","ack":true,"ts":1671797927252,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407862}
2022-12-23 13:18:47.253  - debug: philips-air.0 (626762) State change: {"val":"0","ack":true,"ts":1671797927252,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407862}
2022-12-23 13:18:47.296  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.childLock" has to be type "boolean" but received type "string" 
2022-12-23 13:18:47.297  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.childLock:{"val":"","ack":true,"ts":1671797927296,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407908}
2022-12-23 13:18:47.297  - debug: philips-air.0 (626762) State change: {"val":"","ack":true,"ts":1671797927296,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407908}
2022-12-23 13:18:47.344  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.airQualityNotificationThreshold" has to be type "number" but received type "string" 
2022-12-23 13:18:47.345  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.airQualityNotificationThreshold:{"val":"4","ack":true,"ts":1671797927344,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407963}
2022-12-23 13:18:47.345  - debug: philips-air.0 (626762) State change: {"val":"4","ack":true,"ts":1671797927344,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407963}
2022-12-23 13:18:47.392  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.humidity" has to be type "number" but received type "string" 
2022-12-23 13:18:47.436  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.allergenIndex" has to be type "number" but received type "string" 
2022-12-23 13:18:47.480  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.temperature" has to be type "number" but received type "string" 
2022-12-23 13:18:47.528  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.waterLevel" has to be type "number" but received type "string" 
2022-12-23 13:18:47.576  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.pm25" has to be type "number" but received type "string" 
2022-12-23 13:18:47.624  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.timerMinutes" has to be type "number" but received type "string" 
2022-12-23 13:19:17.131  - debug: philips-air.0 (626762) Syncing...
Bildschirmfoto 2022-12-23 um 13 25 02 Bildschirmfoto 2022-12-23 um 13 25 28
Apollon77 commented 1 year ago

Released as 1.0.3