Full funcion gateway for getting and settings values via serial port between voltronics inverters and Home Assistant. After flash via Xloader to Arduino Mega 2560, please load default settings, by connecting pin 40 and GND and restart arduino. Default ip adress is 192.168.0.122, default logins are user/user or admin/admin. In webinterface, set MQTT parameters to broker in HA. You can use special function, COMMAND. This send message with automaticaly calculated CRC to invertor, and you get any answer !!!
If you want use Nextion TFT display for settings inverters, you need microSD card to import tft file to display.
Arduino Mega 2560 or a clone
Wiznet Ethernet Shield W5100
UART/RS232 converter ( 1 foreach inverter )
Nextion LCD Display type NX8048K050_011 (5" Enhanced) - optional
Serial connection on Arduino:
Serial 1: Inverter 1
Serial 2: Inverter 2
Serial 3: Nextion display
I am looking into an cheep inverter for charging batteries at night with cheep electricity and use it during the day when the price is high.
With this gateway, is it possible to make an Easun inverter to charge batteries specific hours and then discharge the batteries specific hours when price is high controlled from Home Assistant?
The version that is shared, is web library webduino, that not work with SAMD21 CPU. Now I am working on a new version, because is very much requirements for read from three inverters, and mega is no longer sufficient for this purpose. It will also give more space to meet other requirements in the future. However, the current version is fully functional, I personally use it to read data from two inverters and it works without any problems, does not freeze and is reliable