Hello all,
Is there anyway to create a feed that reads/parses data from an API feed. We recently had a solar system installed (SolarEdge) and they provide all of the stats for the solar system realtime through an API. I would love to use this data along with my other emoncms feeds to create a consolidated dashboard. Is there anyway to do this? it would save adding another pair of current clamps to my setup.
Link to the API feed
http://www.solaredge.com/files/pdfs/se_monitoring_api.pdf
Thank you,
M
Re: Reading data through API from SolarEdge
Hello madas, you would need to write a script to do this that first reads from the solar edge api and then posts the values you want to emoncms. You could do this with python or php. Theres an example of making a python http request here which may help http://openenergymonitor.org/emon/node/11910, Im not familiar with the solar edge api to really help in detail and theres a lot of information in that pdf.
What do you get if you open this URL in your browser?
http://monitoringapi.solaredge.com/1/details.json?api_key=[your_api_key]
Re: Reading data through API from SolarEdge
Thanks - i got this working.
Re: Reading data through API from SolarEdge
@mades: I'm also using hom assistant and would like to use the Solaredge API for this. Would you like to share your solution for this?
Thanks,
Mark