Hi, I sent you the link yesterday, I found something here:
Ok hereās an update:
I just got confirmation from another Danish Homey user with the same SPH3600 inverter that itās pin 4(a) + 5(b) thatās being used on the inverter. Heās on a different setup (using a esp8266+other stuff using MQTT) but I have now concluded the hardware setup is solid and should be working.
The problem is I still donāt get any data into Homey? I can access the modbus interface so thatās not the problem either?
So Iām kinda stuck with the conclusion that itās the connection from modbus to Homey thatās causing the missing data. Or maybe the app just doesnāt support the inverter or something?
Any guesses as to why itās not working?
At least the second confirmation that 4 and 5 is used, same as I discovered.
EDIT:
2 things to check:
Iām not convinced that the inverter is giving DATA to the 485 port. Please check again the settings, if possible upload some images. You might want to reboot the inverter using the shinelink web interface, but this shouldnāt be necessary.
UNinstall the homey app, install again and;
use another port on the KM, try 502 and use the same in the homey APP.
EDIT2:
In the homey APP the inverter ID is set to 1. I have no idea what happens if you try #2.
Only thing I can think of is the fact that I use a powerline adaptor to get lan to modbus instead of connecting modbus directly to access point.
But since I can access the interface - via IP 192.168.1.199 that shouldnāt be a problem right?
No problem at all for this moment. The MOD protocol is so simple, the PL will not have any disadvantage to that (I assume) The data connection is confirmed since youāre able to access the KM web interface.
Settings:

Not sure how to do that. I donāt see the option in the web interface?
After changing I cannot access the web interface anymore? Iāll have to reset KM and use port 80 again.
EDIT: Found out I just have to type :502 in the end of the IP ![]()
Please change the port to 502 first at KM and at APP side and try
The reboot: Shinelink web interface, set inverter on/off BOOT (you know the password, its YearMonthDate)
@Phil_Bro you know whatā¦
Thats correct, you survived that one
no I dont ![]()
ITāS Fā¦ING WORKING!!!
Switching to port 502 must have done the trick!!!

YOUāRE AWESOME!!!
Come to Denmark and Iāll give you a handfull of beers
![]()
GOTCHA!
To be honest, I thought about this port 80 as default port for all f.cKuPz in the early start of the chat. I thought there would be no trouble leaving it to 80, but damn!
Patience was the key to this againā¦
Good luck!
So resume, to have all the things in one final message:
Wiring SPH3600 is equal to the SPH3000, using the 485 port (only 1 on the inverter) with pin 4 (A) and 5 (B), A and B are the connectors on the KM switch. Put the port to VPP in the inverter using the inverter settings.
Using fixed IP on the KM, setting port 502 to communicate to the Homey App.
Install the APP, enter the IP of the KM switch and the corresponding port 502 (recommended)
Hasta Pronto!
Phil
Thank you and thank you so much again for helping out a noob like me ![]()
Now Iāll write a guide on the Danish Facebook community on how to set this up, so others donāt have to go through the hazzle ![]()
Iād still like @Edwin_Biemond to create the aforementiond cards to make it easy for a noob like me to control the inverter, but weāll see how that goes ![]()
With this in mind I would highly recommend to study the advanced flows, this allows you to finetune everything without telling China what youāre doing via the shinelink.
![]()
Right you are ![]()
Can I ask you another question regarding a desired flow:
How would you create a flow to stop using house battery as power source when my Tesla starts charging?
I can add a trigger card when Tesla starts charging, but no action card to set discharging rate of house battery to 0%?
Is there any way to do this?
if you can do this from shinelink then I can also do this. maybe we can put the minimal batt to 80 or 90%. or some grid 1st param. check the forums, donāt think you are alone with this problem. after that I can implement this.
First I need to know if you want this to create in advanced flow, this is what I (for sure) see as 1st option.
Second I need time to sleep, so allow me some delay to respond. If you could show me (meanwhile) the flow you made to show or detect the tesla starting to charge,which should be very simple, I check this later the day.
EDIT:
It would be something like:
If tesla app start to charge
AND there is enough solar input (or not)
AND the house battery is full (or not)
THEN stop discharge level (1) at current level (need to compare the current battery%)
(1) This is my pending question to @Edwin_Biemond, In load first modes, I need the same, it is top most important to set the discharge level of the batteries depending on someone needs.
