@Geoff_Blachstein@imadunatic you are right, looks like the “Level” value is available in the first call - great.
I changed my sensor to use the RESTful Sensor - Home Assistant form instead of curl. This does allow you to easily move the authentication value entirely to your secrets file: (note the value will have to include the "Basic " in front of it as you are passing it as the value of the entire Authorization header.
Thanks for the update on this guys. Mine broke as well. The updated command line sensor works great for me. Unfortunately, I cannot seem to get the REST sensor to work. I’d prefer that method, but I’m just happy to have a working sensor again!
@mkjr75 - anything in the homeassistant logs for the rest calls? It could be unrelated (as I would expect it to impact curls calls as well) but I recently noticed an increase in timeouts for the huum api. I’ve set a longer timeout option and am monitoring how that goes.
@diffhome - nothing I’ve been able to find. I just recently turned on REST debug, but I’m not finding any entries in the log, unless I’m in the wrong area (I don’t typically do a ton of debugging, most things just work!)
I don’t think anyone has been able to figure out communicating to the device directly, just through the neevo api (which needs an account and a paid data plan etc). Local device communication would be the holy grail
I’m trying to make the adjustment to the new endpoint, but my testing via curl keeps returning a 502. Anyone else seeing this behavior? I’m pretty sure that I’m fully passing the login check, as prefixing anything to the front of that base64 string makes it fail earlier with a 401.
@tinker_ha — Just want to thank you for the work you did here. I got an ESP32 device reading the data directly using your recipe with little fuss, and it’s great to have that working as well as the API other folks shared.
I did mine with a shell script that log the info to a file when the data return the % level. Then a command line sensor that “cat” the log every 60sec. Does the job and haven’t failed me since I implemented it some time ago…