Hi there w1tw0lf, hereby an update from our discussion so far.
I purchased the same adaptor you bought from Micro Robotics (
USR Industrial Serial to Ethernet
www.robotics.org.za
) and tried to get it working last night when I got home from work.
After several attempts, I was not able to get the Sunsynk Inverter Add-on to receive any data.
Inverter connection to S2E
Today I decided to crimp a new UTP cable (based on the A spec following
https://github.com/kellerza/sunsynk as a guide) just in case the one I used was faulty.
I plugged the one end of the UTP cable into the RS485 port of my Sunsynk 8.8kW inverter, and the exposed wires on the other end is connected to the 3-pin block of the Serial to Ethernet (S2E) Converter as follows:
Inverter on the left <--> S2E convertor (3-pin block on the right)
Pin 1 -
Green/White <--> Middle hole
B(-)
Pin 2 -
Green <--> Left hole
A(+)
Pin 3 -
Orange/White <--> Right hole
G
Can you please confirm if the above is correct?
S2E Configuration
I once again confirmed that the configuration of the S2E convertor matches your setup (based on
Looking at purchasing one of these, https://www.robotics.org.za/W16529?search=wave%20rs4 as mentioned here, #60 (comment). Would this be the best option as I can't seem to find the usb versions.
github.com
), with the exception of course of my statically assigned IP address "192.168.1.7", and the "Stop Bits" which I set to "
1".
Sunsynk Inverter Add-on config
I also updated my
Sunsynk Inverter Add-on (YAML)
config to reflect the S2E static IP address as follows:
PORT: tcp://192.168.1.7:502
DEVICE: /dev/ttyS3
DRIVER: umodbus
SUNSYNK_ID: "xHxIxDxDxExN"
SENSOR_PREFIX: ""
SENSORS:
- battery_temperature:mean
- battery_voltage:mean
- etc
- etc
- etc
READ_SENSORS_BATCH_SIZE: 70
NUMBER_ENTITY_MODE: auto
PROFILES: []
MODBUS_SERVER_ID: 1
MQTT_HOST: 192.168.1.75
MQTT_PORT: 1883
MQTT_USERNAME: mqtt-user
MQTT_PASSWORD: xHxIxDxDxExN
DEBUG: 0
At this point I am not sure what or where to check anymore, as I am 100% sure the UTP cable between the S2E convertor and the inverter is correct.
I am able to access the S2E configuration page just fine, and I can also ping the S2E from the HA terminal.
Everything can "talk" to each other, but I am out of ideas at the moment, if you could shed some light on this it would be most welcomed.
Thank you, appreciated.