Blueair

These purifiers connect to IP.

I don't suppose there is any support for controlling things like fan speed via Hubitat? The Blueair app can talk to it...but assuming that is via API calls.

It appears as though Home Assistant integrations exist, so it’s probably not impossible. Someone would have to write a Hubitat integration for it.

Does it have any documentation for the API that you can find.

That’s kind of not my area of expertise and I’m not sure

Oh, I see they don’t share their API, but some people have backwards engineered, and figured a few things out

No idea what that even means

Basically it means is there isn't a documented API for a community developer to write against. For someone to write a driver they neeed to essentially hack the devices communication. Generally by monitoring the devices network packets to see what it is sending and reciving and decipher it. Not a straight forward task and also generally something that can be broken easily by the OEM if they choose to.

You may be able to ask ai to research it online and write you a driver. That can take a bit of time and trial and error to get it all working. Depending on the tool it may be able to look what has been figured out for other platforms and duplicate it for Hubitat.

I’m not a software developer, so if I wanted to give this a try, I’d start by pointing my LLM of choice at a home assistant integration that seems to be actively maintained and instructing it to use that as the basis for creating a Hubitat integration.

Presumably the hard work of reverse engineering the API calls has already been done for the home assistant integration, though I have no idea if that means no further reverse engineering would be required to get something working with Hubitat.

A quick search on this topic points to the Blueair stuff using allot of AWS API gateway and AWS IOT Core functionality. That isn't something simple to integrate with. Most of the solutions i have found which seem very beta appear to lean on python to run essentially a intermediate API server and local MQTT broker along wth doing some DNS redirecting to route traffic to the local servers instead of BlueAir's cloud. Nothing seems cleancut, but it can't hurt to try.

I will say this. Trying to get Hubitat to talk directly to AWS IOT Core isn't something that will likely happen. I had a similar potential question for my Govee Integration, and it never got anywhere. I do have a Published API to work from though so it wasn't critical.

:stuck_out_tongue: If you consider looking at Govee Life products, they do have Air Purifiers as well as various sensor devices. I have 3 of Govee's air purifiers and they all work with Hubitat along with many others.

Thanks for ALL that info. I bought the BlueAir based on Consumer Reports and a few other reviews...I'm glad I have it. My guess is then I just leave it on 24x7 on low. Maybe power it on/off with an outlet...but assuming if I did I'd then would have to turn it on or it would stop running on it's own...It just came a couple hours ago and have not had a chance to play with it much yet.

Again, thanks for all the detail ...I learn something new every day from you guys!!!

I've only done this once...but is there a chance AI could convert the HA code?

I have some of their older products and just power on/off the outlet as needed. Note that if you do that, the device will not remember how many hours they've run, so you need to monitor tha t on your own. Here's an example:

Out of curiosity which one did you get. They do look nice.

There is a chance but from what @mavrrick58 said (and he knows a lot more about both coding and LLMs than I do), it sounds like it could be pretty slim.

I wouldn't say the odds are slim something could be figured out, but it wouldn't be a simple driver or app. It would likely require some combination of a few services and network manipulation based on what i found about the Home Assistant solutions.

AWS IOT Core as far as I could find is not something Hubitat could directly connect with. I experiemented allot with the Govee AWS IOT core stuff and if Hubitat could connect, certain aspects of my integration would be allot different. Unfortunately there are some aspects of how the AWS IOT Core SDK performs the connectivity that are just not supported by Hubitat.

If you want AI to try to do it, setup a AI Agent/harness that you can let iterate on the code. I made huge progress working on a zigbee driver recently until i got to a point were I needed to sniff the zigbee network and watch the exact traffic between the device and the hub for proprietry clusters.

I used the Hermes Agent and had it connected to OpenAI's ChatGPT 6-luna model. I told it how to access to the logging on the hub, developer page, and the local AI connector integration. It has a bunch of other tools it can use to help perform development tasks.

Thanks...the good news is that when I unplugged it and plugged it back in...it came up running in the same state it was before...

Blue 311i Max

Easy from Amazon....

Last night was the first night I ran it...and sure maybe something else was different, but something made a huge difference...

Impressive...but probably way too much for me to tackle...thx!