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

13 minutes ago, Gary Waterworth said:

Yeah , sunsynk have disabled the 60s updates .... Probably due to issues they have , but yeah no idea. I also seem to get data every minute as well  

Do your systems display 300s for the gateway module on the website or do they still show 60s? Both sites I have sorted out are still listed as 60s on the gateway settings.

 

  • Replies 948
  • Views 131.6k
  • 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

Is daar 'n manier wat ek met een van julle slim mense direk kan kontak maak of julle met my om hierdie aan die gang te kry asb

  • Author
13 hours ago, WazzaCPT said:

Do your systems display 300s for the gateway module on the website or do they still show 60s? Both sites I have sorted out are still listed as 60s on the gateway settings.

 

They show as 60s

Going to be doing some more tests to try see what exactly they are doing. It may just be the website that has the delay

Edited by Gary Waterworth

  • Author
12 hours ago, JTS said:

Is daar 'n manier wat ek met een van julle slim mense direk kan kontak maak of julle met my om hierdie aan die gang te kry asb

I know the easy solution is just to get someone to do it for you, but for myself I have fairly hectic schedules for work and kids, so don't always have the time.

Maybe explain what problems you are having so we can try help.

HA and node red can be a bit of a learning curve

48 minutes ago, Gary Waterworth said:

I know the easy solution is just to get someone to do it for you, but for myself I have fairly hectic schedules for work and kids, so don't always have the time.

Maybe explain what problems you are having so we can try help.

HA and node red can be a bit of a learning curve

Morning Gary,

PV3 is not updating / showing true values (it makes use of something else), SOC on card is not updating but stand alone it does update, utility use is not showing correctly so can not determine if there is eskom or not.

I understand what you say about time, I just thought for you who understands this it would take a minute or two seeing that you know exactly where to look than me also with limited time working through videos and still don't understand how and what.

Come to think of it my data is not currently coming from node red but from sunsynk sensor. The code which is available to download is updated by you to version 2.4 (take it to sort out Region 1 and Region 2) BUT the latest video I could get was posted 10 months ago when the regions was still in play. Therefor the "instructions" to apply and incorporate your solution went well above my head and I can not monkey see monkey do to get the correct code for me to make use of node red.

So most probably I must start with the correct code/script to implement node red. If it is in the folder V2.4 it just shows you how little I really know and will then need even more assistance to get back on the wagon than I thought.

Thanx again

Edited by JTS
Additional information

  • Author
52 minutes ago, JTS said:

Morning Gary,

PV3 is not updating / showing true values (it makes use of something else), SOC on card is not updating but stand alone it does update, utility use is not showing correctly so can not determine if there is eskom or not.

I understand what you say about time, I just thought for you who understands this it would take a minute or two seeing that you know exactly where to look than me also with limited time working through videos and still don't understand how and what.

Come to think of it my data is not currently coming from node red but from sunsynk sensor. The code which is available to download is updated by you to version 2.4 (take it to sort out Region 1 and Region 2) BUT the latest video I could get was posted 10 months ago when the regions was still in play. Therefor the "instructions" to apply and incorporate your solution went well above my head and I can not monkey see monkey do to get the correct code for me to make use of node red.

So most probably I must start with the correct code/script to implement node red. If it is in the folder V2.4 it just shows you how little I really know and will then need even more assistance to get back on the wagon than I thought.

Thanx again

Version 2.x was a complete rewrite and methology change as V1 had severe limitations due to the logic flow framework used.

The video was created by someone else and quite frankly I don't have the correct software or time to do a new one. 

The short guide is available on : https://github.com/gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk/wiki

It does not make sense for me to try work remotely on someone else's system as you are not setup for me to look at the real data coming in and to set you up for that is time consuming.

My solution is a 2 pv string , so there may be something incorrect with the code for pv3/4. The only way i can check that is if someone "lends" me their login details or share their plant to [email protected]

That way I can setup my test environment and check with those details.

I know I did put in some fixes for pv3/4, and again this morning but again I cant test them.

image.thumb.png.7f1405773b0088ddb40dae4ef20cb2ff.png

