Curious to hear if anyone else has these installed and connected to Hubitat? I wrote a preliminary driver leveraging their public API to bring in the states of my battery, grid draw, house draw, and PV power to a Hubitat device, which has been quite operational so far.
Figured I'll be working more on it for my own uses, but should put a post out here to hear if there was broader use for these inverters and how
Im planning on linking this into a rule based switch to enable or disable EV charging with a contactor.
I would be very interested in what info you can pull into HE from the SolArk/SunSynk inverters. I am getting a 5Kw SunSynk inverter and would love to be able to see the SOC of the battery, the house load and the amount of PV being produced if this is possible,
@greglsh Its working and have it pulling all that data consistently - but my Driver code still needs work. Do you know your sunsynk inverter web interface/mobile app? the api I am using is PowerView, their PV Pro app, and the dongle is manufactured by e-linter. That dongle is needed to feed the data from the inverter to the PowerView cloud. Then you can query the data off the web api with this driver. Theres another dongle Sunsynk uses that isnt powerview, that would be a totally different webservice and API but apparently is still doable.
Unfortunately, due to energy infrastructure security needs, there is no local data transfer via network ports..
@greglsh The PowerView API (SolArk/ SunSynk) virtual device driver for Hubitat is now released on HPM Package manager. Here's a link to see what it looks like on desktop. Let me know if your inverter is using the PowerView service and if so, I would appreciate any feedback!
Hi @pentalingual
I don't think the SunSynk is using powerview, but I am going to see if I can hook this up. I currently run Solar Assistant which is fantastic as well.
For anyone who has a Linux server at their disposal and needs SolArk data from pv.inteless dotc0m (it's not quite live, but it's close enough for such tasks as EV charging control) should look at how I obtain this data using a PHP script:
Updating this thread as PowerView has been retired. The new SolArk Monitoring is hosted at MySolArk. I have updated my repository & driver to incorporate MySolArk API instead.
I was able to get the package installed, was able to set up the device and logs indicate it's getting data from mysolark.
I added the dashboard name to the device and I can see it in that dashboard.
I can set up a tile for the inverter but I can get the tile type in order to be able to actually see the data, I have tried every tile type and no info on the tile.
I know it must be simple but am missing something...
Hi there @AlarmProGuy sorry for the delay in responding
After picking the device, just use the "attribute" template; that allows you to then pick a custom attribute from your selected device and display the value on your hubitat dashboard tile. This is true for any custom device with random attributes for which a template doesn't exist and you just want to like display a text/number value. I overlap 2 tiles to make it look like one, and then I plug in some CSS for each to append the unit value. Here's my CSS; of course you have to identify your tile number mine here is 36
When i look at the tile and then pick the tile type of attribute i don't get the list of potential values, just HSM and Mode Status, see the image
I then looked at the live logs and its getting a 404 error, see the image
I think the problem is that the plant number in my case has a /2 at the end of it where you examples dont, i do have a pair of inverters so maybe this is why its different , see image>
This is fixed with the new release, sorry some of my information regarding the urls were out of date for the new MySolArk service - the /2 is not part of the plant id. Improved error handling for this part of the code, glad to be able to get it up and running for you!