ESP32 | Omniksol Solar PV to MQTT Gateway

Last year I have replaced the Soladin 600 inverter for one made by Omniksol. The Omniksol has the option to monitor it using a WiFi module and an online portal made by Omniksol. But if you manage to get a 602 series WiFi module there is the option to read the stats directly from the module on TCP port 8899. In real-time, that is without using the Omniksol online portal.

This works by sending it a magic message like {0x68, 0x02, 0x40, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x16} but this has to be personalised to the inverters serial number.

I have had this working using a modified python script on a Raspberry Pi dumping the stats to an MQTT topic. But after I found the same code in the C language I decided to port the whole thing over to an ESP32 Microcontroller.

The ESP32 also has an integrated OLED display so I used it to visualize some stats.

Subscribe to my YouTube Channel

• Woutrrr Python Data logger:

• Arjenv C code:

• ESP32 Omniksol-MQTT Code:

Leave a Reply

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