Author Topic: Any SolarEdge monitor plugins?  (Read 2683 times)

Offline dannieboiz

  • Sr. Member
  • ****
  • Posts: 379
  • Karma: +1/-2
Any SolarEdge monitor plugins?
« on: October 04, 2015, 06:19:08 pm »
I'm getting ready to do a 7.28kw system and debating between Enphase or SolarEdge inverters. Leaning toward SolarEdge at this point but didn't see anything on their monitoring and Vera but a few Enphase.

Offline stibbzy

  • Sr. Newbie
  • *
  • Posts: 29
  • Karma: +1/-0
Re: Any SolarEdge monitor plugins?
« Reply #1 on: December 18, 2015, 02:39:57 am »
I'd love to know this too!  :)

Offline dannieboiz

  • Sr. Member
  • ****
  • Posts: 379
  • Karma: +1/-2
Re: Any SolarEdge monitor plugins?
« Reply #2 on: December 18, 2015, 02:57:01 am »
My system is up but not found a way. Be nice to be able to calculate solar output and consumption difference automatically

Offline reneboer

  • Hero Member
  • *****
  • Posts: 1051
  • Karma: +53/-30
Re: Any SolarEdge monitor plugins?
« Reply #3 on: December 18, 2015, 05:56:14 am »
Hi,

Here is the API documentation from them. You can use that and the Enphase one to develop one for SolarEdge.

http://www.solaredge.com/files/pdfs/se_monitoring_api.pdf

Cheers Rene
2xVeraLite, VeraEdge, openLuup, ALTUI, 20 switches, 10 dimmers, 20 sensors, 10 scene controllers, 1 Harmony Hub, many plug-ins. Not enough time.

Offline tb001

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +5/-2
Re: Any SolarEdge monitor plugins?
« Reply #4 on: August 23, 2016, 03:37:19 pm »
Wondering if anyone got this up and running. We just installed solar a few months ago with a solar edge system and I can see this being useful.

Offline jamac

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +0/-1
Re: Any SolarEdge monitor plugins?
« Reply #5 on: October 31, 2016, 06:15:20 pm »
SolarEdge here too! A plug in would be great  :)

Offline cmille34

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +3/-1
Re: Any SolarEdge monitor plugins?
« Reply #6 on: November 29, 2016, 09:27:12 am »
Bump for another SolarEdge user that would be willing to help troubleshoot/test any plugin for this.

Offline Zoro

  • Full Member
  • ***
  • Posts: 151
  • Karma: +14/-3
Re: Any SolarEdge monitor plugins?
« Reply #7 on: November 29, 2016, 02:41:36 pm »
Bump for another SolarEdge user that would be willing to help troubleshoot/test any plugin for this.

Hi--

  Have you thought of using TED6000. See http://www.theenergydetective.com/

Z

Offline jamac

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +0/-1
Re: Any SolarEdge monitor plugins?
« Reply #8 on: November 29, 2016, 02:46:30 pm »
Bump for another SolarEdge user that would be willing to help troubleshoot/test any plugin for this.

See this thread for a potential workaround http://forum.micasaverde.com/index.php/topic,34908.0.html

The SolarEdge inverter uploads solar production data to PVOutput. Then you create a Vera power meter device to read the production data from PVOutput.

It's not as good as a dedicated plugin but it's better than nothing!

Offline cmille34

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +3/-1
Re: Any SolarEdge monitor plugins?
« Reply #9 on: November 29, 2016, 02:51:38 pm »
Thanks, it appears I don't have a API SiteKey so I have to request that from our installers.  I've never made a plugin or messed with someone else's but I'm looking at this ENVOY one that someone else made and I don't think it would be terribly difficult to hack it up to work with the SolarEdge APIs.  If I can get it to a point to report the basics (current output for my site, daily, lifetime, etc), i'll be sure to share it here.

Offline jamac

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +0/-1
Re: Any SolarEdge monitor plugins?
« Reply #10 on: November 29, 2016, 04:29:57 pm »
Yes, you need to get the API key from the installer.

It would be great if the Envoy plugin could be modified to work.

