Mine crashed after approx 36 hours :); got my hopes up but alas… on github some logs are being exchanged.
Hi folks!
New to HA, trying to make this work as my first integration, so looking for some help as it’s not working “out of the box” for me… Need to figure out right add-on before digging into what’s not working…
I have AC4236, 2 months old so it should be encrypted COAP is I understand this thread correctly. But…
- After installing Betaboon’s add-on, nothing at all shows up in entities
- After installing Shexbeer’s add-on, it shows up in entities with state “unknown” and zero services (protocol 2); nothing shows up with protocols 1 or 3
- After installing xMrVizzy’s add-on, it shows up in entities with state “unavailable”, and all attributes visible
So, which add-on should I be working with?
Thanks!
Unfortunately, the Philips devices seem to be difficult to support. I have two devices but both are shaky. The best integration for me so far has been the work of betaboon. It focuses on the encrypted Coap protocol.
Many things can go wrong on the way. Do you run the philips devices on the same network as HA? I had it on a different VLAN which made it tricky for the Coap messages to reach HA.
Betaboon has a little tool called aioairctrl
in his repository. With that you can check from the command line if the devices are visible and responsive.
Tnx for your thoughts!
Philips devices are on the same network, although on guest network (2.4), but same subnet and are normally visible from the main network (which is dual band). But, I guess that’s one thing I could experiment with…
Will try aioairctrl
too…
Cheers
Here is my configuration for your reference, including some logging:
# Philips Air Purifier
logger:
default: warn
logs:
custom_components.philips_airpurifier: debug
coap: debug
fan:
- platform: philips_airpurifier
host: !secret philips_ac2889_host
model: ac2889
name: Luftreiniger
- platform: philips_airpurifier
host: !secret philips_ac2729_host
model: ac2729
name: Luftreiniger
I have defined the IP addresses in the secrets.yaml
file. Please also note that the betaboon integration is named with an underscore _
and not with a minus -
like shexbeer. Getting this wrong was my first mistake when I almost gave up.
Thanks for sharing @kongo09!
Turns out it was a network issue. After moving the purifier to main network, it all worked fine.
Funny you should mention the spelling for config file… I also realized something was different after config file couldn’t be validated, but couldn’t for the life of me spot the difference! (Time for eyes check?) So, I ended up copying example config from the repo every time and changing the IP adress…
So which integration are you using now? betaboon?
Yeah, betaboon worked perfectly out of the box after switching the network.
About 10 days and the newer is still working, the older was stopped after about 1.5 days as I wrote. The samples are much more rare on the newer one though, so probably Philips changed something important too in the firmware. I’ll try to upgrade the older one.
10 days sounds promising - which version are you on / which model?
Mine is ac2889, Software version 1.0.7, Wifi version [email protected]
How do you upgrade the firmware?
The newer one:
[swversion] Version: Ms4106
[DeviceVersion] DeviceVersion: 1.0.6
[WifiVersion] WifiVersion: [email protected]
The older is Ms4102 and WifiVersion: AWS_Philips_AIR@53. IIRC the app can upgrade the firmware, didn’t check yet.
FYI - the recent fan_speed changes broke my custom component (HTTP version) - this has been fixed in @GeorgeSG 's new fork (only for older HTTP models!):
What is the best version of the Lovelace card for Philips Air Purifier/Humidifier?
I did one based on the custom button card:
Sad but I forgot to block the internet connection of one of my air purifiers. It upgraded itself the firmware and from that time I can’t see it in my home assistant. The weird thing is that even the original air matters application sees it offline if I don’t enable the internet connection for it again. Does anyone have an idea how to use it again properly from my homeassistant?
thanks,
W.
Ah, that might explain why it stopped working for me as well…
Hi,
I haven’t read through he whole topic, but I’m using https://github.com/betaboon/philips-airpurifier-coap, i don’t have any issues connecting it to HA
I also use the app (and also ‘air matters’)
Not sure if my firmware is the latest though:
Hope it helps
You are right. After I saw it updated the firmware and it doesn’t work I blocked it’s internet access. Now I removed the block and it works again properly locally too.
Something is wrong with that new firmware. Mine was never blocked from the internet. It just stopped reporting. Both to Air Matters (Clean Home) and to HA. Actually it was responding to commands from HA. So today, I’ve restarted HA and lost all control. Then I noticed that it was not updating the values in its own app, so I unpluged it and back, all works then in the app. So another HA restart, and it works again in HA as well. I am checking now a few hours later and there are no updates in HA and there are no updates in the app neither. So, any idea what’s going on?
My 2889 is completely unusable. It is logged onto wifi (I can see it from the Unifi controller) and both apps detect it as being nearby. But after adding it the apps just spin forever, never being able to query it. I tried using aioairctrl
from https://github.com/betaboon/philips-airpurifier.git which could query it before, and it just hangs forever. I’ve not found a way to completely reset the device – trying to re-pair the wifi just has the app ending up with “something went wrong”. It is now just an expensive dumb air filter.
My 3829 works just fine - from the app, HA, and aioairctrl
.