-
Deye 5Kw RS485 port for Home Assistant
Thanks for your quick reply and sorry for the delay. Tricky week with work I finally changes the MODBUS SN to 01, but still no luck getting data :(. I have made a more detailed post on my current situation this thread. Again, thanks for you help!
-
My Sunsynk 8Kw & data collection setup
Hi. I wonder if you could give a second, third or 4th eye to what I have done for pulling my DEYE data with ESPhome. I have tried for a week now to pull data from it into the ESPhome without success. I went over all the pages on this thread (and some others) and I extracted good ideas to try out, but without luck. My setup: Single DEYE SUN-5K-SG03LP1-EU with a single 5KW pylontech battery. Inverter has Solarman adapter (I'm pulling data from it into to Home assistant with the HACS integration) Since I want to control it from Home Assistant, I'm trying to connect it with the RS485, as done in these cases: https://github.com/klatremis/esphome-for-deye https://www.youtube.com/watch?v=odajXzCnIpE&t=1s https://www.youtube.com/watch?v=89Yne9QNv0w I have an ESP32dev with a TTL-RS485 (CP2102 USB-UART 6 in 1, https://es.aliexpress.com/item/1005004948562313.html). See photos below of the connections (not intendeed to be the final implementation ) ESPhome is installed and yaml file is placed and running (I attach the file I used and the logs from ESPhome) On home assistant all entities are enabled, but with unknown value. I believe the problem is between the RS485 and the inverter given the logs I get from the ESPhome (attached) I'm running out of ideas about what to do. On YAML file I mostly tried different values for the modbus_controller address: 1, 0x1, 0x01. But all the rest seems ok For LAN connector I tried using pin 1 and 2, or 7 and 8, or 6 (ground) 7 8 (polarity is correct). Last I tried 1/8 (B) and 2/7 (A) simultaneusly. Although, given the photo from the port in the inverter it seems only pins 6 to 8 are wired in the board. At the end of the RJ45 I measure around 3.3v between pin 7 and 8 . There is no voltage between GND (6) and B (8) I also have doubts about the ports. I tried with the BMS 485 (top left) and the 485 (bottom right). No luck on either. The CAN 485 is used for the battery and honestly I don't dare to use it, but from the ports available and from what I have read, it shouldn't be used. On the Inverter, the modbus is set to 01 (it was 00 originally). I'm a little bit temped to change the TTL-RS485, however, from the logs my interpretation is that the TTL-RS485 is doing the conversion. But maybe I should try buying this one? Any help / ideas is highly apreciated. Thanks! EspHomeDeye.yaml logs_inverter_logs.txt
-
Cristian joined the community
-
Deye 5Kw RS485 port for Home Assistant
Hi, could you share a little bit more about your setup? I have a single Deye SG03 5KW, which have same connectors as yours, but I don't get any data. On my setup I have a ESP32dev and I'm using pins 16/17. On the TTL to RS485, the RX light is blinking (TX nothing), but no luck On the inverter, the modbus SN is "00", not 01. Does it work with 0, or should I change it to 1? Does it have any other implications to make that change (eg. battery connection)? Could you share your ESP32 yaml? Thanks
Cristian
Members
-
Joined
-
Last visited