I have an AlphaESS Smile-SPB Energy Storage System (ESS). I wanted local control, a straightforward way to control my ESS from HA, and a clean integration, so I built the following:
This should work with many AlphaESS systems. There are photos, screenshots, hardware details and more. This project creates a plug-and-play device that uses MQTT auto-discovery so that once you built/program the hardware, then just plug it in, and the device and entities will appear in HA all ready to be used. Just like a clean integration, no further steps are needed to get the device/entities configured. Unique IDs, units, classes, icons and even entity availability are all provided. Everything is ready to be used by the Energy Dashboard and/or your own dashboards and automations.
I want to be very clear that this is heavily based on another project which is:
I owe a huge amount of credit to that project. Thank you! I made a lot of changes to that code in order to get here, but without that project, I would not have gotten here.
I appreciate any feedback, comments, etc.