Growatt ShineWiFi-X with Solax-Modbus using esphome_modbus_bridge

Cooked this esphome yaml together to re-flash my Growatt ShineWiFi-X dongle.

I’m using it with the Solax integration on a Growatt MOD 4000TL3-XH, but it should work on any model.

I re-used the led’s to:

  • Green → TX
  • Red–> RX
  • Blue–>Status ;If no clients, just a 1Hz heartbeat, otherwise a 100ms pulse for every client (with a 3s interval).


For flashing the firmware it is required to jump GPIO0 with gnd during power up.
You can either flash by USB of TTL

PS: I advice to take a backup of your current ShineWifi-X firmware, in case you ever want to go back :thinking:

To backup:

esptool.py -b 115200 --port com3 read_flash 0x00000 0x400000 original_firmware.bin

To Restore:

esptool.py --port com3 write_flash 0x00000 ./original_firmware.bin

Great thanks @rosenrot00 for writing the esphome2modbus bridge!!

1 Like

Hey @aceindy, interesting project. I’m looking at flashing my shinewifi-x with esphome as well and looking at different projects. Could you explain why you used the Solax integration with modbus? Does it have any advantages compared to using the esphome component here https://esphome.io/components/sensor/growatt_solar/? Thanks for the answer

Hallo @ikbenfrank ,

I found the sensors from that esp very limited compared to Solax:

And, I not only want to retrieve data, but also be able to control the inverter :wink:

Which sensors do you have with solax ? Can you share a screenshot?

they don’t fit on one screenshot… but here are a few



most important I can limit return power (as in the nearby future the energy price might become negative :wink:)

PS: it can also handle batteries (which i don’t have …yet :grin:)

2 Likes

@aceindy thanks for the explanation. It does have a lot of advantages when I want to control the inverter more.

Sounds like @ikbenfrank is, like me,from the Netherlands too, so guess you’ll have the same ‘salderen’ issue some day :thinking: