Thought I'd share my journey of integrating data from the SolarCloudSystem/EG4 API directly into Home Assistant using custom sensors and scripts. This approach bypasses alternative solutions that rely on LuxPower or Solar Assistant, providing a direct connection to the web API ( e.g...
Reposting from https://diysolarforum.com/threads/eg4-rest-api.98576/post-1381231
ok so the first attempt at custom integration has started...
https://github.com/twistedroutes/eg4_inverter_ha
using the api from
https://github.com/twistedroutes/eg4_inverter_api
I haven't written the readme...
I know how to do the writes but I'm hesitating until it's been used for reads for a while. My main issue is that I have only seen the API responses for the 12000xp and would need to see a few other models to ensure I'm writing the right things. Then I also have to find the source for the value...
Sounds like you have the right settings... I assume you're using the correct port. For me, battery had to be set to 0 or 1. Maybe throw in some images to confirm the orange cable is in the right place, dip is correct etc?
Here's my python API/SDK https://pypi.org/project/eg4-inverter-api/0.1.1/
I'd you need an insomnia collection or an openAPI spec, I've got those too. I posted some highlights of the discover process in another thread.
I'm new to eg4 and only have exposure to a single 12000xp that has no grid...
Sometimes there's a timing issue and you have to "wait" or force run it again.
Try a refresh of the configuration files from the developer section (not a restart).
I'm just re-writing the API as a python package today, and will then figure out how to create an HA Integration that you can just...
For s***s and giggles I have been playing around with adding data from my EG4 web monitor to my ESP32 based weather monitor.
This uses the approach I posted elsewhere in this form to get data from monitor.eg4... via REST(like) and display on the screen.
Q: Would be interested to hear what...
Would be interested to hear what CRITICAL info they would want to see on such a display. It's probably less than this, but maybe not. I am also considering adding a dedicated EG4 screen for additional details.
You can do the same with just NAT, DNAT specifically. I have a rule in my router that traffic FROM my network TO 10.10.10.1 should be translated to 192.168.x.y (x.y is the singles IP address)
ok so the first attempt at custom integration has started...
https://github.com/twistedroutes/eg4_inverter_ha
I've got to write up some tests, validate the data scaling (e.g. where EG4 provide 5100 to represent 51.00 V), likely create a few virtual sensors (a sensor made from other sensors...
Hi everyone,
I’m setting up 4x EG4 Wall Mount Indoor 280Ah Batteries with an EG4 12000XP inverter and would love some feedback on my design before finalizing it. I want to ensure that I have safe, balanced, and efficient power distribution while also selecting the best busbar and overcurrent...
eg4-inverter-api (Python)
I may take a look at incorporating LOCAL mode at some point, but that's a lot of modbus to decode. lxp-bridge is no longer maintained, so I'm thinking this cloud approach to the API may be the way for now, but I'll keep a view to adding a local mode in the future. I...