kongo09 / philips-airpurifier-coap

💨 Philips AirPurifier custom component for Home Assistant. Supports local CoAP protocol.
156 stars 22 forks source link

How to troubleshoot the AC5659? #90

Closed cln-io closed 5 months ago

cln-io commented 8 months ago

I'm struggling to make this work with the AC5659 I'm fairly certain that this device doesn't communicate over CoAP, as calls over HTTP work, not CoAP

I think I will have to switch to a library/HA custom_component with HTTP support as this seems to be an older device?

When using airctrl

(env) ~ ❯❯❯ airctrl --ipaddr 192.168.1.92 --protocol http
[om]                          Fan speed: 1
[pwr]                         Power: ON
[cl]                          Child lock: False
[aqil]                        Light brightness: 100
[uil]                         Buttons light: ON
[mode]                        Mode: allergen
[pm25]                        PM25: 2
[iaql]                        Allergen index: 1
[aqit]                        Air quality notification threshold: 7
[tvoc]                        Total volatile organic compounds: 1
[ddp]                         Used index: PM2.5
[rddp]                        rddp: 1

trying over coap protocol just times out

(env) ~ ❯❯❯ airctrl --ipaddr 192.168.1.92 --protocol coap

firmware info

(env) ~ ❯❯❯ airctrl --ipaddr 192.168.1.92 --firmware                                                               ✘ 130 
Name: AC5659_10
version: 5
upgrade: 
state: idle
progress: 0
statusmsg: 
mandatory: False

app device info on firmware

image
kongo09 commented 5 months ago

Unfortunately, this integration only support encrypted CoAP models.