Ar135
Members
-
Joined
-
Last visited
Reputation Activity
-
Ar135 got a reaction from Sc00bs in My Sunsynk 8Kw & data collection setupProblem 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.
-
Ar135 reacted to jplab in ESP32 & RS485 connection to Home AssistantThanks for this! This solved my issue too!
-
Ar135 got a reaction from Kylet01 in ESP32 not talking to Home AssistantI had the same issue, remove the VCC from the esp32 and it worked.
check here:
-
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?
-
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 -
Ar135 reacted to iiznh in ESP32 & RS485 connection to Home AssistantYou 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
-
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.
-
Ar135 reacted to dino_coder in ESP32 & RS485 connection to Home AssistantThanks for this @Ar135. Was about to give up but disconnecting the VCC I managed to get readings from the inverter (Sunsynk 5kW).
-
Ar135 got a reaction from dino_coder in ESP32 & RS485 connection to Home AssistantTHANKS!!!!!
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!!!