Page 1 of 2
Update API solaredge
Posted: Saturday 22 June 2024 11:32
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?
Re: Update API solaredge
Posted: Sunday 23 June 2024 10:35
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?
Re: Update API solaredge
Posted: Sunday 23 June 2024 10:41
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?
Re: Update API solaredge
Posted: Monday 24 June 2024 16:34
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
Re: Update API solaredge
Posted: Monday 24 June 2024 16:35
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
Re: Update API solaredge
Posted: Tuesday 25 June 2024 14:22
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
Re: Update API solaredge
Posted: Wednesday 26 June 2024 8:18
by gizmocuz
That's why I asked to send me a message on our slack channel
Re: Update API solaredge
Posted: Wednesday 26 June 2024 21:16
by hjzwiers
And add it as a feature request? I can do that
Re: Update API solaredge
Posted: Wednesday 26 June 2024 22:23
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.....
Re: Update API solaredge
Posted: Saturday 29 June 2024 7:42
by gizmocuz
Domoticz SolarEdge integration has been modified to include the storage
Re: Update API solaredge
Posted: Sunday 07 July 2024 11:18
by eddieb
SolarEdge via modbustcp does not show the battery yet ...
SolarEdge via web works nice and displays the battery
Re: Update API solaredge
Posted: Monday 08 July 2024 19:58
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.
Re: Update API solaredge
Posted: Tuesday 09 July 2024 8:38
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)
Re: Update API solaredge
Posted: Tuesday 09 July 2024 19:30
by jannl
A ok. Didn't know (or remember) the limited api calls.
Verstuurd vanaf mijn SM-G980F met Tapatalk
Re: Update API solaredge
Posted: Sunday 04 May 2025 13:37
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.
Re: Update API solaredge
Posted: Sunday 04 May 2025 13:58
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.
Re: Update API solaredge
Posted: Tuesday 06 May 2025 9:23
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?
Re: Update API solaredge
Posted: Tuesday 06 May 2025 9:38
by jannl
I would say there are problems with the api at Solaredge. I get update every now and then.
Re: Update API solaredge
Posted: Tuesday 06 May 2025 10:55
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.
Re: Update API solaredge
Posted: Tuesday 06 May 2025 11:21
by jannl
Never had any problems with de solaredge hardware in Domoticz. So I doubt it is solely the Solaredge plugin.