SolarEdge individual optimizer dzVents script

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

Dols
Posts: 27
Joined: Friday 15 January 2016 14:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by Dols »

I updated the scripts, also moved them to: https://github.com/RDols/DomoticzDzVentsScripts

dzRequestSolarInfo, The day graphs now correcty updates:
https://github.com/RDols/DomoticzDzVent ... tSolarInfo


dzPollSolarEdge:
https://github.com/RDols/DomoticzDzVent ... lSolarEdge
User avatar
McMelloW
Posts: 427
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by McMelloW »

Dols wrote: Tuesday 26 May 2020 23:12 I updated the scripts, also moved them to: https://github.com/RDols/DomoticzDzVentsScripts

dzRequestSolarInfo, The day graphs now correcty updates:
https://github.com/RDols/DomoticzDzVent ... tSolarInfo

dzPollSolarEdge:
https://github.com/RDols/DomoticzDzVent ... lSolarEdge
Looks great.

I have been digging a bit on the monitoring website and found this link.
https://monitoring.solaredge.com/solare ... yoursiteID Change yoursiteID to your SiteID #

It return a lot of information from the Dashboard page.
Greetings McMelloW
User avatar
McMelloW
Posts: 427
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by McMelloW »

Hi Richard,.

Yesterday and today again.I receive error messages from the dzRequestSolarInfo

Code: Select all

2020-05-28 10:45:02.916 Error: Error opening url: https://monitoring.solaredge.com/solaredge-apigw/api/sites/xxxxxx/layout/logical
2020-05-28 10:45:03.037 Error: dzVents: Error: (3.0.6) HTTP/2 response: 500 ==>> No reason returned!
Do you have the same errors
I guess there is something wrong at SolarEdge.
Greetings McMelloW
Dols
Posts: 27
Joined: Friday 15 January 2016 14:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by Dols »

McMelloW wrote: Thursday 28 May 2020 14:05

Code: Select all

2020-05-28 10:45:02.916 Error: Error opening url: https://monitoring.solaredge.com/solaredge-apigw/api/sites/xxxxxx/layout/logical
2020-05-28 10:45:03.037 Error: dzVents: Error: (3.0.6) HTTP/2 response: 500 ==>> No reason returned!
Do you have the same errors
I guess there is something wrong at SolarEdge.
Didn't see an error 500 yet. But i have a lot of different ones (response 0 and timeouts). But in my case i blame the wifi.
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by freijn »

The Solar website is terrible slow ! I guess they need to extend the serverpark....
steverandle
Posts: 4
Joined: Thursday 24 August 2017 19:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by steverandle »

Hi

I came across this today, have copied the scripts and put my details in. but on running it all I get is the following errors.

2021-05-04 12:10:00.774 Error: Error opening url: https://monitoring.solaredge.com/solare ... ut/logical
2021-05-04 12:10:00.860 Error: dzVents: Error: (3.1.7) HTTP/2 response: 401 ==>> No reason returned!

if I enter the link directly into a web browser I get the following
Spoiler: show

Code: Select all

{"siteId":345942,"expanded":true,"playback":true,"hasPhysical":true,"logicalTree":{"data":null,"numberOfChilds":0,"childIds":[39926071],"children":[{"data":{"id":39926071,"serialNumber":"731104B9-41","name":"Inverter 1","displayName":"1","relativeOrder":1,"type":"INVERTER","operationsKey":0},"numberOfChilds":0,"childIds":[39926990],"children":[{"data":{"id":39926990,"serialNumber":null,"name":"String 1.0","displayName":"1.0","relativeOrder":0,"type":"STRING","operationsKey":0},"numberOfChilds":0,"childIds":[39927217,39928561,39926992,39927216,39927219,39927218,60026327,39927220,39927223,39927222,39927224,60026328],"children":[{"data":{"id":60026327,"serialNumber":"1116AC22-F5","name":"Module 1.0.1","displayName":"1.0.1","relativeOrder":1,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39926992,"serialNumber":"203417F6-61","name":"Module 1.0.2","displayName":"1.0.2","relativeOrder":2,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39927216,"serialNumber":"20365214-BC","name":"Module 1.0.3","displayName":"1.0.3","relativeOrder":3,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39927217,"serialNumber":"2033FF71-C3","name":"Module 1.0.4","displayName":"1.0.4","relativeOrder":4,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39927218,"serialNumber":"20373F03-99","name":"Module 1.0.5","displayName":"1.0.5","relativeOrder":5,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39927219,"serialNumber":"203466D4-8E","name":"Module 1.0.6","displayName":"1.0.6","relativeOrder":6,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39927220,"serialNumber":"20340E6D-CF","name":"Module 1.0.7","displayName":"1.0.7","relativeOrder":7,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":60026328,"serialNumber":"1113DCFD-FD","name":"Module 1.0.8","displayName":"1.0.8","relativeOrder":8,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39927222,"serialNumber":"20340954-B1","name":"Module 1.0.9","displayName":"1.0.9","relativeOrder":9,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39927223,"serialNumber":"2033FF53-A5","name":"Module 1.0.10","displayName":"1.0.10","relativeOrder":10,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39927224,"serialNumber":"2034775C-27","name":"Module 1.0.11","displayName":"1.0.11","relativeOrder":11,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]},{"data":{"id":39928561,"serialNumber":"2033FF5B-AD","name":"Module 1.0.12","displayName":"1.0.12","relativeOrder":12,"type":"POWER_BOX","operationsKey":0},"numberOfChilds":0,"childIds":[],"children":[]}]}]}]},"reportersData":{"60026327":{"energy":235.5,"moduleEnergy":235.5,"unscaledEnergy":235.5,"units":"Wh","color":"#2D89E5","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"60026328":{"energy":205.25,"moduleEnergy":205.25,"unscaledEnergy":205.25,"units":"Wh","color":"#287ACC","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"39926990":{"energy":2.6,"moduleEnergy":0.22,"unscaledEnergy":2598.5,"units":"kWh","color":"#3091F2","groupColor":"#000000","relayState":null,"cellularConnectionProperties":{"connectionType":"STANDARD","connectionFailure":null,"connectable":true}},"39927217":{"energy":234.0,"moduleEnergy":234.0,"unscaledEnergy":234.0,"units":"Wh","color":"#2D89E5","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"39928561":{"energy":228.25,"moduleEnergy":228.25,"unscaledEnergy":228.25,"units":"Wh","color":"#2D89E5","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"39926992":{"energy":181.25,"moduleEnergy":181.25,"unscaledEnergy":181.25,"units":"Wh","color":"#236BB2","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"39927216":{"energy":229.5,"moduleEnergy":229.5,"unscaledEnergy":229.5,"units":"Wh","color":"#2D89E5","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"39927219":{"energy":203.0,"moduleEnergy":203.0,"unscaledEnergy":203.0,"units":"Wh","color":"#287ACC","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"39927218":{"energy":233.0,"moduleEnergy":233.0,"unscaledEnergy":233.0,"units":"Wh","color":"#2D89E5","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"345942":{"energy":2.51,"moduleEnergy":null,"unscaledEnergy":null,"units":"kWh","color":"#A0ACF2","groupColor":null,"relayState":null,"cellularConnectionProperties":null},"39927220":{"energy":251.5,"moduleEnergy":251.5,"unscaledEnergy":251.5,"units":"Wh","color":"#3091F2","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"39926071":{"energy":2.51,"moduleEnergy":0.21,"unscaledEnergy":2506.0,"units":"kWh","color":"#30F291","groupColor":"#3091F2","relayState":null,"cellularConnectionProperties":{"connectionType":"STANDARD","connectionFailure":null,"connectable":true}},"39927223":{"energy":225.25,"moduleEnergy":225.25,"unscaledEnergy":225.25,"units":"Wh","color":"#2B82D8","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"39927222":{"energy":187.75,"moduleEnergy":187.75,"unscaledEnergy":187.75,"units":"Wh","color":"#236BB2","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null},"39927224":{"energy":184.25,"moduleEnergy":184.25,"unscaledEnergy":184.25,"units":"Wh","color":"#236BB2","groupColor":"#000000","relayState":null,"cellularConnectionProperties":null}},"reportersInfo":{},"hierarchyColors":["'#19279c'","'#771528'","'#8390aa'","'#00C69D'","'#c90086'","'#755810'","'#8fb1ff'","'#00eae6'","'#aa9a62'","'#f24ef9'","'#00AEEF'","'#9A5044'","'#0BE200'","'#1A6F98'","'#7A96FF'","'#4AA044'","'#242275'","'#440000'","'#6633CC'","'#996103'","'#1A9B9A'","'#CA00CD'","'#7D828E'","'#004763'","'#4A75FF'","'#2F3731'","'#EC3775'","'#5C677C'","'#F49AC1'","'#B7B919'","'#893070'","'#445455'","'#999999'","'#99CC00'","'#CC66FF'","'#0066CC'","'#FFB379'","'#004400'","'#A50303'","'#B08874'","'#025E93'","'#CBB22B'","'#1A309A'","'#39B2C1'","'#DFE8A1'","'#851273'","'#587893'","'#94CA8E'","'#72EC7A'","'#746000'","'#687294'","'#9DCD21'","'#306974'","'#E0366F'","'#D1BDB3'","'#9EDEF4'","'#9356B6'","'#E5E83C'","'#4F58B4'","'#5AB9A2'","'#55F193'","'#B4F99B'","'#F50F26'","'#C747AD'","'#E0CACD'","'#44768E'","'#F6224D'","'#884602'","'#3143D0'","'#77657F'","'#DEAA53'","'#3C1688'","'#ED96F8'","'#14A34D'","'#24858F'","'#08741D'","'#D8060C'","'#C6EAA9'","'#2F35CA'","'#12AC8E'","'#063CFA'","'#2934C9'","'#D19542'","'#9D96A3'","'#5A6DB3'","'#AFE5B7'","'#7D1C96'","'#07C0D9'","'#702E58'","'#FE986C'","'#CAC090'","'#C5E140'","'#136B1E'","'#2FE62B'","'#118FA2'","'#25BE41'","'#6C4B4C'","'#E0062B'","'#C06D7D'","'#DA5782'"],"chartParams":{"COMBI_STRING":{"Energy":"Energy","RCDCurrent":"I RCD [mA]","Power":"Power","StringCurrent":"String Current","StringVoltage":"String Voltage"},"INVERTER_3RDPARTY":{"AC Current":"AC Current","AC Energy":"AC Energy","AC Frequency":"AC Frequency","AC Voltage":"AC Voltage","DC Current":"DC Current","DC Voltage":"DC Voltage","Power":"Power","Temperature":"Temperature"},"BUI":{},"STRING":{"Energy":"Energy","Power":"Power"},"SINGLE_UNIT":{"AC Current P2":"AC Current - L2","AC Current P3":"AC Current - L3","AC Current P1":"AC Current P1","AC Frequency P2":"AC Frequency - L2","AC Frequency P3":"AC Frequency - L3","AC Frequency P1":"AC Frequency P1","AC Voltage P2":"AC Voltage - L2","AC Voltage P3":"AC Voltage - L3","AC Voltage P1":"AC Voltage P1","DC Voltage":"DC Voltage","Energy":"Energy","Power":"Power"},"COMBI_DSP":{"5VCommon":"5 Voltage Common","InverterVoltage":"DC Voltage","Energy":"Energy","Power":"Power","TotalSystemCurrent":"Total Current","VoltageSupply":"Voltage Supply"},"POLESTAR_EXTERNAL_SENSOR":{"SensorAmbientTemperature":"Ambient Temperature","SensorDiffusedIrradiance":"Diffused Irradiance","SensorDirectIrradiance":"Direct Irradiance","SensorGlobalHorizontalIrradiance":"Global Horizontal Irradiance","SensorModuleTemperature":"Module Temperature","SensorPlaneOfArrayIrradiance":"Plane of Array Irradiance","SensorWindDirection":"Wind Direction","SensorWindSpeed":"Wind Speed"},"BATTERY":{"Charged DC Power":"Charged Power","Discharged DC Power":"Discharged Power","Charged Energy":"Energy","Stored Energy Level":"State of Energy"},"COMBI_CABINET":{"Energy":"Energy","Power":"Power"},"LOAD_DEVICE":{"CurrentLevel":"Current Level","Energy":"Energy","Active Power":"Power"},"INVERTER_3PHASE":{"AC Current":"AC Current - L1","AC Current P2":"AC Current - L2","AC Current P3":"AC Current - L3","AC Energy":"AC Energy","AC Frequency":"AC Frequency - L1","AC Frequency P2":"AC Frequency - L2","AC Frequency P3":"AC Frequency - L3","Power":"AC Power","AC Voltage":"AC Voltage - L1","AC Voltage P2":"AC Voltage - L2","AC Voltage P3":"AC Voltage - L3","DC Voltage":"DC Voltage","Power Factor":"Power Factor","Total Reactive Power":"Reactive Power"},"EV_CHARGER":{"Current":"Current","Energy":"Energy","Active Power":"Power"},"POWER_BOX":{"Current":"Current","Energy":"Energy","Voltage":"Module Voltage","PowerBox Voltage":"Optimizer Voltage","Power":"Power"},"INVERTER_3PHASE_3RDPARTY":{"AC Current":"AC Current","AC Current P2":"AC Current - L2","AC Current P3":"AC Current - L3","AC Energy":"AC Energy","AC Frequency":"AC Frequency","AC Frequency P2":"AC Frequency - L2","AC Frequency P3":"AC Frequency - L3","AC Voltage":"AC Voltage","AC Voltage P2":"AC Voltage - L2","AC Voltage P3":"AC Voltage - L3","DC Current":"DC Current","DC Voltage":"DC Voltage","Power":"Power","Temperature":"Temperature"},"INVERTER":{"AC Current":"AC Current","AC Energy":"AC Energy","AC Frequency":"AC Frequency","Power":"AC Power","AC Voltage":"AC Voltage","DC Voltage":"DC Voltage"},"ZONE":{"Energy":"Energy","kWh2kWp":"kWh/kWp","Power":"Power","Revenue":"Revenue"},"INVERTER_3RDPARTY_DUMMY":{"Current":"Current","Energy":"Energy","Power":"Power"},"SMI":{"Current":"Current","Energy":"Energy","Voltage":"Module Voltage","Power":"Power"},"METER":{"Energy":"Energy","Power":"Power"},"SYNERGY_MANAGER":{},"FIELD":{"Energy":"Energy","kWh2kWp":"kWh/kWp","Power":"Power","Revenue":"Revenue"}},"operations":null,"connectionProps":{"60026327":null,"60026328":null,"39926990":{"connectionType":"STANDARD","connectionFailure":null,"connectable":true},"39927217":null,"39928561":null,"39926992":null,"39927216":null,"39927219":null,"39927218":null,"39927220":null,"39926071":{"connectionType":"STANDARD","connectionFailure":null,"connectable":true},"39927223":null,"39927222":null,"39927224":null},"overrideChartParams":{"60026327":null,"60026328":null,"39926990":null,"39927217":null,"39928561":null,"39926992":null,"39927216":null,"39927219":null,"39927218":null,"39927220":null,"39926071":null,"39927223":null,"39927222":null,"39927224":null},"geminiOperations":{},"reporterAlertSummaryList":[]}
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by waaren »

steverandle wrote: Tuesday 04 May 2021 13:17 all I get is the following errors.

2021-05-04 12:10:00.774 Error: Error opening url: https://monitoring.solaredge.com/solare ... ut/logical
2021-05-04 12:10:00.860 Error: dzVents: Error: (3.1.7) HTTP/2 response: 401 ==>> No reason returned!
Seem to be an issue on the solaredge site. When I enter the given URLin a browser I get
Attachments
Error-401.png
Error-401.png (8.96 KiB) Viewed 2468 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
steverandle
Posts: 4
Joined: Thursday 24 August 2017 19:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by steverandle »

Hi still can not get any data from solaredge site. still returns 401 error.

But if I paste the link directly into web browser I get a whole list of data.
BarryT
Posts: 358
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by BarryT »

I've had a call with solaredge last week due several server issues and monitoring problems by a lot of my customers. (i'm an installer)
He said that solaredge is not that happy with people that do direct linking (connect) trough their servers/cloud, it is on its maximum connections i guess? Maybe they should consider to update the servers as solaredge is growing bigger.
but anyway, there a lot of problems with its monitoring servers atm, that is why they changing things very often.
i think thats the reason why some scripts didnt work anymore/giving errors or not working in the future.
Raspberry / ESP Boards / Relais / Milight / Hue / OTGW / P1 / Xiaomi / RFXCom / RFLink / ZWave / Conbee II / Z2M / MQTT / A lot of scripts and many more..
Software: Linux, Android and Windows
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by freijn »

So , better ( if your inverter supports it ) connect yourself to the modbus over TCP-IP.
Unfortunately not seen the optimizers yet...
steverandle
Posts: 4
Joined: Thursday 24 August 2017 19:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by steverandle »

Been a while since i had issues with connection.

Found out it was my end. Been happy for last 6 months with collecting data.

Thanks for everyone's help.
koensch
Posts: 15
Joined: Sunday 27 December 2020 22:55
Target OS: Linux
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by koensch »

found this thread today and i implemented it on my Domoticz machine.

works like a charm! Good work!
rogerthn
Posts: 25
Joined: Thursday 26 July 2018 12:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by rogerthn »

Thanks :D
Screenshot 2023-05-05 110549.png
Screenshot 2023-05-05 110549.png (144.89 KiB) Viewed 1471 times
steverandle
Posts: 4
Joined: Thursday 24 August 2017 19:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SolarEdge individual optimizer dzVents script

Post by steverandle »

Hi All

I am hoping someone can work out why I no longer get current data for all my optimisers / Panels?

Steve
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest