Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I want to know protocol used in ISolar SMG II 5Kw

Featured Replies

  • Replies 98
  • Views 53.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Hello all,   In case is not too late and you didn't abandon the project I can confirm that the above protocol is the one used. After many nights spent to reverse-engineering I was able

  • Wow. That's very different to Axperts. Strange that they don't specify the bit rate, parity, etc.

  • Hello, Also I'm looking for easun SMX II 5.6 kW protocol. Edit: I found that SMX II 5.6 is compatible with SRNE inverters protocol. I tried https://github.com/shakthisachintha/SRNE-Hybr

Posted Images

1 hour ago, antonio.ste said:

Good! But note this is for SMG series not for SMX , the registry address are different.

Which inverter you have?

SMGII, it will be ok for me :)

  • 7 months later...
  • 1 month later...

Hi,

Someone can help me on how to flash the original WiFi dongle with esphome or tasmota firmware?

I've try with usb-serial adapter connected to dongle PCB and 3,3 volt put in externally but it don't connect to pc.

 

Any ideas?

  • 2 weeks later...
  • 1 month later...

Hi,

incredibile, I'm not able to reflash the original Dongle.

 

I've connect the Tx and RX port to a RS232->TTL converter.

Put external power (3,3 volt)

Put Service PIN to ground

But is impossible to connect with dongle.

I've try EspHome online, tasmotizer online, tasmotizer local and esptool local.

 

Nothing.

 

Any ideas?

Ok, resolved, the problem was the baud rate of serial, forcing to 9600 esphome was able to flash it.

After flash a "esphome AP" was created and I'm be able to connect it, setup my wireless and now It appears in Home assistant.

Now I must setup modbus.

Someone have any ideas for LED? Can I use?

 

Thanks

  • 3 months later...

Nice topic guys! 

However, there isn't any simple solution to connect the SMGII  inverter to a PC and use an already made software?

Or at least using a raspberry pi loaded with home assistant but driving the inverter directly on it's own RS232 without any ESP32?

Vevor 3.5kw has almost similar MODBUS registers with Easun SMGII, finally found after a loong reverse engineering...

I do not want wifi in my lab from several reasons you better should not know about.

thx

I guess solarassistant and even solaranzeige would do the job, unless you want to write your own scripts.
In fact it's a simple serial connection from RPi/PC to inverter with well known commands you can use.
The protocol descriptions for almost all voltronic inverters (and clones) are available.

  • 1 month later...
On 2023/02/21 at 10:47 AM, pongo said:

You have to attach an RS485/ttl to a ESP8266 (or better a ESP32), as said in previous posts.

Or use an all-in-one ESP32+RS485, for example m5stack atom lite RS485 (as I did) and install on it esphome custom rom.

But you have to read and learn how to do it: esphome is a custom rom project for ESPs born to integrate with HomeAssistant, but can work also stand-alone (webserver for sure works on ESP32).

You can use my yaml configuration file for ESPHome as reference.

This is how atom is connected to inverter (inverter also powers ESP32):

411372269_ImmagineWhatsApp2022-11-21ore12_29_03.thumb.jpg.75321616eb66e393ba57f199fa2048dc.jpg

This is EspHome webserver on ESP, you can see values in real-time and also change parameters:

1795371350_ImmagineWhatsApp2023-01-26ore11_48_48.thumb.jpg.04a947f8abf464f0c09ff0269d2b3d84.jpg

And this is HomeAssistant integration:

2063013624_ImmagineWhatsApp2022-11-21ore11_00_24.thumb.jpg.025c302bb24bbe82607768444adff995.jpg

 

sorry for the question do you use rs232 do I have rs485?
you can spin the configuration
I have a 10.2 kw inverter I would like to use esp32s with rs232 adapter or rs485 adapter

  • 2 months later...
  • 1 month later...
On 2023/03/16 at 6:40 AM, antonio.ste said:

Good! But note this is for SMG series not for SMX , the registry address are different.

Which inverter you have?

Does anyone know the registry addres for the SMH series?

  • 2 months later...

Hello,

I have a different type of inverter, the Easun iGrid SV-4 and I am trying to set programmatically the maximum grid charge current. I can do so via Solar Assistant by using MQTT yet I am still bound to the dreaded: 2,10,20,...120A fixed values. I would like to be able to set these values with finer grain. 

I've tried SolarPower and WatchPower and in there the dropdowns are still bound to those fixed values, however when a change is operated through the LCD menu, the change is gradual with some random intermediate values, which are displayed also in the applications.

So, if I would go the ESPHome route, provided that it would work for my inverter as well, is there a chance to set an integer value between 2 and 120A without being forced to stick to the predefined values? Thank you very much.

I am using this inverter as a controllable power supply to charge the battery from the grid (a grid-tied inverter) in order to consume all production and feed less to the grid.

On 2025/01/22 at 6:29 PM, onobeka said:

