I Connected My Withings Body+ to Home Assistant with an ESP32
11–20 of 35 posts
Re: I Connected My Withings Body+ to Home Assistant with an ESP32
#12I've done it just by using their nice API, no need for any ESP32.
Because OP's hookup works offline, via the Bluetooth.
Re: I Connected My Withings Body+ to Home Assistant with an ESP32
#13Re: I Connected My Withings Body+ to Home Assistant with an ESP32
#14The BMPro app is... well, it's like they actively worked to make it terrible.
I put up with it for 2 years and then had the bright idea to throw the APK at Claude Opus earlier this year. I now no longer have to use their terrible app as it reverse engineered the Bluetooth protocol and I can either use the custom-built Android app, website hosted on GitHub Pages, or the Home Assistant app I built using AI.
It's not perfect, and it has bugs, but it is less buggy than their app. I've been busy at work lately, so I haven't had a chance to resolve the bugs, but I'll get around to it.
I ended up also using Opus to patch the original APK to fix several bugs and inexplicably bad UI choices they made. I still prefer to use my own app, but I have the patched app as a fallback.
Re: I Connected My Withings Body+ to Home Assistant with an ESP32
#15Using AI to reverse engineer undocumented Bluetooth protocols has been a godsend for me. We have an RV that came with a "Smart RV" system from BMPro that controls all of the lights, the air conditioning, starting the generator, leveling, slideouts, and other stuff. The BMPro app is... well, it's like they actively worked to make it terrible. I put up with it for 2 years and then had the bright idea to throw the APK a…
Re: I Connected My Withings Body+ to Home Assistant with an ESP32
#16Withings has a full available API, I wrote a tool to just scrape what I need from the app at https://developer.withings.com/
The experience integrating with Withings was really good. Garmin on the other hand seems to be actively hostile if you (as an end user) want to programmatically interact with their ecosystem.
Re: I Connected My Withings Body+ to Home Assistant with an ESP32
#17Re: I Connected My Withings Body+ to Home Assistant with an ESP32
#18Re: I Connected My Withings Body+ to Home Assistant with an ESP32
#19Using AI to reverse engineer undocumented Bluetooth protocols has been a godsend for me. We have an RV that came with a "Smart RV" system from BMPro that controls all of the lights, the air conditioning, starting the generator, leveling, slideouts, and other stuff. The BMPro app is... well, it's like they actively worked to make it terrible. I put up with it for 2 years and then had the bright idea to throw the APK a…
Just to be pedantic, was it reverse engineered? Or did it just extract it out of the apk? Those are very different things imo
Call it what you will, the point is I do not have the necessary skills to accomplish this task, but I was able to go from an APK to a working implementation that was controlling the lights in my RV in a couple of hours back in early April using whatever was the current version of Opus at the time. While I understand what it did to accomplish this, it might as well be magic for me, because it would take me months of free time to get to where it got.
It also wrote out documentation of the protocol so subsequent work would not require reading decompiled Java code.