Need API Control Node for Solis Inverter controls a Shelly switch via Node-RED

Hello community,

I am new here and probably also looking for a simple solution. Unfortunately, I am not capable of performing or even writing complex programming.

Currently, I have a Victron PC system with Node Red installed. Here, I wanted to use a Shelly switch when the battery is full. That was easy and works.

However, I also have a PV system with a Solis inverter. I have now unlocked the API for this inverter. Can someone help me with the setup?

Solis API >>> Excess power feed-in >>> Shelly switch activation

Thank you,








Versuch bitte (zb per Google Übersetzer) das ganze auf englisch zu schreiben. Dann können sicher 70 % mehr Leute helfen.
Ansonsten wäre es hilfreich, wenn du einen link zur Solis API nennen könntest.
Kannst du den solis von der victron aus anpingen?
Kann der solis Inverter evtl auch MQTT?

Any chance of english so we can try and help ?


OK Thanks

OK so i assume you are trying to find out when you have excess PV so you can activate other devices to use that PV ?

A couple of points - excess PV implies that you have a consumption meter - the inverter knows how much power it is producing - but unless you have a consumption meter it has no way of knowing how much power the house is using and hence calculating Excess PV.

Secondly if you are talking to the Solis portal (cloud) then you need to realise that the WIFI dongle on your inverter only sends information up to the cloud every 6 minutes - is that granular and timely enough for your needs ?

Depending on which Solis inverter and WIFI dongle you have there are a number of projects available that will talk to directly to the inverter and get the information in realtime - in my case my wifi dongle did not support realtime queries so i had to resort to talking Modbus to the inverter

Let us know the answers to the above and then we can go from there


1 Like

I installed a complete system with mains feed and battery.
I would like to put the excess into the water tank using the heating element.
I just can't program a NODE in such a way that it understands the API.

OK the stuff coming from the API on their Website the last time i looked was in JSON format.

Basically there is a sequence to go through

  1. You have to request your site ID - using the authentication details - assume you have got this far ?
  2. Once you have a site ID you then craft a new request for the plant details within the Site ID

This is usually presented back to you as a JSON sequence - the easiest way to handle this is to use the JSON conversion node and feed this in to a Javascript object where you can then drill down to find the excess solar etc.

So first step is to do a request and get your site ID and plant ID - show us a debug ouf that output

Then move on to parsing the data.

Note that i have not done this on the new cloud infrastructure they have rolled out - but have read that it is the same as the old system

You may also want to read through this thread on Github that talks about updating for the latest Solis Cloud etc