In case anyone is interested: I’ve developed an alternative interface / card to the AC2729 based on @betaboon’s integration work. It makes heavy use of button-card
and some other things. You can see the full configuration here.
Hi,
I’m quite new to Home Assistant. I am running it on a RPi4 and got the whole thing as an image from https://www.home-assistant.io/hassio/installation. I tried adding the code from shexbeer’s repository in custom_components, but the component is still unavailable. Can you detail how to install the code from betaboon’s repo ? Tried to follow the instructions in the README there, but I am running the commands in a Terminal add-on and don’t have python or other commands available when I try to execute source aioairctrl-shell.sh
.
LE: I have a Philips AC3059/50 air purifier.
Hi. Are you having any issues with the update interval? Can it be set anyway?
For example, when I send a turn off command, the purifier responds instantly, but it takes minutes for the feedback in the entity state.
You should run it in the container bash. Debugging the Home Assistant Operating System | Home Assistant Developer Docs (home-assistant.io)
Basically you first need to properly install aioairctrl using pip3
Hi,
I’ve installed https://github.com/betaboon/philips-airpurifier version yesterday and it works great for it’s own services.
However I have tried to run fan.set_speed
and fan.turn_off
services with no luck. I have seen that SUPPORT_SET_SPEED
is set in fan.py but it is not working for me. Can anybody here tried this?
EDIT: Restarting server and purifier helps
I have a 2729/50 purifier/humidifier, and I think managed to connect to it using encrypted CoAP (protocol 3), in shexbeer’s integration (installed via HACS). My HA is in a Docker, on Debian, on a NUC machine.
Seems like some things act strangely:
- I can set the mode using the philips-purifier entity (Entity card)
- but I can’t see any philips-purifier services in Developer Tools -> services
- I have a template sensor getting PM25 attribute of philips-purifier
- but the data seems very different than the thing I get from Clean-Home app, or from what is displayed on the purifier! Last evening, during vacuuming, the reading on the device went up to 60-80 for a couple of minutes. But the sensor history is showing no peak in that time, but status of 10-15-ish.
- Also, the attributes of the device don’t seem to get updated. For example, pre-filter replacement timer is stuck at 192 hours, while the app is showing a decreasing number (checked yesterday vs today).
Has anyone had similar issues?
The coap implementations are not perfect and lose connection. On/off commands and status updates stop working after a while.
The best one from my experience is betaboon’s fork. It also loses connection after a while (serverside) but the client/ha can continue to give commands. My automations and service command work seamlessly.
Thanks, the betaboon’s one seems much better indeed! Now I just need to figure out the services. Speed/mode is easy, but now sure about changing the light settings yet.
Hi Lucicop - I feel your pain. I’ve spent the entire day going through forums trying to understand how to get this to work. It seems that there is an expectation that there is a base level of knowledge that you pick up at some point, but until you do, you are kind of stuck.
I suspect that other integrations have more detailed install instructions, but since all of these are forked off of the same common base from last year, no one has bothered to update the readme, just assuming that everyone knows how to do it from things they have picked up along the way.
I have a pair of AC3259’s that I am trying to get installed but am also stuck.
Did you ever make any progress?
The install is quite simple, just add the code as per instructions in the read me. No need to work with the scripts, these are pulled automatically.
What you need to establish is if you have http or coap. All new ones (2020 onwards?) seem to be coap, earlier ones http.
For http I recommend @GeorgeSG’s fork https://github.com/GeorgeSG/philips-airpurifier/tree/py-air-ctrl
For coap use betaboon’s fork.
If you have both (like I have) you need to rename one of the plugin’s platform (manifest.json)
Hi Josh,
No, I took a break from configuring HA and didn’t manage yet to add the air purifier. I’m also in need to find a way to trigger iOS shortcuts on specific locations detected by HA, but didn’t find a way to do that as well. It is a steep learning curve and didn’t have the time lately.
Hi Ronald,
Thanks for the guidance.
GeorgeSG’s worked better - I managed to find the air cleaner as an entity and get some data from it
But I have two challenges still
- I have multiple air cleaners. How do I add a second one? I’ve tried replicating the fan: line (as below), but it doesn’t find the second one.
fan:
platform: philips_airpurifier
host: 192.168.1.173
fan:
platform: philips_airpurifier
host: 192.168.1.172
Also, how do I get them to show up as a Device?
Thanks
Josh
Hi Josh,
it has to look like this (remove the 2nd line with ‘fan:’):
fan:
platform: philips_airpurifier
host: 192.168.1.173
platform: philips_airpurifier
host: 192.168.1.172
It will work this way only:
fan:
- platform: philips_airpurifier
host: 192.168.1.173
- platform: philips_airpurifier
host: 192.168.1.172
I’ve seen a domoticz fix for the proper coap usage. Is there someone who’s trying to implement it to homeassistant? Theoretically it would fix the “random” disconnect from the airpurifiers.
I bought my second one, betaboon’s one is working with this one too, which has a newer firmware:
[modelid] ModelId: AC3858/50
[swversion] Version: Ms4102
[modelid] ModelId: AC3858/50
[swversion] Version: Ms4106
I don’t know if it is the newest firmware, I didn’t try to upgrade it. And ofc it disconnects after a random time too and crashes the integration. Restarting HA helps.
In that case you have http devices, lucky you, much more stable Vs the coap variety.
In addition to @woockie s setup you can add a name to distinguish them in HA.
These show up as entities only, no device functionality.
Best to raise an issue on GitHub. I tried to expand on George work and use pyairctrl but no luck with coap. This is way above my comfort level
Betaboons version works for me, services continue to respond even after it crashes, only sensors don’t update.
Betaboon just released a significant upgrade tackling deprecated fan speed, versioning and hopefully also solving the “lost connection” issue. Available on github.
Only suitable for new models (eg. Encrypted COAP).
I’ve checked the diff, I’m not sure it will solve the crashes. I’ve updated mine and we’ll see.
Btw. at least for 3858 users… The “Filter hepa remaining” attribute is NOT correct. It’s not counting in days. The counter starts from 4800 and substracts 48 every week from it. It’s a % counter. As a workaround if you half the days remaining you’ll get the correct value in percent. For example: “Filter hepa remaining 90 days, 0:00:00” means it’s on 45%.
Thanks for the notification
Edit: more than 1.5 days, no crash yet, both my purifiers are working correctly. I hope I was not right.