@ahndee I keep getting java.lang.NullPointerException: Cannot invoke method size() on null object @line 470 (getStartTime) in the log file. I confirmedmy api is working using the URL https://monitoringapi.solaredge.com
The issue is that the platform seems to have gotten slower or that it allocates less time for the DTH to finish ā I just committed some updates to GitHub which should work around thisā¦
Thanks for the quick update! It is currently still throwing errors. If you want my API and site code I can send it to you to make debugging easier. Here are the current error codes:
error java.lang.NullPointerException: Cannot invoke method size() on null object @line 478 (getStartTime)
error groovyx.net.http.HttpResponseException: Forbidden @line 320 (pullData)
It could throw the size() error a couple times but then should keep going. The Forbidden response seems to indicate that your credentials are not correctā¦
I checked the access codes using the monitoring API URL. From there it gave me the system info seen on post 162. I just copied and pasted the site number and API number right into the app. It still has not reported any data yet.
If you DM me your access info I will take a look at it (I donāt have a SolarEdge system myself so I canāt test on a live system).
Will do, Thanks!
Thanks - worked for me. Are you using the classic or the new app? The new app doesnāt really support most of the features of this deviceā¦
Hi Andreas
Iāve installed the SolarEdge DTH on each of my SolarEdge installations today and itās working well.
Just one small issue spotted so far - the value for generation which you are showing is actually powerflow from the inverter to the house and not actual generation.
This is unlikely to affect many people but on one of my installations I have a StorEdge controller and a DC connected PowerWall 1 so I am seeing negative figures on this one
As I quick note - I am more than happy to share with you my API keys should you want to add StorEdge metrics to the DTH.
Jason
Will this work without the zigbee repeater? Just by connecting the zigbee from the inverter over to my SmartThings hub with zigbee?
We were originally in a lease with sunrun before we purchased. They came out a few years ago to upgrade their cellular monitoring from 3G to LTE. They told us we didnāt need the solar edge zigbee communication anymore. But now that we bought the system and Iām trying to monitor it through solar edge, thereās no communication and solar edge is telling me I have to go back to sunrun to get the zigbee repeater set up. But I was able to get my API key from solar edge so I would like to try this method of monitoring through smartThings. If I can do it without having to replace the zigbee repeater that would be best. Then if I do have to replace the repeater, I donāt know if the existing zigbee antenna in the inverter is keyed or paired up and has to be matched identical to the original repeater or if a new repeater can take the place and be connectedā¦
I appreciate any help from anybody who has experience with this thank you.
This DTH talks to the SolarEdge API and queries their backend servers. It does not talk to the inverter directly.
Separately, your inverter still needs a gateway to the Internet so it can talk to SolarEdgeās backend servers to upload production data. My SolarEdge inverter (SE7600, about 6 years old) is hardwired Ethernet, but at the time they installed it Zigbee was an option, connecting to some Zigbee gateway. Newer ones support WIFi. You need some connection there.
(but you donāt hook the inverterās Zigbee direct to SmartThings; it would go to the Zigbee gateway)
Hi There,
is anybody got this device handler working on the new app??
When I installed this DH, my new app shows zero values:
āEnergy consumption = 0kWhā
āPower meter = 0,0 Wā
Monitoring api link shows the values in the browser correct:
Hello,
Can someone say if the solaredge integration is working with the new app (2021)?
If it is working, can you please replay with the link to the latest code?
Thanks.
Guy
Guy,
If youāre talking about my DTH, I doubt that it works with the new app. Since SmartThings remotely disabled my hardware and has still not sent me the refund for the hardware they confirmed to have received more than three months ago I no longer am able to test any changes or offer support. Iām out.
Cheers,
Andreas
It does, for some definition of āworkingā. That is, the DTH pulls the correct data from the SolarEdge API and displays some of it in the new app. E.g., for me the device tile shows 2911W (the last instantaneous generation value), selecting the device shows 8.7kWh āEnergy Consumptionā (the total generated today) and 2.9kW āPower Meterā (the same as the device tile value). The display in the new app is nowhere as rich and useful as it was in the classic app.
(It was a rainy day so my numbers are low).
Iām using @ahndee 's DTH from https://github.com/ahndee/Envoy-ST/blob/master/devicetypes/aamann/solaredge.src/solaredge.groovy
But I wouldnāt bother installing it at this point. With Groovy support going away soon, it will stop working until someone totally rewrites it as an endpoint app.
(In fact, Iām probably going to delete it now that I think about it, since SolarEdge limits the amount of polling on their API)
Hi,
I am trying to add my SolarEdge system.
My system ID is 7 digits and in the Smartthings device option I can only enter 3 digits number.
Does anyone know how to fix this?
Thanks.
I just checked in mine - my system id is 6 digits long, but Iām not restricted on how many digits I can add when I use āā¦ā on the virtual device and select āSettingsā. Iām using the current Android app.
Hi,
Thanks for the reply.
Please see the 2 pictures - one with 3 digits and the āsaveā button avaliable to press, and the other pic with 4 digit and the save button isnāt available to press.
Maybe there was a device handler code update and I have an old version? Can you point me to the latest version?
Guy.
Thank you for clarifying that; I completely missed that on mine ā I have the exact same behavior. āSaveā goes grey once I enter more than 3 digits. (I only checked that I could enter more than 3 digits, not that I could save).
I donāt knowā¦ try reporting to support. It sure seems like a bug in the new app. I entered mine long ago using the Classic App, which no longer works because they disabled the APIs.