March 16, 20233 yr 6 minutes ago, Ikis said: Thank you for your help. I am also uploading another project for ISolar/EASUN SMG II https://github.com/syssi/esphome-smg-ii Good! But note this is for SMG series not for SMX , the registry address are different. Which inverter you have?
March 16, 20233 yr 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
December 10, 20232 yr 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?
December 20, 20232 yr You take it apart, and there are the rx, tx 3.3v, gnd, and the gpio0 port and a usb rs232 adapter and ESPHome-Flasher for gpio0 to gnd.
December 20, 20232 yr 3 minutes ago, Tybord said: You take it apart, and there are the rx, tx 3.3v, gnd, and the gpio0 port and a usb rs232 adapter and ESPHome-Flasher for gpio0 to gnd. Ok, thanks!
January 21, 20242 yr 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?
January 21, 20242 yr 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
January 28, 20242 yr Hi, At last I was able to install esphome firmware in dongle, now, there is someone can tell me the GPIO pin where is connected rs485? Thanks
May 24, 20242 yr 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
May 24, 20242 yr 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.
July 11, 20241 yr 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): This is EspHome webserver on ESP, you can see values in real-time and also change parameters: And this is HomeAssistant integration: 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
September 18, 20241 yr On 2023/10/20 at 11:44 AM, Alex1 said: Anyone know the R232 rj49 pinout? I need rxd, txd and gnd? from https://github.com/syssi/esphome-smg-ii/blob/main/README.md Edited September 18, 20241 yr by pongo
October 26, 20241 yr 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?
January 22, 20251 yr 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.
January 23, 20251 yr 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.
January 30, 20251 yr 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.
January 31, 20251 yr 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.
January 31, 20251 yr 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.
February 3, 20251 yr 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.
February 11, 20251 yr 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.
February 25, 20251 yr 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: kWhThis 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 March 3, 20251 yr 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.