Hi guys,
Just got my 6000xp fired up and been playing around with pulling data from this unit. I tested Solar-Assistant and it works but looks pretty limited on what you can actually control. So I kept looking for alternatives and found this Home Assistant Add-on/Docker package...
I currently have Solar Panels on my roof with Enphase Micro-inverters that are grid tied. Recently I installed a EG4 6000XP with a Indoor Power Pro battery. I have installed a critical loads sub panel that runs off the 6000XP. Currently I only charge the battery through the grid connection...
I took your code and made it work with the Lilygo T-CAN485 and added a few features that you didnt have:
https://github.com/dresslerc/eg4-6000xp-esphome/tree/main
I also ran into the issue where the 6000xp crashes when overloading the RS485 bus. The latest code in the github seems pretty...
I just setup a ESP32-Poe with this and yes you are right. For the MAX485 you need a flow control bit. I added this under the modbus item:
modbus:
- uart_id: uart_modbus_inverter_1
id: modbus_inverter_1
flow_control_pin: GPIO033