betaboon / philips-airpurifier-coap

💨 Philips AirPurifier custom component for Home Assistant. With support for new Devices with CoAP protocol. Tested on AC2729/10 (bought early 2020)
70 stars 31 forks source link

Not all purifiers load when restarting HA #12

Open networkpotato opened 3 years ago

networkpotato commented 3 years ago

I have integrated 3x AC1214 and when I restart Home Assistant, it's pretty random if they all come up or not. Sometimes they all load fine, the next restart only one of them load and the other two are unavailable, the next restart all 3 are unavailable etc.

barbatron commented 3 years ago

My 1214 also takes somewhere between 8 and 30 minutes (typically ~10) to pop back from "unavailable" after HA restart.

networkpotato commented 3 years ago

Well, the longest I have tested so far is 2 hours, still not up.

networkpotato commented 3 years ago

Now they won't load at all, either of them. No matter how many times I restart :(

djanosz commented 3 years ago

What does your configuration look like, I can't add. second purifier. I will be grateful for your help.

networkpotato commented 3 years ago

What does your configuration look like, I can't add. second purifier. I will be grateful for your help.

https://community.home-assistant.io/t/philips-air-purifier/53030/161

djanosz commented 3 years ago

What does your configuration look like, I can't add. second purifier. I will be grateful for your help.

https://community.home-assistant.io/t/philips-air-purifier/53030/161

Thank you, it works.

betaboon commented 3 years ago

@ludipq @barbatron i just released a new version which might also have solved this issue.

if you find the time please test and report back :)

networkpotato commented 3 years ago

@ludipq @barbatron i just released a new version which might also have solved this issue.

if you find the time please test and report back :)

Looks like the update fixed it, but my logs are being spammed with this message every ten seconds:

2021-03-21 11:33:14 WARNING (MainThread) [coap] Did not receive requested pktinfo ancdata on message from ('::ffff:192.168.30.18', 5683, 0, 0)

networkpotato commented 3 years ago

Still getting this log spam after upgrading to latest version