So, if I would go the ESPHome route, provided that it would work for my inverter as well, is there a chance to set an integer value between 2 and 120A without being forced to stick to the predefined values? Thank you very much.

Unfortunately, almost certainly not. Voltronic firmware actually checks for the specific values, and NAKs the command if it's not a magic value.

On 2025/01/22 at 6:29 PM, onobeka said:

I am using this inverter as a controllable power supply to charge the battery from the grid (a grid-tied inverter) in order to consume all production and feed less to the grid.

If the inverters happen to be the old 145 V max ones, including Axpert Kings (NOT King IIs), then you could use fully patched firmware with Dynamic Charge Control, which has this exact feature, and in addition does not wear the EEPROM. However, you do need to send a command every so often (one a minute from poor memory), but you could likely work around  that.

Oh wait, it's an iGrid; it isn't even an Axpert, it's an Infini or similar. So that fully patched firmware is not an option. I'm only 90% sure that the Infini firmware also checks for the specific values.

Thank you Coulomb! Indeed, SA recognizes it as an Infini inverter. I can continue like this. I do understand that with a Growatt SPF (5000 or 6000) ES it would be possible to set the max charge current in increments of 1A, yet that would be again a hassle to integrate and I am pretty sure I may reach another inconvenience. 

Speaking about inconvenience, I've noticed something else that looks a bit weird. With the current setup, when the battery is near full or full, even if the max charge current is set to 80A, the inverter can push as much as the battery accepts, for example: 7A. At some moment the battery starts to discharge, because the sun starts to set, however the inverter will remain stuck at 7A charge, while the max is still 80A and the battery is 90%, of course the battery voltage dropped as well to 50V while the bulk/float are set at 52V (15s 940A battery mix of 3xus5000 and 2 DIY 320A MB31 cells with JK BMSes).

          Now, if I would stop/start the inverter, after a restart it would go back to 80A. Or, without the stop/start if I set the max charge to 2A (lower than the 7A) and then back to a higher than 7A, let's say 50A, it would charge again with 50A. This is solvable via a Home Assistant automation, of course. Still, I find it strange. 

19 hours ago, onobeka said:

Speaking about inconvenience, I've noticed something else that looks a bit weird. With the current setup, when the battery is near full or full, even if the max charge current is set to 80A, the inverter can push as much as the battery accepts, for example: 7A. At some moment the battery starts to discharge, because the sun starts to set, however the inverter will remain stuck at 7A charge, while the max is still 80A and the battery is 90%, of course the battery voltage dropped as well to 50V while the bulk/float are set at 52V (15s 940A battery mix of 3xus5000 and 2 DIY 320A MB31 cells with JK BMSes).

I believe that's an example of integral windup. When a control system is at maximum output for a while, if nothing is done to prevent it, the Integral control term (the "I" in PI or PID control) increases without limit, and when circumstances change, the control system takes a long time to reduce the large integral term to a reasonable value. The result is typically overshoot, but in this case it's undershoot.

It's a real shame as control systems are a huge part of the inverter firmware's job. Many things need controlling: solar and utility charge current, bus and AC output voltage, DC->AC converter amplitude and phase, and so on. 

I would have expected that the AC charge would behave the same as the solar charge, trying to keep the battery at float, but it clearly does not. Maybe it is related to the fact that the inverter in the discussion(which does not have any PVs) is set as “Solar first” for charging mode?!?. I can set it to “Solar and utility simultaneously” to see if it makes a difference.

On 2025/02/01 at 3:48 AM, onobeka said:

I can set it to “Solar and utility simultaneously” to see if it makes a difference.

It should not make any difference, but it might anyway. When a source is not available, the firmware is supposed to take the next available option in sequence.

  • 2 weeks later...

Indeed, it does not make a difference. Meanwhile I can sell to grid so I've tuned my automation such that I am always selling a little bit and consuming the rest via the safe margin of 0-500W that goes to the grid. For the other issue, I've set the inverter back to 2A charge, briefly, when I see that it's set to max (80A in my case, although maximum would be 120A) and the battery is discharging. This way, it will start again going to 10, 20, 30 ... 80A.

  • 2 weeks later...

Hello, got it to work!


I got myself an EASUN SMG III 6,2kw.
Does anybody here know if this inverters do count the total energy ever produced?

Quote

sensor:
  - platform: total_daily_energy
    name: "${name} PV energy today"
    restore: true
    icon: mdi:counter
    power_id: smg0_pv_average_power
    filters:
      # Multiplication factor from W to kW is 0.001
      - multiply: 0.001
    unit_of_measurement: kWh

This reads energy just for 1 day. Can total energy production also be read, or the last 365 days?
Frank
 

EDIT:

Did anyone manage to have the esp32 working parallel to the Wifi Dongle.
I'd like to have my Grafana Dashboard and DESSMonitor.

Edited by the_Ace

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.