August 8, 20242 yr 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.
August 12, 20241 yr 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
August 12, 20241 yr 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
August 12, 20241 yr 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. 👍
August 16, 20241 yr Must say this has been running flawlessly since your latest updates Gary, great piece of work you have done for all of us!
October 2, 20241 yr 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? Thanks.
October 3, 20241 yr 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? 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.
October 3, 20241 yr 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? Thanks. What is your Sunsynk Dongle update interval ? 60s or 5 min ? That is normally the cause for flip flopping like this
October 3, 20241 yr 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. @Sc00bs Great idea on using chatGPT - I'll give it a go! Edited October 3, 20241 yr by SunsynkDongler
November 14, 20241 yr 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.
November 14, 20241 yr 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 November 14, 20241 yr by Gary Waterworth
November 14, 20241 yr 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.
February 2, 20251 yr 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
February 2, 20251 yr 29 minutes ago, Ronnie1102 said: 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 It seems Sunsynk is offline.
February 2, 20251 yr 4 minutes ago, HowserMD said: It seems Sunsynk is offline. You are correct, website just loading on login attempt.
February 21, 20251 yr 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 what it’s showing
February 21, 20251 yr 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 what it’s showing All sorted, just needed to hard shutdown my hass and returned to normal.
May 9, 20251 yr 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. Edited May 9, 20251 yr by CraftyChops
May 9, 20251 yr 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.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.
May 9, 20251 yr 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.
May 9, 20251 yr Author Will upgrade and have a look. Im litterly moving out my house tomorrow so will lose access to my sunsynk
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.