Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SunSynk Logger Integration into Home Assistant

Featured Replies

  • Replies 948
  • Views 135.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • randomfool
    randomfool

    I am making good progress on converting slip06x excellent dashboard to work with Gary's brilliant work on gathering the data from the latest Sunsynk inverters remotely. Will publish the dashboard

  • @Gary Waterworth   Did a quick YouTube video on how to install your software and to get the data into HASS, no cards or anything so very basic.  Please let me know what you guys think of my first

  • randomfool
    randomfool

    Ok here goes; caveats to begin with - I am no HA expert, in fact I only discovered HA a few weeks ago through Gary's post and his subsequent links to slip06x dashboard, so my ability to provide "suppo

Posted Images

  • Author
On 2024/08/08 at 2:52 PM, JeyBee said:

Hi,

Is it possible to connect to the mag-pie dongle directly and get data from (and adjust parameters on) the Sunsynk inverters locally like some do with the Solarman dongles on Deye inverteres?

 

No

  • Author
On 2024/08/08 at 7:14 PM, Inigo Montoya said:

I came across this link today

https://github.com/martinville/solarsynkv2

 

Having had a quick play its super easy to get the live data in from the sunsynk inverters including the slaves.

it also has a way of updating the servers themselves with a config file but I couldn't get this to work. But it looks promising.

 

 

I had a look at the code and it seems to be VERY early development and very dangerous. I can see a number of pitfalls I have allready encountered when getting data from Sunsynk

 

4 hours ago, Gary Waterworth said:

I had a look at the code and it seems to be VERY early development and very dangerous. I can see a number of pitfalls I have allready encountered when getting data from Sunsynk

 

Was also wondering if that code accounts for cases like mine were my inverter/gateway isn't listed in the normal place under Equipment but via the plant list instead.  But I've since migrated to a RS485 direct connection to bypass the servers if it goes down again but still using Gary's flows to get any additional data not pulling via the RS485 integration and as a backup should the RS485 fail. 👍

  • 1 month later...
On 2024/01/13 at 2:14 PM, randomfool said:

Updated version of the Octopus Agile tariff automation working with @Gary Waterworth new version 2.

Made an adjustment to set sstimer1 to nearest 30 minute segment in the past to avoid throwing node warnings and align with the new version 2; sstimer2 is set to 23:30 at all times unless sstimer1 is also 23:30 in which case it changes sstimer2 to 00:00 to avoid issues, the trade off is it will not control the inverter for the last 30 minutes of the day.

For my own personal version I have modified Gary's script slightly so that it accepts 23:55 as an input. If you care enough about controlling the inverter automatically for the last 25 of the 30 minute window between 23:30 and 00:00 you could copy this logic also to avoid any node warnings.

Sunsynk Automation V4.json 11.82 kB · 7 downloads

I'm trying to create some automations roughly in line with this - although I am on Octopus Flux as opposed to Agile - should be simpler as cheap/expensive rates are fixed each day. I've imported these flows and those for the Automation, but I'm not sure how to edit them to do what I need.

Ideally I think I'd prefer to run the automations in HA, as I'm more familiar with it than node-red. Unfortunately I can't get anything to read to the inverter - any setting I change in HA, reverts back after a few mins. Could anyone advise on how I can start to figure out where this is going wrong? Should I start with the flows or HA?

image.png.3e7ac10544633f24071f0d4926e01cc5.png

Thanks.

7 hours ago, SunsynkDongler said:

I'm trying to create some automations roughly in line with this - although I am on Octopus Flux as opposed to Agile - should be simpler as cheap/expensive rates are fixed each day. I've imported these flows and those for the Automation, but I'm not sure how to edit them to do what I need.

Ideally I think I'd prefer to run the automations in HA, as I'm more familiar with it than node-red. Unfortunately I can't get anything to read to the inverter - any setting I change in HA, reverts back after a few mins. Could anyone advise on how I can start to figure out where this is going wrong? Should I start with the flows or HA?

image.png.3e7ac10544633f24071f0d4926e01cc5.png

Thanks.

Hi @SunsynkDongler

When I am trying to work out complicated automations I have taken to Chatgpt for alternate ways to do things, I am no code junkie and getting Chatgpt to write the code for me is way easier than trying to work it out myself.

Main thing I have found is that working on the Chatgpt  prompt to give it as much information about what it is you want to do as possible and the outcome you want at the end of the whole thing. Then double check that it works properly as it sometime assumes things. Really is a life saver with automations though. 

  • Author
