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.

Ar135

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Ar135 got a reaction from Sc00bs in My Sunsynk 8Kw & data collection setup   
    Problem resolved, after the reset the Modbus SN was changed to 00, changed it to 01, restarted the inverter and all readings are back to normal.
  2. Like
    Ar135 reacted to jplab in ESP32 & RS485 connection to Home Assistant   
    Thanks for this! This solved my issue too!
  3. Like
    Ar135 got a reaction from Kylet01 in ESP32 not talking to Home Assistant   
    I had the same issue, remove the VCC from the esp32 and it worked. 
    check here: 
     
  4. Like
    Ar135 got a reaction from Sc00bs in 8Kw SunSynk with ESP32 and RS485 not communicating.   
    I followed @Sc00bs video and got it working, and it's been working for a while, today I updated ESPHome to 2023.9.0 and it broke!
    I now keep getting this:
    I've reverted ESPHome to 2023.8.3 and reloaded the board, and it's still not reading, doesn't make sense! 
    Next step is to revert Home Assistant to a previous backup. (Will advise if that fixes it)
    Anyone have any ideas what to look for?
  5. Like
    Ar135 got a reaction from Sc00bs in 8Kw SunSynk with ESP32 and RS485 not communicating.   
    I Fixed it! (sort of)
    Somehow the connections on the RS485 board came loose, so I reconnected it and it's reading again!
    Here's my connections
     


    Black wire is GND
    Blue is Pin5 > RE
    Yellow is RX > R0
    Green is TX >DI
    Code on the ESP32 - 
    uart: id: mod_bus tx_pin: GPIO1 rx_pin: GPIO3 baud_rate: 9600 stop_bits: 1   modbus: id: deye_modbus flow_control_pin: GPIO5
  6. Like
    Ar135 reacted to iiznh in ESP32 & RS485 connection to Home Assistant   
    You allways need GND/Neg this is the reference point. 
     
    There are various open copies floating around... but imho they are pretty much a verbatim copy of the nodered flows, lots of things need fixing on them, maybe @slipx fixed some of the issues in his version? I haven't looked in months since I built my own version, maybe I'll opensource it once recouped the sunken costs
    I believe there are links and code snippets in this thread
     
  7. Like
    Ar135 reacted to Sc00bs in ESP32 & RS485 connection to Home Assistant   
    @Ar135 Most inverters seem to use pretty much the same modbus register, the only significant  differences are between the 3-phase and single phase inverters mostly on the grid & load side for pretty obvious reasons.
    You can use the files from @slipx's Github page and he has a file for the Sunsynk single and 3 phase inverters, that works on the Deye's as well. 
    For interest sakes, there is a standard for inverter communications that a lot of the manufacturers, include DEYE, have signed up for
    https://sunspec.org/sunspec-modbus-specifications/
    .So it is not only Sunsynk and DEYE that these integrations will work with. 
  8. Like
    Ar135 reacted to dino_coder in ESP32 & RS485 connection to Home Assistant   
    Thanks for this @Ar135. Was about to give up but disconnecting the VCC I managed to get readings from the inverter (Sunsynk 5kW).
  9. Like
    Ar135 got a reaction from dino_coder in ESP32 & RS485 connection to Home Assistant   
    THANKS!!!!!
    I swopped A & B around, but that didn't work.
    What did work was the VCC cable was unplugged and it started pulling data! When i connected the VCC again it stopped!
    Now the question is, do I need the GND and 5V connected on the RS485? Well I answered my own question. If I disconnect the GND I get CRC errors.
    This is what it looks like now:
    ESP32:
     
    RS485 Front:

    RS485 Back

     
    Also I need to setup the correct registers and then I'm all good! Any idea who's repo I can use for the Deye 5.5KW?
    I'm doing this for a 8KW next week, do you think the same connections will work?
    Thanks again for the help!!!
     

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.