Hi to all, I wonder if someone could offer some advice please.
I purchased one of these units (
https://www.robotics.org.za/USB-RS485-PL2303) from Micro Robotics on Monday, as they did not have stock of the one mentioned on KellerZA's GitHub page (
https://www.robotics.org.za/W17286).
I crimped a RJ45 cable (based on the T568B standard), I then connected everything as follows:
LAN cable Pin 1 (white/orange stripe) to Pin 1 on the adaptor (TX- D-/B)
LAN cable Pin 2 (orange) to Pin 2 on the adaptor (TX+ D+/A)
LAN cable Pin 3 (white/green stripe) to Pin 5 on the adaptor (GND)
I connected the RJ45 side to my Sunsynk 8kW inverter's RS485 port, and the USB end to my Windows 11 Desktop.
Windows recognized the USB-to-RS485 adaptor and proceeded to install the driver (which is dated 2022/05), according to Windows 11 "This device is working properly".
I associated the RS485 USB adaptor with my "Home Assistant" VM running in VMware Workstation, and booted the VM.
I had already installed the "Modbus TCP to Modbus RTU Gateway Add-on", as well as the "Sunsynk Inverter Add-on", and configured everything (by following the relevant guides which to the best of my knowledge is correct).
After fiddling for several hours, and looking at the log file for ModBus, it doesn’t seem as though it is able to talk to/connect to the inverter via the RS485 port.
My intention with this setup (I am sure like most) is to pull load-shedding schedules from either Eskom or ESP, and using this information auto-configure my inverter by reading the current status of the battery/PV panels, and adjust the settings according to the load-shedding schedules.
I assume either the adaptor I bought from Micro Robotics is not going to work under Windows 11 using VMware Workstation, or I am maybe missing a crucial step in configuring one of the above add-ons correctly.
Any comments or advice would be most appreciated, thanks in advance.