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

6 hours ago, Gary Waterworth said:

Definately looking a lot better after I put the changes in

image.png.184f5fedf243b42532a8361eeb09f807.png

 

will wait for it to be pushed to stable before changing anything just yet.

  • 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

Having a few issues in getting v1.1 to work in HA. Have hopefully followed videos but getting errors that looks like HA is not logging in to somewhere - I assume the Sunsynk site. 
any suggestions to help me resolve it would be grateful  im region 2 and I can login to https://pv.inteless.com/login

TIA

 

If you are on V1.1 which is no longer being developed you could look at page 19 if your region is set correctly.

Any reason you are using v1.1 instead of the latest v2.3?

https://powerforum.co.za/topic/16806-sunsynk-logger-integration-into-home-assistant/page/19/

On 2023/12/04 at 12:17 PM, -cK- said:

image.png.ea74cc69f33f28492e533dff76e73c44.png

Just double click the Setup Global Vars, scroll down to around line 87 or 88

It should still be on pv.inteless.com if region 1

image.png.da4b1318361d1368aefb2f553c97ab84.png

just add // in front of line 88 and delete the // in front of api.sunsynk.net.

This should look like this then.

image.png.a393da120c4d189d38e255e9933bce7a.png

Hit done and hit deploy at the top as well. Both buttons should be red so can't miss it 😉

image.png.b0943e976517966d1dcb6123cebd3bb3.png

 

I tested my region on the sunsynk login page to confirm I was able to log in on region 2 first though.

https://sunsynk.net/login

@Gary Waterworth I updated to V2.4 a bit earlier today and just noticed that my AC and DC temps wasn't pulling in.

Could you just confirm on your end this is working?  I've reverted back to a V2.3 backup and the temps are pulling in on it.  Just trying to pin point if it is user error on my end or on the update.

Thanks

V2.4

image.png.0ab333a535b876baf1ec4be99c3b4c73.png

image.png.f3ab5466998e29413b289b0762740446.png

V2.3

image.png.65bae451995177ccd62261240bfa789f.png

image.thumb.png.787f93d74732fab301ba4379edb0d23f.png

 

6 minutes ago, -cK- said:

@Gary Waterworth I updated to V2.4 a bit earlier today and just noticed that my AC and DC temps wasn't pulling in.

Could you just confirm on your end this is working?  I've reverted back to a V2.3 backup and the temps are pulling in on it.  Just trying to pin point if it is user error on my end or on the update.

Thanks

V2.4

image.png.0ab333a535b876baf1ec4be99c3b4c73.png

image.png.f3ab5466998e29413b289b0762740446.png

V2.3

image.png.65bae451995177ccd62261240bfa789f.png

image.thumb.png.787f93d74732fab301ba4379edb0d23f.png

 

All good my side on 2.4

  • Author

Any debug messages?

No changes on ac DC that I am aware of.

Will do a clean load on my test vm tomorrow and check.

Those are 2 where I have to get graph data and take last 2 figures. So if you can see the graphs in the app it should work

Edited by Gary Waterworth

54 minutes ago, Ronnie1102 said:

All good my side on 2.4

I've re-imported the flows a few times now and kept getting no data and could see the below on the flow diagram and then like magic and fairy dust it went away and temps are up for now 🤔

image.thumb.png.0144858c74ad3325e02279b39af82421.png

I'll keep and eye on this and check if this happens again as it just pulled another 0 reading on me as I was typing and then came back again.  Might just be the sunsynk servers being its usual 💩.

EDIT @Gary Waterworth

I am observing that there seems to be a delay in processing the last flow, these 8 will start at the same time but won't always finish at the same time. The first 7 works like clock in sync but the last one for the temps will linger and then sometimes returns with a no responses from server and 0 readings on the ac and dc but the batt temp is still given. 

image.png.7951656b0cd5ca19a87c26ef9f51a428.png

Edited by -cK-

  • Author

Yeah that is teh actual web api request taking its time. I added in a 2 second response timeout to help with the sunsynk "crap".

So what is different on these 2 readings is that I have to request graph data as those 2 reading are just not available anywhere ( that I could find ) as a point in time value. 

Stupid I know, but that is what it is. 

This has been a cause of a lot of the energy "0" readings nonsense

 

  - sensor:
      - name: "SunSynk Config"
        state: "Config Sensor"
        unique_id: "sensor.sunsynk_config"
        attributes:
          login: !secret sunsynk_user
          password: !secret sunsynk_password
          region: 2
          invertor_list_opt: 0
          return_items: 10
          sn_data: !secret sunsynk_sn_data
          sn_flow: !secret sunsynk_sn_flow
          unit_cost: 2.37
          force_short_delay: "false"
          timeout: 2000

Edited by Gary Waterworth

Okay makes sense as I'm observing the same delay behavior in V2.3 except I don't get the no response error.  I suspect this no response error has to do with the added error checking and timeout that was added and this is missing the deadline sometimes.  I'm guessing I should just try and increase the timeout in the config to allow for a second or 2 more and see if this might not help.

Will update to 2.4 this afternoon again when I get home.  My inverter fans are linked to the temps so if it keeps dropping to 0 they will turn off when it should be on.  Hopefully a bump in the timeout delay solves this.

2 hours ago, Gary Waterworth said:

Dont go past 5 seconds.

Once you have a temp, failed requests shouldn't put a zero but keep the current 

Noted, will do 500ms interval increases to try and find a sweet spot.

Will report back on where I end up 👍

On 2024/02/15 at 6:08 AM, -cK- said:

If you are on V1.1 which is no longer being developed you could look at page 19 if your region is set correctly.

Any reason you are using v1.1 instead of the latest v2.3?

https://powerforum.co.za/topic/16806-sunsynk-logger-integration-into-home-assistant/page/19/

Installed v1.1 from an old link ! 
thought I would do a clean installation so wiped it clean ready for latest version, hence question. 
 

however, after reading the forum I now realise that I have the Sunsynk dongle. Will this code still work ? Or do I need to go down another route?

when googling I found a HA code that would pull in values from web and I can then put the power flow card in HA to view the data. Not too worried about writing back to the inverter. 
just need to remember who did the other code !

TIA

On 2024/02/17 at 5:16 PM, JTJ said:

Installed v1.1 from an old link ! 
thought I would do a clean installation so wiped it clean ready for latest version, hence question. 
 

however, after reading the forum I now realise that I have the Sunsynk dongle. Will this code still work ? Or do I need to go down another route?

when googling I found a HA code that would pull in values from web and I can then put the power flow card in HA to view the data. Not too worried about writing back to the inverter. 
just need to remember who did the other code !

TIA

Hello There JTJ,

I believe you may be a little confused. This thread is purely for the E-Linter (SUNSYNK) dongle.

The dongle with the external antenna is the Solarman dongle and works with KellerZA integration and supports local polling.

Gary has done some amazing work here for the people that do not have the ability to connect to their RS-485 port and still need their dongles to be connected to retain warranty/SLA support.

If you are using the Sunsynk Application or connect to the sunsynk.net website and using region 2 for the login, then you are in the correct place to get your data into Home Assistant via the Node-Red flows and HA templates.

Regards,

Wazza

On 2024/02/17 at 3:13 PM, -cK- said:

Noted, will do 500ms interval increases to try and find a sweet spot.

Will report back on where I end up 👍

Looks like things settled down with a 3000ms timeout

image.png.719beddc9cd419b791015ad771aaade0.png

  • Author

If this is true Im going to get real grumpy.

May have to start looking at another method to get decent data from the inverter

Looks like the 60s gateway updates arent enabled or even if they show as 60s they arent

 

image.thumb.png.f6197e258a9b8cb56c691278044bf115.png

10 minutes ago, Gary Waterworth said:

If this is true Im going to get real grumpy.

May have to start looking at another method to get decent data from the inverter

Looks like the 60s gateway updates arent enabled or even if they show as 60s they arent

 

image.thumb.png.f6197e258a9b8cb56c691278044bf115.png

Was wondering why on the sunsynk website it shows last update 4 minutes ago etc.

Our app has been down most of yesterday and most of today

 

its looking like the only robust way to control this is via a direct integration like Solar assistant or directly into HA

 

a real shame. We shouldn’t need to do this but seems their tech team have theirs heads up their asses (technical term as I’m a CTO)

@Gary Waterworth

Good day,

I'm really battling to get my SunSynk Max on HA.  I have watched numerous videos and just can't get it done correctly.  Is there someone who can please assist me ?

Even better if you can log onto my system and show me how to set it up correctly with the most data possible as often as possible.

Thank you for your time and effort so far.

Jannie.

  • Author
On 2024/02/24 at 9:19 PM, JTS said:

@Gary Waterworth

Good day,

I'm really battling to get my SunSynk Max on HA.  I have watched numerous videos and just can't get it done correctly.  Is there someone who can please assist me ?

Even better if you can log onto my system and show me how to set it up correctly with the most data possible as often as possible.

Thank you for your time and effort so far.

Jannie.

Is your home assistant accessible from the internet ?

  • Author

Ok some good news at least.

I have been testing for the last few weeks on changes I have made.

The energy data now seems to be stable regardless of API errors , rebooting/updating of HA and Node red.

Looks like teh error checking and filter sensors are behaving properly. I havent had to "massage" the energy data at all.

 

As far as the 60s and 300 second datalogger update story, I am busy watching the sunsynk forum and others to see what more comes of it.

I suspect their outages are a badly designed/implemented infrastructure when they took it over from e-linter and they are limiting the number of accesses a client makes. Where that will lead to further things that can affect us ~shrug~

 

3 minutes ago, Gary Waterworth said:

Is your home assistant accessible from the internet ?

Hallo @Gary Waterworth,

I'm a total loss here so hopefully I answer your question.

 

My pc (laptop) do speak to a sonoff switch and see my inverter.  However the details or data I can see on HA and on the inverter screen itself is not the same.

 

I did watch several videos and tried really hard to copy it to the "T" but ja im under the bridge and don't see me surviving this one.

My laptop is on anydesk or teamviewer would you like to see what I see.

 

Kind regards,

Jannie.

2 hours ago, Gary Waterworth said:

Ok some good news at least.

I have been testing for the last few weeks on changes I have made.

The energy data now seems to be stable regardless of API errors , rebooting/updating of HA and Node red.

Looks like teh error checking and filter sensors are behaving properly. I havent had to "massage" the energy data at all.

 

As far as the 60s and 300 second datalogger update story, I am busy watching the sunsynk forum and others to see what more comes of it.

I suspect their outages are a badly designed/implemented infrastructure when they took it over from e-linter and they are limiting the number of accesses a client makes. Where that will lead to further things that can affect us ~shrug~

 

On the 60s topic on the one template card there is this:

image.png.6e2fba4cce6a3225a5def472ec32ae5e.png

Is that the data logger update? 

Reason I'm asking is that though the sunsynk website looks to only update their data every 5 minutes, from my data it would seem to be pulling data every minute still. 🤷‍♂️

  • Author
55 minutes ago, -cK- said:

On the 60s topic on the one template card there is this:

image.png.6e2fba4cce6a3225a5def472ec32ae5e.png

Is that the data logger update? 

Reason I'm asking is that though the sunsynk website looks to only update their data every 5 minutes, from my data it would seem to be pulling data every minute still. 🤷‍♂️

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  

Edited by Gary Waterworth

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.