I want to share a small win with Mopeka sensors. I have propane tanks located quite far from the house, and the standard Bluetooth integration in HA didn’t work at all, simply because it lacked the range. I had to buy their native WiFi Bridge, but then I faced the fact that there is no Mopeka cloud support in Home Assistant.
In short, I couldn’t stand it and wrote my own custom integration that works directly with the Mopeka Cloud API. I’ve been testing it for a week now, it’s flying great, data arrives stably, no dropouts.
What’s interesting about it, everything is included, the integration immediately calculates everything: fill percentages, liters, gallons, temperature and even signal quality. No need to mess around with huge YAML templates to recalculate inches.
Support for multiple accounts and any number of sensors. If you have several objects, you can add all accounts at once.
But the most interesting thing I found when I was reverse engineering their API. It turns out Mopeka stores data history on servers for the last 90 days! I wrote a separate Python client for this.
Repository is public, use it for health: GitHub - MedVedZot/mopeka-ha: Home Assistant custom integration for Mopeka cloud tank sensors · GitHub
Right now I’m waiting for official HACS approval (PR is already up), but you can install and test it right now as a custom repository.
If you have ideas on what else to add, or have questions about how the API works, write me, I’ll be happy to answer!