Update API solaredge Topic is solved

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.
hjzwiers
Posts: 215
Joined: Friday 12 January 2018 8:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Update API solaredge

Post by hjzwiers »

I see in the documentation that the API of Solaredge now includes batteries (

Code: Select all

https://monitoringapi.solaredge.com/site/XXXX/currentPowerFlow?api_key=XXX
)
Is it time to update the link in SolarEdge with the PowerFlow settings?
User avatar
gizmocuz
Posts: 2486
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Update API solaredge

Post by gizmocuz »

That could indeed be interesting. Just poll it at startup and if no batteries are found stop polling this again

Could you add support for this?
Quality outlives Quantity!
hjzwiers
Posts: 215
Joined: Friday 12 January 2018 8:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Update API solaredge

Post by hjzwiers »

I wish I could. I am trying lol. I am trying to open a https page and read the content. I tried to open a few older applications but it is difficult.
It is quite complicated for a person like me. Could you help by giving me the code to current implementation?
User avatar
gizmocuz
Posts: 2486
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Update API solaredge

Post by gizmocuz »

You can find all the code of Domoticz on out github page

Code: Select all

https://github.com/domoticz/domoticz/blob/development/hardware/SolarEdgeAPI.cpp
Quality outlives Quantity!
User avatar
gizmocuz
Posts: 2486
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Update API solaredge

Post by gizmocuz »

Could you send me a message on our slack channel (and also copy the url to this topic) ?

Code: Select all

https://join.slack.com/t/domoticz/shared_invite/zt-wo7hrgc3-qIH0EFX_jcBrG2dBSOTRwg
Quality outlives Quantity!
hjzwiers
Posts: 215
Joined: Friday 12 January 2018 8:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Update API solaredge

Post by hjzwiers »

I've check the code but this is much to ambitious undertaking for me .... sorry but I don't see myself doing this
User avatar
gizmocuz
Posts: 2486
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Update API solaredge

Post by gizmocuz »

That's why I asked to send me a message on our slack channel
Quality outlives Quantity!
hjzwiers
Posts: 215
Joined: Friday 12 January 2018 8:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Update API solaredge

Post by hjzwiers »

And add it as a feature request? I can do that
User avatar
waltervl
Posts: 5738
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Update API solaredge

Post by waltervl »

If you contact Gizmocuz on slack he can help implementing the storage feature. He probably needs API info and test data from you as he probably does not have the hardware and then it is difficult to implement.
So if you want this feature please contact him.....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
gizmocuz
Posts: 2486
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Update API solaredge

Post by gizmocuz »

Domoticz SolarEdge integration has been modified to include the storage
Quality outlives Quantity!
eddieb
Posts: 279
Joined: Wednesday 04 July 2018 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Update API solaredge

Post by eddieb »

SolarEdge via modbustcp does not show the battery yet ...
SolarEdge via web works nice and displays the battery
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
jannl
Posts: 666
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Update API solaredge

Post by jannl »

Solaredge via Web update seems to work reasonably fine.
However, the app (on my phone, and on the Solaredge website) works near realtime, while Domoticz updates very slowly (like once every five minutes)

Is the ev charger included as well (in that case I may need to enable it to get it into Domoticz)?
The Energy Dashboard looks fine, but with the Solaredge inline meter and the values from the api, it just looks nice for now, but that's about it for me. For instance I can not set the grid power (from the Solaredge api) to the p1/net in the dashboard settings.

Forgive me for mixing the Solaredge a bit with the Energy Dashboard.
User avatar
gizmocuz
Posts: 2486
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Update API solaredge

Post by gizmocuz »

Well, you get a certain amount of API calls a day. (300, which is one call every 5 minutes)
This is probably not limited for their own mobile app.....

Another way (what I did for my Enphase system) is to use a Shelly EM and place a CT clamp on my PV string +.
But if you want to do this as well, remember, that if you have your PV on multiple phases, you need to power the Shelly EM from the SAME phase you put the clamp on. (Also if you have 1 string), otherwise the readings are wrong.

Or you could reverse engineer the app or sniff your switch/router network traffic and see how they call the API (or what browser string they use)
Quality outlives Quantity!
jannl
Posts: 666
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Update API solaredge

Post by jannl »

A ok. Didn't know (or remember) the limited api calls.

Verstuurd vanaf mijn SM-G980F met Tapatalk

DomoFlits
Posts: 39
Joined: Thursday 06 October 2016 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Bld16583
Location: The Netherlands
Contact:

Re: Update API solaredge

Post by DomoFlits »

In domoticz, the Solaredge via web API isn't updated anymore since last night.
The solar inverter is working: The solaredge via modbus readout is doing fine, reverse energy measured via p1 meter is doing fine

in my logs I see every 5 minutes:

Code: Select all

2025-05-04 13:28:18.130 Error: PV installatie: Error getting http data (Equipment details)!
2025-05-04 13:28:18.392 Error: PV installatie: Error getting http data (currentPowerFlow details)!
I am on Beta: Version: 2025.1 (build 16657) running on a raspberry pi

do more users have this error?
has something changed on their API?

On their updated monitoring platform I see no "admin" section anymore (I had it before) where I can see my API code.
The company where I bought the installation from stopped some time ago.
On https://monitoringapi.solaredge.com/sit ... i_key=<key> I can see my details.
User avatar
madpatrick
Posts: 662
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Update API solaredge

Post by madpatrick »

Hi,

I'm have the same problems.
Worked for year and suddenly it stopped working.

Also the admin sectionis gone in my portal.
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
rolfie23
Posts: 7
Joined: Saturday 11 January 2020 10:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: Update API solaredge

Post by rolfie23 »

madpatrick wrote: Sunday 04 May 2025 13:58 Hi,

I'm have the same problems.
Worked for year and suddenly it stopped working.

Also the admin sectionis gone in my portal.
Here the same, it also let domoticz crash for some reason. The plugin doesn't use siteid, maybe that's missing?
jannl
Posts: 666
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Update API solaredge

Post by jannl »

I would say there are problems with the api at Solaredge. I get update every now and then.
User avatar
jvdz
Posts: 2269
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Update API solaredge

Post by jvdz »

Yes, but the hardware shouldn't make domoticz unresponsive and/or crash, so there's also an issue in the hardware driver code.
I have disabled the hardware for now after 2 hangs/crashes.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
jannl
Posts: 666
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Update API solaredge

Post by jannl »

Never had any problems with de solaredge hardware in Domoticz. So I doubt it is solely the Solaredge plugin.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest