Hello, Several weeks ago i installed the Solar Meter plugin. I associated my Solar Edge inverter with it using the API Key and System ID. Everything seems to be ok but none of the energy and power variables are populating or changing. This includes the wattage and kWH totals. I am sure I am doing something silly since no one else has discussed this. I have reloaded the engine several times over the past severel weeks. No luck. Any suggestions?
Solar Meter not populating energy and power variables
Can you look at the Vera log file for possible errors form the solarmeter plugin and let me know?
Hi Rene, Only one log item back on 1/14/2020 stating the device is online. That is probably when I associated the Solar Edge to the plugin.
I published V1.15 and that should be on the Vera App market by Monday and is in the ALTUI app store now. When that version does not work, please set the log level to debug in the plugin settings and let ma know what you see in the log file.
Hi @reneboer , just back from an extended trip. I will start working on this and let you know.
OK, I am running the 1.15 version of the plugin and have set the log level to debug yesterday morning.
Nothing on the log page to report.
Might have an idea why. What controller are you running this on?
I am running on a VeraPlus.
Can you upload this version and see what happens? L_SolarMeter1.zip (11.4 KB)
You can look at the log file using http://vera_ip/cgi-bin/cmh/log.sh?Device=LuaUPnP and look for lines that have “Solar Meter” in them.
Ok. it looks like I am now running 1.16 of Solar meter. I have copied a set of lines that occur every 2 minutes (the polling rate)
|50||03/11/20 10:44:22.123||luup_log:152: Solar Meter_debug: Solar Edge URL https://monitoringapi.solaredge.com/site/907071/overview.json?api_key=JU9BUPW2W986RAPR15DN2ZAB6MXAJRU2 <0x75164520>|
|31||03/11/20 10:44:22.115||AlarmManager::Run 0x10b9fe8 notified of a change entry 0x2114150 id 2543 deleted 0 <0x76d64520>|
|50||03/11/20 10:44:22.956||luup_log:152: Solar Meter: Refresh failed HTTP Get to https://monitoringapi.solaredge.com/site/907071/overview.json?api_key=JU9 <0x75164520>|
|50||03/11/20 10:44:22.957||luup_log:152: Solar Meter_debug: HTTP Get to https://monitoringapi.solaredge.com/site/907071/overview.json?api_key=JU9BUPW2W986RAPR15DN2ZAB6MXAJRU2 failed. <0x75164520>|
|50||03/11/20 10:44:22.958||luup_log:152: Solar Meter_debug: It’s Daytime or ContinousPoll: use modified Day delay Interval SolarMeter_Refresh → -2347 <0x75164520>|
|50||03/11/20 10:44:22.958||luup_log:152: Solar Meter_debug: Update was late, try again in 120 <0x75164520>|
|50||03/11/20 10:44:22.958||luup_log:152: Solar Meter_debug: Interval to SolarMeter_Refresh → 120 <0x75164520>|
|10||03/11/20 10:44:22.959||AlarmManager::AddRelativeAlarm current time 1583945062 delay 120 type 7 <0x75164520>|
|10||03/11/20 10:44:22.959||AlarmManager::AddAbsoluteAlarm alarm 0x1699ba0 entry 0x1f5cce8 id 14 type 7 param=0x1841318 entry->when: 1583945182 time: 1583945062 bCancelFirst 0=0 <0x75164520>|
|50||03/11/20 10:44:22.959||luup_log:152: Solar Meter_debug: Last Refresh was : Wed Mar 11 10:02:45 2020 <0x75164520>|
|50||03/11/20 10:44:22.960||luup_log:152: Solar Meter_debug: Next poll is at : Wed Mar 11 10:46:22 2020 <0x75164520>|
Every second is this line:
10 03/11/20 10:41:48.556 XXX-UpdateSystemMessagesTasks StartupTask #8 = 4 OK / Solar Meter <0x76b64520>
Let me know if you want to see the entire log. I can email it to you.
Can you check if the API key is still valid? I see that error 403 is returned and that typically indicates authorization issues.
I tried copied and ran the https( overview command) from the browser and got the 403 return code. I then requested a new key from the site and updated the Solar Meter Plugin with the new api key. I then retrieved a new log and compared the api key in the log to the one I requested and they are the same.
This is the new command:
I just did this a couple of hours ago so you should have been using a valid key yesterday.
Just reread my last post. I failed to state that the problem still persists, I have logged a ticket with Solar Edge. I assume I should be able to make the api call with the correct site and api_key from my browser and get a json record back. Let me know if that is a wrong assumption.
Yes it is also my assumption you can do this from your browser. The SolarEdge API documentation does not specify any special header or other options.
I will keep you posted as I hear back from SolarEdge. Do you know if other users have successfully got Solar Edge inverter to report correct energy and power numbers?
SolarEdge got back to me. They had an issue on their end. The api_key was not registering in their data base. I have updated the key on my Vera and now am getting readings. BTW, issuing the command from the browser does work.
Thanks for all your help in debugging this and hanging in there with me.
Sweet. Thanks for letting me know Tim.