The wiring is as follows:
The pinout on this port is as follows:
Pin Function
1 RS-485 A/+
2 RS-485 B/-
5,6 GND
7,8 +5V out
Looking at the RJ-45 plug end on (towards you) with the retaining clip at the bottom the wiring is:
Pin Number: 8 7 6 5 4 3 2 1
white white White white
Function: +5v +5v GND GND B A
So first let's do a baseline test using PC software and A/B wired to a RS485 to USB adaptor.
All worked OK.
tele/nodemcu_pv_charger/pv_volt
70.70
The Arduino code was based on..