8 hours ago, SunsynkDongler said:

I'm trying to create some automations roughly in line with this - although I am on Octopus Flux as opposed to Agile - should be simpler as cheap/expensive rates are fixed each day. I've imported these flows and those for the Automation, but I'm not sure how to edit them to do what I need.

Ideally I think I'd prefer to run the automations in HA, as I'm more familiar with it than node-red. Unfortunately I can't get anything to read to the inverter - any setting I change in HA, reverts back after a few mins. Could anyone advise on how I can start to figure out where this is going wrong? Should I start with the flows or HA?

image.png.3e7ac10544633f24071f0d4926e01cc5.png

Thanks.

What is your Sunsynk Dongle update interval ? 

60s or 5 min ? 

image.thumb.png.2dd770981b6aeaa18fd467533dc7db98.png

 

That is normally the cause for flip flopping like this 

 

The update interval is 60s. I believe I have solved it now though thanks! As I had the 'Valuation Method' set to 'Live Price' in the app it seemed to be going back to these values. Changing to 'Constant price' and these now stick to what i set in HA.
image.thumb.png.8dd6bfb32f53d6292de21ec920c686e2.png
@Sc00bs Great idea on using chatGPT - I'll give it a go!

Edited by SunsynkDongler

  • 1 month later...
  • Author
3 minutes ago, Ronnie1102 said:

Hi @Gary Waterworth

Just checking if there is currently a way to enable and disable peak shaving? Just wondering as I may start using the setting and a automation to handle it would be ideal.

No, That option is not enabled. I dont have a system to test that on as I dont want to play on my home system with that .

Quite frankly I am very hesitant to test anything with settings changes while sunsynk messing round with the 60s vs 5 minute update intervals 

 

Edited by Gary Waterworth

2 minutes ago, Gary Waterworth said:

No, That option is not enabled. I dont have a system to test that on as I dont want to play on my home system with that .

Quite frankly I am very hesitant to test anything with settings changes while sunsynk messing round with the 60s vs 5 minute update intervals 

 

Thanks, understand fully.

  • 2 months later...

Getting a error in node red log anyone else?

2 Feb 19:02:20 - [error] [http request:Login request] no response from server

2 Feb 19:02:20 - [error] [function:Get Bearer Token] TimeoutError: Timeout awaiting 'request' for 3000ms : https://api.sunsynk.net/oauth/token

  • 3 weeks later...

I added our office plant to my account and saw that the solar is showing both in a combined total.

instead of thinking and adding it to the ignore list I deleted the plant and can no longer add it to the ignore list but the solar remains showing the combined two solar outputs.

anyone have some know how on how to get this sorted?

what it should be

IMG_4963.thumb.jpeg.03a7ed0d18b9b5e97151e0b5a0ed959e.jpeg

what it’s showing 

IMG_4965.thumb.jpeg.34df92c9c6e42af4c050613142ce4756.jpeg

4 hours ago, Ronnie1102 said:

I added our office plant to my account and saw that the solar is showing both in a combined total.

instead of thinking and adding it to the ignore list I deleted the plant and can no longer add it to the ignore list but the solar remains showing the combined two solar outputs.

anyone have some know how on how to get this sorted?

what it should be

IMG_4963.thumb.jpeg.03a7ed0d18b9b5e97151e0b5a0ed959e.jpeg

what it’s showing 

IMG_4965.thumb.jpeg.34df92c9c6e42af4c050613142ce4756.jpeg

All sorted, just needed to hard shutdown my hass and returned to normal.

  • 1 month later...
  • 1 month later...

Hi everybody. I upgraded to HA 2025.5.0 and now my Sunsynk integration stopped working. It seems to login to the API but doesn't get a Plant List.

Is Sunsynk down? I can get the info if I go to the Sunsynk site.

image.png

Edited by CraftyChops

2 hours ago, CraftyChops said:

Hi everybody. I upgraded to HA 2025.5.0 and now my Sunsynk integration stopped working. It seems to login to the API but doesn't get a Plant List.

Is Sunsynk down? I can get the info if I go to the Sunsynk site.

image.png

It looks like they changed the way Authentication works with the API. I can get a bearer token, but that new token does not work with any of the other calls. That is how far I got so far, will have a look over the weekend if there is a way to easily fix it. But for now this, and any others that rely on the API will remain broken.

Thank you for that info, Gr3mlin. I'm glad I'm not the only one. I thought I was going mad. I've reloaded from backup several times and reinstalled the Node-RED flows many times. I was at my wits end.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.