Solaredge API problem

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
jannl
Posts: 823
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: SolarEdge via Web API giving errors in log

Post by jannl »

I see that to. Looks like a problem at Solaredge.
jannl
Posts: 823
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Solaredge API problem

Post by jannl »

The plugin map in- and outside the container is the same map.

Don't forget to stop and start the container after changing something in 1 of the plugin maps.

And remember to install the modbus library INSIDE the container.

Customstart.sh basically resides in the container, but also reachable from outside the container. See the Wiki.
User avatar
jjnh
Posts: 42
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: SolarEdge via Web API giving errors in log

Post by jjnh »

Same issue here. Not getting any SolarEdge data anymore.

I also use PVOutput with the same API and there data from SolarEdge is coming in.

So it looks like something related to the plugin in Domoticz.
Odroid N2+ 4GB, Finally updated to 2025.2, with an RfxTrx433E, Zigbee2MQTT with Slaesh's CC2652RB, Zwave-JS-UI, SolarEdge, iRobot and P1 connected.
User avatar
jjnh
Posts: 42
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Update API solaredge

Post by jjnh »

I'm also experiencing issues with the SolarEdge API connector throwing error "Error getting HTTP Data" since the upgrade to 2025.2 (from 2023.1).

I'm using the same API key in PVOutput.org and there it is working fine.

So this definitely looks like something related to the Domoticz plugin, not to SolarEdge.
Odroid N2+ 4GB, Finally updated to 2025.2, with an RfxTrx433E, Zigbee2MQTT with Slaesh's CC2652RB, Zwave-JS-UI, SolarEdge, iRobot and P1 connected.
jannl
Posts: 823
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Update API solaredge

Post by jannl »

The Solaredge website frequently does not look good. (no charger, no smarthome, no battery) The app mostly works fine.
It is just Domoticz can not retrieve data every now and then.
I still think Solaredge is the problem and not Domoticz. I would think if it was Domoticz the problem would occur always.
jannl
Posts: 823
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: SolarEdge via Web API giving errors in log

Post by jannl »

No errors today and everything seems to work fine.

Pi 3b running 2025.2 16990 in Docker
User avatar
jjnh
Posts: 42
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: SolarEdge via Web API giving errors in log

Post by jjnh »

Yesterday I received some data. Today only errors.

I'm running version 16818 in Docker.
Odroid N2+ 4GB, Finally updated to 2025.2, with an RfxTrx433E, Zigbee2MQTT with Slaesh's CC2652RB, Zwave-JS-UI, SolarEdge, iRobot and P1 connected.
User avatar
jjnh
Posts: 42
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: SolarEdge via Web API giving errors in log

Post by jjnh »

You triggered me with your question.
I also have a slave Domoticz running on my Synology.

What I did:
1. Installed the SolarEdge API on the slave --> it seems to pull data just fine.
2. Installed a second SolarEdge API in my primary Domoticz --> to my surprise that pulls data just fine.

So there seems to be something wrong with the old API connection in Domoticz.

I will keep monitoring the situation. If needed I can move the devices to the new API connection and remove the old one.
Odroid N2+ 4GB, Finally updated to 2025.2, with an RfxTrx433E, Zigbee2MQTT with Slaesh's CC2652RB, Zwave-JS-UI, SolarEdge, iRobot and P1 connected.
User avatar
jjnh
Posts: 42
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Update API solaredge

Post by jjnh »

Hi,

It could all be a coincidence, but I just installed a second API interface (under hardware) with the same API key and that is returning data now. The old API connection is still there but shows no data.

Let's see how this develops in the upcoming days.

PVoutput still going strong without issues.
Odroid N2+ 4GB, Finally updated to 2025.2, with an RfxTrx433E, Zigbee2MQTT with Slaesh's CC2652RB, Zwave-JS-UI, SolarEdge, iRobot and P1 connected.
User avatar
jjnh
Posts: 42
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Update API solaredge

Post by jjnh »

Apologies it took a few days (and tries) and I found the following:

- the slave installation of Domoticz has the same issue after a day
- the 2 connectors on my primary Domoticz are both throwing errors
- the errors start appearing around 16:00 when the sun goes down
- the errors will keep going in the morning unless I disable and reenable the hardware
- once the hardware is reenabled data starts flowing in
- the data PVOutput keeps on going without issues

Maybe a workaround could be to stop the SolarEdge hardware in Domoticz once the sun goes down and restart it when the sun comes back up.

I've created a switch in my Slave installation that controls the enable/disable of the SolarEdge API.
Scheduled it to go off at sunset and turn back on 15 minutes after sunrise.

The switching is done by a JSON command. This command is specific to your hardware and can be found by:

- open the hardware page
- hit F12 in your browser (mine is chrome) to open the developer window
- switch to the "network" tab in the developer window
- disable or enable the hardware
- look at the JSON commands it shows in the network tab

There are better explanations on how to do this in the forum ;)
Odroid N2+ 4GB, Finally updated to 2025.2, with an RfxTrx433E, Zigbee2MQTT with Slaesh's CC2652RB, Zwave-JS-UI, SolarEdge, iRobot and P1 connected.
jannl
Posts: 823
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Update API solaredge

Post by jannl »

The error 'getting http data' occurs randomly'. Mostly during the night, but also during the day. It also disappears after 1 or more errors.

