Limiter inverter with RS485 load setting


Solar Batteries, Panels, Chargers, Inverters & Mounts at www.batteryhookup.com Save 5% with coupon code "Powerwalls"

I did test the dynamic limiter without the RS485 board on my soyo with broken LCD and custom esp8266 as replacement. Removed the rs485 and connect directly to the socket on the RX pin. The socket where the RS485 board was installed, 5-pin, pins have white marking. Then have the esp8266 send the limiter 4800 baud messages over softserial. Works.

I am pretty sure you can make the KlausiLi firmware work without the RS485 devices too. Note the dev-boards with built-in usb-to-serial will not allow receive to work properly, and you need a 1kohm resistor since soyo is 5V, esp is 3.3V. Should use a "swap();" for serial but unluckily his code is not opensource.

Do not try this if you have USB connected, only OTA updates or you will fry your PC and your Soyo!

I plan to use this with my battery project. Charges bat with PV excess and then feeds back into the net when sun is down. Net usage is measured with shelly 3EM. Tested with $30 Y&H 150W inverter which knows only on/off and overheats. Soyo will be able to adjust dynamically from 100W to 500W.

This: https://github.com/PepeTheFroggie/SolarBatControl is the battery project with the Y&H inverter which will be replaced by the soyo once i merge those projects together.
 

Attachments

  • wiring.png
    wiring.png
    708.9 KB · Views: 99
  • IMG_20230925_112643.jpg
    IMG_20230925_112643.jpg
    1.2 MB · Views: 92
Last edited:
Soyosource, Grid Tie inverter and RS485
Hello
i'm aware, that this is an elder thread, but i did not find any newer...
Well i try to integrate this inverter in my home elctric, and try to communivate with the inverter via RS485. My actual problem is, tha i have to send a hex string with the required power and the string ends with a crc. Seems, it is CRC8, but im not familiar to that. Can annybody tell me how to calculate this CRC? Perhaps someone has a working C-Code or knows where to find???

Thanks and regards
Gerhard
 
Hi friends,

// -- Compute serial packet and send it to inverter (just the 3 bytes that change) --

byte4 = int(L1demand/256); // (2 byte watts as short integer xaxb)
if (byte4 < 0 or byte4 > 256){
byte4 = 0;}
byte5 = int(L1demand)-(byte4 * 256); // (2 byte watts as short integer xaxb)
if (byte5 < 0 or byte5 > 256) {
byte5 = 0;}
byte7 = (264 - byte4 - byte5); //checksum calculation
if (byte7 > 256){
byte7 = 8;}

 
Hi friends,

my Soyosource GTN 1000 with display! bought this year, does not response the status requests via RS485. Is it possible that newer versions of the firmware do not support status requests anymore?
 
Hi
i have such a Soyosource inverter running. i send the wattage i want via microcontroller and RS485, but i don't get any answer on RS485. Do you send a specific command to get a status?

regards
gerhard
 
Hi Gerhard,

there is no direct response from the inverter after a power set command. What I do is discussed in this thread: a special command to get the inverter status like amperes, voltage, temperature. With regard to your question, there are a couple of messages in this thread with sample power set scripts in python (with CRC calculation).
 
Ah ok, thanks, but i dont understand that Phyton-code pack.struct/unpack.struct.... What is really sent to the inverter?

Gerhard
 
Hello Guys

I am using SOYO for year approximately for partial covering my house. Some info her


I would like to ask for help how to use your custom SW please ?
Do I need purchase additional HW? Or Clamp Meter and Invertor can be re-programed?

Right now I have power distribution Grid -> CT -> House <- Solar shed
because Invertor is behind CT I have always covering only 1/2 of house demand is not big deal but now I upgraded Solar's and my battery usually fully charged and house idling on 70-100W x 10 hour = 0.7-1KW which can be covered by ☀️

1718377984895.png



Is possible simply re-program Invertor or Current meter to be able cover down to 0W + surplus if need it ?

I have one with ESP WIFI and RS485 feed from Limiter.

Thank you V.
 
Last edited:
Just find out some DE web https://juniors-world.webnode.page/soyosource-nulleinspeisung/ who try explain a little
Screenshot 2024-06-17 084214.png

- If I correctly understand Wemos or another ESP8266 need to be connected on Input of invertor RS485 to give a command to SoyoSource to achieve Zero feed-in ?

But which device sensing and sending information to Wemos or a ESP8266 by WIFI to achieve Zero feed-in ???
Can anyone explain to me please?
 
Just another Q will this works with Shelly EM single phase?
 

Attachments

  • https___shellystore.co.uk_wp-content_uploads_2021_05_Shelly-EM-Specifications.pdf
    127.6 KB · Views: 28
yes, that's the parts.

To install:
Download the whole zip from Github
Unzip and open the folder 'espflasher' and run 'FlashESP8266.exe'
Select COM port and the firmware_v1.0.3.3.bin - hit 'Flash'
Once the flash is done - restart the ESP
Now on your phone you should see a new wifi network called 'Soyo....'
Connect and go to configuration - select your wifi network and insert the password (12345678) - press save
Now the ESP reboots and connects to your wifi (you should be able to find the ip no. in your router)
Then open a browser and insert the ip no.
 
Last edited:
If I correctly understand of concept:

- Shelly is "TX" and transmit always some packet to my Wi-Fi of condition of my energy consumption
- Mini ESP8266 NodeMCU ESP behave as "Shelly APK" and receive information of energy and transfer this information to correct RAW data for TLL 485
- TTL to RS485 transfer RAW data to RS 485 for invertor
(I suppose ESP8266 need constant 5V for working.)


This mean whole original limiter can be removed and sold

Thank you grundholm

#EDIT :
All purchased now - let see if will works for me ;)

Just Q about GUI is only in DE language ?


Webseite SOYOSOURCE Controller.png
 
Last edited:
yes, that's the parts.

To install:
Download the whole zip from Github
Unzip and open the folder 'espflasher' and run 'FlashESP8266.exe'
Select COM port and the firmware_v1.0.3.3.bin - hit 'Flash'
Once the flash is done - restart the ESP
Now on your phone you should see a new wifi network called 'Soyo....'
Connect and go to configuration - select your wifi network and insert the password - press save
Now the ESP reboots and connects to your wifi (you should be able to find the ip no. in your router)
Then open a browser and insert the ip no.

Hi I did flash wemos d1 mini - please what is a password for SOYO ?

Screenshot 2024-06-24 083909.png

#Update Got it 12345678 ;)
 
Last edited:
Back
Top