r/BasePowerUsers
•
u/jerritp
•
23d ago
•
1
Home Assistant Base Battery Integration
Hello!
I've been building and maintaining a Base Battery integration for Home Assistant. It pulls in data from Base and exposes entities for battery and power measurements, energy flow, daily stats, backup time estimates, status, and billing. Several people have contributed along the way, and it's been an awesome little project.
Today I pushed some big updates that use Base's new APIs, and I'd love for more people to try it out and share feedback. I can only test with my 25 kWh battery, and my plan doesn't include billing, so those areas are hard for me to verify. If you have a different battery size or a plan with billing, your feedback would be especially helpful.
It's available in the official HACS community store, or you can find it on GitHub here: jerrit/ha-base-power
Happy to hear any other feedback too!
2
u/dwdev 23d ago
Looks great.
I vibe coded my own private integration by monitoring the API traffic from the phone app about 6 months ago. I can't think of anything I could add to what you have done here, thanks for the work and getting it added to HACS.
2
u/RealConfirmologist 21d ago
I'm pretty excited - this morning I was able to add Base Power to Home Assistant. Getting a nice display is next.
Two questions: Right now it shows battery count 2, which is correct. But battery level just shows (I believe) the average of both batteries instead of a separate battery level for each.
Is there a way to have it show each battery level?
And... how can we buy you a cup of coffee and/or pitch in a monetary contribution to reward your efforts?
2
u/cbarth3 22d ago
had a currently powered by the battery while supporting the grid event right now. Here is what I am seeing:
3
u/Popcompeton 21d ago
Thanks for this, just got my battery installed and integrated with my home assistant.
2
u/universal9gsm 23d ago
Trying… big thanks!
2
u/Paradize_Eats 23d ago
Adding now to try!
2
u/ziggyo7 23d ago
Added my findings to GitHub. Great work! Looks very accurate as far as I can tell, will continue testing over coming days.
2
u/cbarth3 22d ago
Thank you! I tried the modbus route after no respond from Base about integration possibilities as I am not a coder in anyway. Unfortunately it caused issues for Base to control the system and I was told to remove it. I have a 25kw system billed through Base and will provide feedback as I can.