Utility use, we would have to look at as I am not sure where it is shown or even if it is shown on sunsynk.net, but again I cannot use my system to check as I dont use that or aux power.

People must remember this is not a paid product and I am doing this free and gratis, so it get looked at when I have spare time and it takes LOTS of time. Sometimes it may go for 2 or 3 weeks where I dont look at it.

Sunsynk recently has been particularly painful with their changes to Region 2 and they are still having fairly major teething problems.

There is no API manual from sunsynk ( that is anywhere near up to date and that what is available is wrong/incomplete in a lot of places), so everything is reverse engineered and that takes time. 

ATM my focus is adding in some of the extra settings to be changable , but having some issues around it. Also being focused on is the bad data coming from Sunsynk and their API response time challenges  although the current fixes appear to be handling that correctly ( if not very smartly )

Edited by Gary Waterworth

  • Author

Further on the data gather time.

Mine still seems to be on 60s gather times, so all good. It may just be the website that is only updating every 5 min

Edit : Put in a graph covering last 12 hours

Very interesting :)

image.png.b0233fbc158f689e54baf79b92e122e6.png

 

Edited by Gary Waterworth

  • Author

Who knows.... I have been building in some more error checks and fixing some logic bugs while this has been going on.

Professionally I am in the business of enterprise high availability server and applications. They seem to be run on a string and have no experience

 

Trying to make the node red more tolerant of their nonsense

The web calls are actually successfully being completed, just no data in the results

image.thumb.png.9f6c94e7552421ab1241ec34d4bafa0d.png

Edited by Gary Waterworth

@Gary Waterworth filters seem to be working really good. I can see my return to grid sensor which I did myself that does not have the filters goes wonky while the others stay good and does not show thousands of KWh.

Anything I can do to have the filters work on that as well such as just copy pasting in the config yaml or is it more complex than that?

image.png

@slipx I was wondering if the logger last updated sensor could be added to the card similar to how it is in the card of Gary showing how long ago it was updated.

image.png.f23c8c27fe3fbd090b954a57922671f3.png

image.png.f1bacc677648a8dbd7fea1fd4f935ca0.png

Was thinking it could maybe be added here:

image.png.a601132c4e591771d86d24362c616879.png

and here:

image.png.5cfc365e1ac9bc02b196c394df766564.png

I do have the logger card on a separate page but it would be more convenient to have it in the card.  No real space left on my dashboard to add it on as a separate card and having it on my front page will help a bit.

With all of the down time from Sunsynk lately the inverter doesn't always show offline so having this on the card you can at least easily see if it is up to date or not and not get false data from 3 hours ago like I did this morning giving me a false indication of my battery level 🤦‍♂️.

Thanks

Hi @-cK- Thats a very unique requirement for a specific integration method and inverter combination and would not really benefit all the other users of the card. Why don't you see if you can use the  energy_cost_buy: or prepaid_units: entities to show this data

36 minutes ago, Benseb said:

@Gary Waterworth how do we update this integration to take advantage of your changes?

 

I’ve not seen anything in HA to say there’s an update available 

You update manually but re-importing the flows. Don't forget to update the template entities as well for the filtering.

  • Author
On 2024/03/04 at 2:57 PM, Ronnie1102 said:

@Gary Waterworth filters seem to be working really good. I can see my return to grid sensor which I did myself that does not have the filters goes wonky while the others stay good and does not show thousands of KWh.

Anything I can do to have the filters work on that as well such as just copy pasting in the config yaml or is it more complex than that?

image.png

Will look at this later. 

 

On teh other topic I will have a look at teh code to force offline the online indicater if teh logger hasnt been updated in the last x minutes

Just busy with work stuff , so may take a few days

Edited by Gary Waterworth

4 hours ago, Gary Waterworth said:

Will look at this later. 

 

On teh other topic I will have a look at teh code to force offline the online indicater if teh logger hasnt been updated in the last x minutes

Just busy with work stuff , so may take a few days

@Gary Waterworth That would work as well 👌