Best of luck - I'll monitor this thread with interest!

Offline cmille34

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +3/-1
Re: Any SolarEdge monitor plugins?
« Reply #11 on: December 07, 2016, 03:03:07 pm »
OK, so I spent a lot more time than it should have taken and all I really did was hack apart someone elses work (reneboer here on the boards -- thanks for creating the Envoy one!) to make this work but it is working for me.  I was starting from square 1 though so I'll cut myself a little slack.

This is EXTREMELY basic, it just pulls in the current data being reported by your SolarEdge site and uses the existing PowerMeter files to display the current watts and then a value you choose in the KWH field.

So for my example, I have a device called SolarEdge MonthToDay that displays the current (within 5 mins polling) watts being reported by my SolarEdge and then the MonthToDay KWH being reported next to it. I starting going the path of customizing a JSON file but it didn't display right on VeraMate so Im fine with this basic hacked together solution using the existing PowerMeter files.

I can't offer much in the way of support but it works on my VeraLite with the latest UI7 beta firmware.  As long as you can get your SolarEdge data from the following URL:
https://monitoringapi.solaredge.com/site/**YOURSITENUMBER**/overview.json?api_key=**YOURAPIKEY**
Then this little plugin should bring that data into your Vera for you to see.


To Install:
Upload the I_SolarEdgePower1.xml file attached here via Apps --> Develop apps --> Luup files --> Upload
Then Create device  via Apps --> Develop apps --> Create device

Use the following settings:
Description = SolarEdge Current (or what you like)
Upnp Device Filename = D_PowerMeter1.xml
Upnp Implementation Filename  = I_SolarEdgePower1.xml

Reload the lua a couple times it seems to help and wait a minute for the device to show up and to load the variables.  Once installed, go to "Advanced" in device settings, then the 'Variables' tab.  Hopefully you the following variables show up:
SiteID   (Put your Site ID here)
API  (Put your site API key here)
KWHDisplay  (Current / Today / MTD / Lifetime)
---This variable controls what number shows up in the KWH on the dashboard of the plugin. I use MTD as it gives me a quick at a glance what my solar generation is against the internal energy monitor above it on my dashboard for MTD.

If the variables don't show, give it a minute and reload the lua again and wait a minute, they should eventually show up in there.

Save the variables to the device and reload again and hopefully it should start pulling in the data.  Note - I was having a heck of a time getting the device to save the variables.  Maybe being inpatient, I don't know but it did take a few times of entering each variable then saving, reloading then going back in and adding the next one.  Once they are saved it seems to work.

The plugin is set to refresh the data every 5 minutes to keep you under the 300 api hits a day that SolarEdge gives you.

Again, nothing fancy, good enough for my curiosity at this point, hopefully someone more seasoned will create a richer plugin. Most credit goes to rboer/Jacob/robertgabrielson for providing the Envoy one.  Apologies if any of my crappy coding offends anyone. :)
« Last Edit: January 03, 2017, 06:57:26 am by cmille34 »

Offline jamac

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +0/-1
Re: Any SolarEdge monitor plugins?
« Reply #12 on: December 07, 2016, 03:18:33 pm »
Well done! My Vera3 is playing up after a recent firmware upgrade (sigh...) but as soon as I sort that out I'll give this plugin a go!

Offline tdolder

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Any SolarEdge monitor plugins?
« Reply #13 on: December 09, 2016, 02:12:23 am »
 :D great!! I installed the plugin and it is working fine, now i can use current power in scenes, happy

Offline reneboer

  • Hero Member
  • *****
  • Posts: 1051
  • Karma: +53/-30
Re: Any SolarEdge monitor plugins?
« Reply #14 on: December 09, 2016, 04:22:46 am »
Well done! I use my Envoy Watts readings in several scenes and LUA code (sunscreen control, heating fine tuning) so enjoy those and other possibilities.

Cheers Rene
2xVeraLite, VeraEdge, openLuup, ALTUI, 20 switches, 10 dimmers, 20 sensors, 10 scene controllers, 1 Harmony Hub, many plug-ins. Not enough time.