Hey All,
Very new here (although I have been tinkering in the background for nearly a year now )
So please do go easy on me, I have some technical knowledge and have been in IT for years, but mostly on the delivery side, so everything I know in regards to this is really self taught, so if I have forgotten to click a switch, go easy eh
So we have a Sunmaster XS3200 Solar inverter, and I would like to pull the live data from it into HA without the need for the very costly MasterVolt āMasterBussā stuff.
Sooooā¦ after some research I found this nice little gem by kloknibor which although he mentions has only been tested on the XS2000, as they are the same model range I would suspect they are close enough.
So I then checked my Manual for the panels, and it uses RS-485 Serial (apparently) so I plumped for the Elfin ew11 which I have seen others here use, but with different solar inverter or batteries!
So I plugged up the unit the other night, and waited patiently (no power is supplied to the unit when the DC from the solar is not running) the following morning the unit had life as the inverter powered up, I got this onto the Wi-fi without too much bother and I can see it on the networkā¦ itās lights indicate it is receiving data from the inverter (it pulses every few seconds).
I then set-up the integration as per instructions, and I see the sensors, however HA isnāt getting any dataā¦ now to test that HA can āseeā the device I changed the TCP Port in my config to something random, and I had loads of errors after a reboot, as HA couldnāt connect to the device, change it back and the logs are quiet but still no data.
Snip from my Config Fileā¦ (and all files needed are in the correct locations, and you can generate errors by commenting out key parts, so itās reading it)
sensor:
- platform: MasterVoltXS
TCP_PORT: 8899
TCP_IP: 192.168.1.136
RECONNECT_INTERVAL: 10
Here is a screen shot of the Serial Port Settings, I have tried fiddling with these, but nothing seems to have any impact.
(Note Modbus Protocol, as this I believe is what the inverter uses, BUT I donāt know for sure, and I have tried with āModbusā, āNoneā, and āFrameā)
And the TCP Settings on the device:
As I am new I canāt add another screenshot so they areā¦
Protocal: TCP Server
Local Port: 8899
Buffer Size: 512
Keep Alive: 60
Timeout: 0
Max Accept: 3
Security: Disable
Route: Uart
So essentially I am now stuck and have exceeded my knowledge, the only other thing that has crossed my mind is the cable, I am using a short Cat5 cable, it seems from all the docs I can find that these RS-485 cables are normally straight through (Pin 1 > Pin 1 etc) and the fact I have power and some data making a light blink, I would imagine itās correct, but I did consider making up a short lead with the relevant data pins crossed over, but I doubt that would make any difference? And I am not sure where my RJ-45ās are
I already use Shelly Energy monitoring on my three phase supply (they canāt do smart meters for us, THANK GOD) but rather than get another clamp for the Solar, I would rather be able to read the data off the device (which at the moment is impossible without climbing into the loft and jabbing itās buttons).
Is there anyway I can āredā the raw data from the device myself to just confirm it is there?
Any help, suggestions or information would be much appreciated
JC.