So I am still not sure this is (solely) a Domoticz issue.

Edit: I read de Solaredge API sometimes has different response times from a fewe hundreds of ms to 5-10seconds.
JaapB
Posts: 30
Joined: Friday 17 February 2023 13:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Contact:

Re: Update API solaredge

Post by JaapB »

jannl wrote: Wednesday 24 December 2025 12:16 The error 'getting http data' occurs randomly'. Mostly during the night, but also during the day. It also disappears after 1 or more errors.

So I am still not sure this is (solely) a Domoticz issue.

Edit: I read de Solaredge API sometimes has different response times from a fewe hundreds of ms to 5-10seconds.
I do have the same issues with Solaredge through the API and it needst restarting domoticz to get fixed, got the same issue on my main system as on my shadow sytem. Restarting solaredge hardware doesn't help.
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: Solaredge API problem

Post by BartSr »

I started all over with fresh linux image and domoticz in docker. Followed all instructions and got the plugin do what expected. But..... it appears that my inverter doesnot sent data once the plugin asks for.
Than I had a closer look in the inverter's settings and couldnot find anything about modbus. I've been told no setting should be required. I own the solaredge inverter type SE3000 installed june 2018. According info from the webportel. It's the one with the display on it.
Any advices?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Solaredge api trouble

Post by BartSr »

Hi!
Since a few weeks the solaredge api fails to provide data. I know more members here faced same trouble.
Here in Rotterdam area still problems. What experience do you have?
I tried swapping to modbus tcp but it appears my inverter SE3000 does not provide modbus tcp data.

Edit Waltervl: moved this question to other already running discussion.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: Solaredge API problem

Post by BartSr »

@Walter
Not happy you moved this post. Allthough I started complaining about the api most posts regarded the modbustcp solution.
My lasf post is more general about solaredge api status.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
jvdz
Posts: 2441
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Solaredge API problem

Post by jvdz »

I have a se5000 with display and for me the modbus works fine. Did you open the menu on the inverter and check for the modbus settings?

Ps .. your last post does belongs here, as this is were the whole discussion has been done regarding the api error. unless you intent to make a bug report .
I have disabled the api a while ago when domoticz was regularly giving problems due tob this api hardware.
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: Solaredge API problem

Post by BartSr »

I checked all settings of the inverter and did not find any about modbus. Just RS485. As there's also something to select about batteries I'm assuming the software might have been updated as in 2018 batteries where not yet common practise. Also this inverter does not has an opportunity to go into AP mode and get more items to set.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
jvdz
Posts: 2441
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Solaredge API problem

Post by jvdz »

It shows in the network settings as it is modbus over tcpip. These are the steps according the internet:
Enabling Modbus TCP on SolarEdge Inverter
Long hold "OK" (the rightmost button)
Enter the password as "Up Down OK, Up Down OK, Up Down". ( The screen will display 12312312)
Use the down arrow to scroll down to Communication.
Select LAN and press OK.
Enable ModBus TCP.
gbonny
Posts: 35
Joined: Friday 27 October 2017 22:08
Target OS: Linux
Domoticz version:
Contact:

Re: Solaredge API problem

Post by gbonny »

The "Solaredge API problem" seems to be on SolarEdge side. People using Home Assistant are reporting issues recently as well:
https://github.com/home-assistant/core/issues/159905
Only one device was working for me yesterday: "Inverter PV Power"

You can verify your API key is working, when the SolarEdge API is working off course, using a web browser via:

Code: Select all

https://monitoringapi.solaredge.com/sites/list.json?size=1&api_key=<your_key>
This shows information of your site. Extract your siteid and then try:

Code: Select all

https://monitoringapi.solaredge.com/equipment/<site_id>/list.json?api_key=<your_key>
This shows your equipement details.

Try to deactivate/activate "SolarEdge via Web API" from Hardware once, or reboot Domoticz once. Fingers crossed it will work from then on, when the sun shines. Wasn't there an SolarEdge API issue in december last year as well?!

Edit: deactivate/activate worked for me.


One side question: Is there anyone who has a SolarEdge Battery in his/her system, and it is working/visible in Domoticz?
@Gizmocuz, I might see an issue when fetching data in https://github.com/domoticz/domoticz/bl ... dgeAPI.cpp

Code: Select all

void SolarEdgeAPI::GetBatteryDetail
.. # expects JSON here:
ExtraHeaders.push_back("Accept: application/json");
.. # url returns XML:
sURL << "https://monitoringapi.solaredge.com/site/" << m_SiteID << "/currentPowerFlow?api_key=" << m_APIK;
I cannot verify myself whether this works as I have no battery installed.
Domoticz 2025.2 on Ubuntu 24.04 LTS VM (ESXi 7u3s)
SolarEdge/webAPI, SE2MQTT/modbus IP, Zigbee2MQTT/Sonoff ZB3.0+, ZWave-JS-UI/ZMEEUZB1, MQTT AD Client Gw, P1 mtr, RFXCOM433E, Philips Hue v2, Kodi, Panasonic TV, BuienRadar & Watermtr/HTTP/HTTPS poll
jannl
Posts: 823
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Update API solaredge

Post by jannl »

For now it always has resolved itself by just waiting. Most of the time the data in the app also is not completely correct. Only the live data(which is not up to date in the api because of the 300l api calls limit a day) is correct.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest