Solaredge API problem
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.
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.
-
BartSr
- Posts: 489
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Solaredge API problem
For years I got data from solaredge via API.
Now it does not work anymore.
After consulting my supplier I got a new API.
Also this one did not solve my problem.
Makes this sense to someone?
Bart
Now it does not work anymore.
After consulting my supplier I got a new API.
Also this one did not solve my problem.
Makes this sense to someone?
Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- psubiaco
- Posts: 233
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: Solaredge API problem
You're right! Since 2 days it does not work, hoping the solaredge hardware can be fixed soon.
In the meanwhile, I suggest to install the domoticz-solaredge-modbustcp-plugin that permits you to fetch data directly from the inverter every 10s or less. API permits to get data every 5 minutes.
In the meanwhile, I suggest to install the domoticz-solaredge-modbustcp-plugin that permits you to fetch data directly from the inverter every 10s or less. API permits to get data every 5 minutes.
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
-
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
Thanks for your message. I read about the plugin. I never used any plugin. Is it just installing a plugin or does this also require any setting in the solaredge converter?
Last edited by BartSr on Thursday 11 December 2025 18:46, edited 1 time in total.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- psubiaco
- Posts: 233
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: Solaredge API problem
You just need to install the plugin, no need to configure the inverter. It uses ModbusTCP protocol to fetch data from the inverter.BartSr wrote: Thursday 11 December 2025 15:14 Thanks for your message. I read about the plugin. I never used any plugin. Is it just instaaling a plugin or does this also require any setting in the solaredge converter?
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
-
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
trying to install the plugin but get next error
now I get stuck
original container with domoticz is running also once the container has been started it seems something hangserror: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
now I get stuck
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- RonkA
- Posts: 126
- Joined: Tuesday 14 June 2022 12:57
- Target OS: NAS (Synology & others)
- Domoticz version: 2025.1
- Location: Harlingen
- Contact:
Re: Solaredge API problem
SolarEdge ModbusTCP - Kaku - Synology NAS - Watermeter - ESPEasy - DS18b20
Work in progress = Life in general..
Work in progress = Life in general..
-
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
After following the plugin install I got stuck on the error showed before
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Solaredge API problem
If you run a plugin in Domoticz in Docker you should install the plugin required modules in the docker container.....
See wiki https://wiki.domoticz.com/Docker#Python_Plugins
So use the following command to get into the container
Then use the plugin install commands to install the python modules.
Something like below from the location where your plugin folder is within the container (not the same locations as in your system!)
And also add this command to the custom startup script (customstart.sh) to be sure the required python modules are reinstalled when you update the docker image.
See wiki https://wiki.domoticz.com/Docker#Python_Plugins
So use the following command to get into the container
Code: Select all
docker exec -it domoticz bashSomething like below from the location where your plugin folder is within the container (not the same locations as in your system!)
Code: Select all
cd /opt/domoticz/userdata/plugins/<yourpluginfolder>
sudo pip3 install -r requirements.txtDomoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
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
That is a way. But also check customstart.sh to automate this when a new container is released.
-
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
Thanks Walter. For my understanding:
The folder plugins is now outside the container. Do I unserstand you right this must moved into the container? If so? The container launches just afaik domoticz and config folder. I once went jnto the container for another reason. So I understand how to. It's a bit weird to me what to do where and how. But that must be my shortcoming.
For zwave2mqtt there's a very clear instruction how to get thaf up and running. Might if be possible to get in the wiki something similar for plugins?
Bart
The folder plugins is now outside the container. Do I unserstand you right this must moved into the container? If so? The container launches just afaik domoticz and config folder. I once went jnto the container for another reason. So I understand how to. It's a bit weird to me what to do where and how. But that must be my shortcoming.
For zwave2mqtt there's a very clear instruction how to get thaf up and running. Might if be possible to get in the wiki something similar for plugins?
Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Solaredge API problem
Welcome to the docker confusion....
In your docker-compose.yml you have something like
After starting domoticz in docker for the first time Domoticz will create a plugins folder in the docker container in /opt/domoticz/userdata/plugins.
Depending on your docker-compose file location this will end up in your host system in
So you can copy or use git to put the plugin py files in <docker-compose-file-location>/config/plugins/<yourpluginfolder>
Then go inside the docker and run the python module install files on /opt/domoticz/userdata/plugins/<yourpluginfolder>
I am sorry, I cannot make it easier.....
And also make sure you put the python module install commands in the customstart.sh file else you have to do the install again after you have updated your Domoticz container to a new stable (or beta) version. The normal plugin files will remain on your host system in <docker-compose-file-location>/config/plugin/<yourpluginfolder> so do not need to be reinstalled.
In your docker-compose.yml you have something like
Code: Select all
volumes:
- ./config:/opt/domoticz/userdataDepending on your docker-compose file location this will end up in your host system in
Code: Select all
<docker-compose-file-location>/config/pluginsThen go inside the docker and run the python module install files on /opt/domoticz/userdata/plugins/<yourpluginfolder>
I am sorry, I cannot make it easier.....
And also make sure you put the python module install commands in the customstart.sh file else you have to do the install again after you have updated your Domoticz container to a new stable (or beta) version. The normal plugin files will remain on your host system in <docker-compose-file-location>/config/plugin/<yourpluginfolder> so do not need to be reinstalled.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Solaredge API problem
Is there another way with current venv environments on bookworm and later? I would be happy to know. The Domoticz container is already configured as a venv so inside the docker there are no special things to do other than installing the modules...
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
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
I started to understand until this popped up
Never ever had a need to do something with a file called customstart.shAnd also make sure you put the python module install commands in the customstart.sh file else you have to do the install again after you have updated your Domoticz container to a new stable (or beta) version.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Solaredge API problem
That customstart.sh file you need if you need to install something in the container. It could also be you use a linux command like wget that is not installed yet in the container. It is a very simple box so then you have to extra install that command in the container.
You can decide to not use customstart.sh but then you have to reinstall these things if you update your container.....
You can decide to not use customstart.sh but then you have to reinstall these things if you update your container.....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
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
Another way compared to doing it manually.waltervl wrote: Thursday 11 December 2025 22:42Is there another way with current venv environments on bookworm and later? I would be happy to know. The Domoticz container is already configured as a venv so inside the docker there are no special things to do other than installing the modules...
On my pi 3b it takes around 10 minutes to finish customstar.sh
-
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
@jannl no idea what to do in my setup
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
-
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
Read this: https://github.com/addiejanssen/domotic ... tcp-plugin
Check via tags the 2.04 version
And also read this: viewtopic.php?t=40917
That should be a good start. jvdz created a fork from Addie's branch, also the 2.04.
To install things not standard in the docker container, you can install it manually every time the container gets a fresh start, or use customstart.sh.
Explained here: https://wiki.domoticz.com/Docker
Check via tags the 2.04 version
And also read this: viewtopic.php?t=40917
That should be a good start. jvdz created a fork from Addie's branch, also the 2.04.
To install things not standard in the docker container, you can install it manually every time the container gets a fresh start, or use customstart.sh.
Explained here: https://wiki.domoticz.com/Docker
-
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
I copied the plugin in the system's plugin map (not inside the container) as I expects it will be copied into the container.
Then when I take a look inside the container in the plugins map I don's see the solaredge plugin.
pls don't blame me for this is my first plugin ever. And there should also be done somewhat with git.
This is what I see:
What's AwoxSMP ?
Should I create a customstart.sh outside the container and if yes , where?
Then when I take a look inside the container in the plugins map I don's see the solaredge plugin.
pls don't blame me for this is my first plugin ever. And there should also be done somewhat with git.
This is what I see:
Code: Select all
bart@HP-t630:~/domoticz$ docker exec -it domoticz bash
root@83b90ebdd2a1:/opt/domoticz# dir
Config History.txt customstart.sh domoticz.sh plugins server_cert.pem updaterelease www
FIRSTRUN License.txt domoticz dzVents scripts updatebeta userdata
root@83b90ebdd2a1:/opt/domoticz# cd plugins
root@83b90ebdd2a1:/opt/domoticz/plugins# dir
AwoxSMP examples
root@83b90ebdd2a1:/opt/domoticz/plugins#Should I create a customstart.sh outside the container and if yes , where?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
-
Loekie63
- Posts: 14
- Joined: Thursday 28 January 2021 9:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: NL
- Contact:
SolarEdge via Web API giving errors in log
I have Domoticz 2024.7 running on a pi and was using the SolarEdge via Web API without any problem but since a while it is throwing errors in the log.
Example:
2025-12-17 09:55:12.943 Error: Home Solar: Error getting http data (Equipment details)!
2025-12-17 09:55:13.290 Error: Home Solar: Error getting http data (currentPowerFlow details)!
2025-12-17 10:00:13.671 Error: Home Solar: Error getting http data (Equipment details)!
2025-12-17 10:00:14.026 Error: Home Solar: Error getting http data (currentPowerFlow details)!
2025-12-17 10:05:14.383 Error: Home Solar: Error getting http data (Equipment details)!
2025-12-17 10:05:14.733 Error: Home Solar: Error getting http data (currentPowerFlow details)!
2025-12-17 10:10:15.106 Error: Home Solar: Error getting http data (Equipment details)!
2025-12-17 10:10:15.452 Error: Home Solar: Error getting http data (currentPowerFlow details)!
End Example:
They don't show up all the time but every day at different starting times and exist for about an hour. All normal data is showing up in Domoticz.
anybody any idea what is going on?
Example:
2025-12-17 09:55:12.943 Error: Home Solar: Error getting http data (Equipment details)!
2025-12-17 09:55:13.290 Error: Home Solar: Error getting http data (currentPowerFlow details)!
2025-12-17 10:00:13.671 Error: Home Solar: Error getting http data (Equipment details)!
2025-12-17 10:00:14.026 Error: Home Solar: Error getting http data (currentPowerFlow details)!
2025-12-17 10:05:14.383 Error: Home Solar: Error getting http data (Equipment details)!
2025-12-17 10:05:14.733 Error: Home Solar: Error getting http data (currentPowerFlow details)!
2025-12-17 10:10:15.106 Error: Home Solar: Error getting http data (Equipment details)!
2025-12-17 10:10:15.452 Error: Home Solar: Error getting http data (currentPowerFlow details)!
End Example:
They don't show up all the time but every day at different starting times and exist for about an hour. All normal data is showing up in Domoticz.
anybody any idea what is going on?
- psubiaco
- Posts: 233
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: SolarEdge via Web API giving errors in log
I see that sometimes it works, sometimes it doesn't work.
I've got no data on 10, 14 and 15 December. Today it works here.
I've got no data on 10, 14 and 15 December. Today it works here.
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
Who is online
Users browsing this forum: floris74 and 1 guest