This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SolarEdge monitoring website
#1
Hi,

I have a script that gets data from my solar panels from the SolarEdge monitoring site.
This script has worked without problems for the past year, but lately two out of three attempts fail.
For testing I can run the same script on another server in the same network without any problems.

This is the relevant part of the script:

Code:
require('socket')
local https = require("ssl.https")

socket.http.TIMEOUT = 20

local SolarEdge = https.request('https://monitoringapi.solaredge.com/site/1234567/overview?api_key=mykey')

if not SolarEdge then
  alert('SolarEdge data cannot be retrieved..  ' .. tostring(SolarEdge))
  return
else
  log(SolarEdge)
end
At first I thought that I exceeded the maximum number of reads per day but that is not the case. The script runs every 15 minutes (=96 times a day) and Solaredge allows 300 reads.

This is the Alert message:
Code:
SolarEdge data cannot be retrieved  nil
So this is not a SolarEdge server error message.
This is on a LM4 firmware 20160714.

What could be the cause of this?
Reply


Messages In This Thread
SolarEdge monitoring website - by baggins - 04.05.2021, 13:44
RE: SolarEdge monitoring website - by baggins - 06.05.2021, 09:40
RE: SolarEdge monitoring website - by admin - 06.05.2021, 09:44
RE: SolarEdge monitoring website - by baggins - 06.05.2021, 10:15
RE: SolarEdge monitoring website - by admin - 08.05.2021, 10:25
RE: SolarEdge monitoring website - by baggins - 08.05.2021, 10:58

Forum Jump: