Integration of WHES Agave with Home Assistant

I have successfully connected my WHES single phase Agave system to Home Assistant, which means I can now use automations to avoid draining the house battery when charging the car.

I prefer this to making the system ‘blind’ to the charger as many installers are doing currently. Although it does get round the problem caused by using Octopus Intelligent Go and similar tariffs, it means that you don’t get a complete picture of your usage through the monitoring app, and also poses a risk, albeit small, of blowing the DNO fuse.

With the help of Claude AI in generating the YAML code for HA, an ESP32 board and RS485 to TTL converter, the system is now running smoothly after a few teething problems. The code generated by Claude had a few mistakes that needed editing out, plus a few tweaks to make it work the way I have everything wired here needed a bit of experimentation to get right. I also discovered the Wifi antenna on the ESP32 board I bought was very poor, so had to relocate it next to the router to avoid dropouts. However, ti all seems to be running smoothly now, and I just need to perfect my automations in HA.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *