kongo09 / philips-airpurifier-coap

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

Trying to connect my AC3033/10 #93

Closed Jimam123 closed 8 months ago

Jimam123 commented 10 months ago

I am trying to connect my AC3033/10, but it always times out. The connection in the Philips app is working just fine. I already tried increasing the timeout to 180 seconds, but it did not change anything.


2023-11-11 19:51:10.563 DEBUG (MainThread) [aioairctrl.coap.client] syncing
2023-11-11 19:51:10.568 DEBUG (MainThread) [coap] Sending request - Token: 50ad, Remote: <UDP6EndpointAddress 192.168.18.12>
2023-11-11 19:51:10.568 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7f68804a50: NON POST (MID 23244, token 50ad) remote <UDP6EndpointAddress 192.168.18.12>, 1 option(s), 8 byte(s) payload>
2023-11-11 19:51:10.574 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0x7f683e6cd0: NON 2.05 Content (MID 23244, token 50ad) remote <UDP6EndpointAddress 192.168.18.12 (locally 192.168.18.22%end0)>, 1 option(s), 8 byte(s) payload>
2023-11-11 19:51:10.575 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0x7f683e6cd0: NON 2.05 Content (MID 23244, token 50ad) remote <UDP6EndpointAddress 192.168.18.12 (locally 192.168.18.22%end0)>, 1 option(s), 8 byte(s) payload>
2023-11-11 19:51:10.575 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0x7f683e6cd0: NON 2.05 Content (MID 23244, token 50ad) remote <UDP6EndpointAddress 192.168.18.12 (locally 192.168.18.22%end0)>, 1 option(s), 8 byte(s) payload> matched to request <Pipe at 0x7f6874ead0 around <aiocoap.Message at 0x7f68804a50: NON POST (MID 23244, token 50ad) remote <UDP6EndpointAddress 192.168.18.12>, 1 option(s), 8 byte(s) payload> with 2 callbacks>
2023-11-11 19:51:10.576 DEBUG (MainThread) [aioairctrl.coap.client] synced: 7088B941
2023-11-11 19:51:10.576 DEBUG (MainThread) [custom_components.philips_airpurifier_coap.config_flow] got a valid client
2023-11-11 19:51:10.576 DEBUG (MainThread) [custom_components.philips_airpurifier_coap.config_flow] trying to get status
2023-11-11 19:51:10.577 DEBUG (MainThread) [aioairctrl.coap.client] retrieving status
2023-11-11 19:51:10.579 DEBUG (MainThread) [coap] Sending request - Token: 50ae, Remote: <UDP6EndpointAddress 192.168.18.12>
2023-11-11 19:51:10.579 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7f683b34d0: NON GET (MID 23245, token 50ae) remote <UDP6EndpointAddress 192.168.18.12>, 2 option(s)>
2023-11-11 19:51:50.805 ERROR (MainThread) [coap] Connection loss was not expected.
2023-11-11 19:54:10.577 WARNING (MainThread) [custom_components.philips_airpurifier_coap.config_flow] Timeout, host 192.168.18.12 doesn't answer, aborting```
kongo09 commented 8 months ago

This might be the connectivity problem that many people experience. Maybe it's your device, maybe your network. I'm sorry, but I cannot help. In theory, the AC3033 should work.