@slipx Unfortunately using the suggested slots only returns 0 not a time stamp. 

So was playing around with altering my dashboard but if the online status can incorporate the logger last update as a check this would be the better solution and I can revert back to my normal dashboard.

Just wondering if you should make the check linked to a configurable value or fix seeing not everyone is on 60s and having the option to fine tune this might be a bonus (but not a necessity), I'll leave that in your capable hands Gary which will work best for you when you get round to it. 👍

On 2024/03/06 at 6:11 AM, Gary Waterworth said:

Will look at this later. 

 

On teh other topic I will have a look at teh code to force offline the online indicater if teh logger hasnt been updated in the last x minutes

Just busy with work stuff , so may take a few days

Hi Gary I see you have added the export filters thank you!

Quick question which one do we use? My guess is the filtered sensor but just making sure.

 

image.png

Hello @Gary Waterworth,

With you the ignore plant list, I assume that your new system can poll data from multiple sites.

How does it handle this and will there be information for each site identifiable in the consolidated data sensors?

Also, in theory would it be possible to programmatically generate all the appropriate sensors via Node-Red and have them published through MQTT with auto-discovery instead of using the templates, sensors and inputs?

  • Author
3 hours ago, WazzaCPT said:

Hello @Gary Waterworth,

With you the ignore plant list, I assume that your new system can poll data from multiple sites.

How does it handle this and will there be information for each site identifiable in the consolidated data sensors?

Also, in theory would it be possible to programmatically generate all the appropriate sensors via Node-Red and have them published through MQTT with auto-discovery instead of using the templates, sensors and inputs?

Theoretically possible. But I'm not doing it :)

if a plant is on the ignore list it will not fetch any inverter data at all

21 minutes ago, Gary Waterworth said:

Theoretically possible. But I'm not doing it :)

if a plant is on the ignore list it will not fetch any inverter data at all

Thanks for the response. So if a plant is not on the ignore list then all the data pulls through. Does your system sum all sites together or would there be identification between sites in the consolidated data?

  • Author
1 hour ago, WazzaCPT said:

Thanks for the response. So if a plant is not on the ignore list then all the data pulls through. Does your system sum all sites together or would there be identification between sites in the consolidated data?

It woulkd be summed together, but that is all in the export node. So fairly easy to change the logic

 

Edited by Gary Waterworth

  • Author
10 hours ago, Ronnie1102 said:

Hi Gary I see you have added the export filters thank you!

Quick question which one do we use? My guess is the filtered sensor but just making sure.

 

image.png

Same one as before total_export. Did it that way so you didnt lose history 

 

pre -> filtered -> total_export

Edited by Gary Waterworth

2 hours ago, Gary Waterworth said:

It woulkd be summed together, but that is all in the export node. So fairly easy to change the logic

 

Thank you. Will have a look at customising the export node.

 

Might even be able to look at implementing mqtt from there.

@Gary Waterworth any idea what this means.

image.png.08f25f5e9bd84191650e844e05e42711.png

I've noticed my HA was stuck and didn't update for 2 hours (thought the app was down but logged in to the web portal and saw it was running)

I've restarted my HA instance remotely to see if it resolved it but no luck.  Will try a reboot when I get home this evening after work but everything was working fine until about 12:00 today.

Anyone else getting this error as well perhaps?

EDIT:

image.png.99fa7a4442a2e6959a26b41ca7cfdfba.png

Seeing this as well

Edited by -cK-

11 minutes ago, -cK- said:

@Gary Waterworth any idea what this means.

image.png.08f25f5e9bd84191650e844e05e42711.png

I've noticed my HA was stuck and didn't update for 2 hours (thought the app was down but logged in to the web portal and saw it was running)

I've restarted my HA instance remotely to see if it resolved it but no luck.  Will try a reboot when I get home this evening after work but everything was working fine until about 12:00 today.

Anyone else getting this error as well perhaps?

EDIT:

image.png.99fa7a4442a2e6959a26b41ca7cfdfba.png

Seeing this as well

Same here, looks like sunsynk changing things again.

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.