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

@slipx got round to doing a bit of a refresh on my card and found the following.

When using the card with a layout card configuration when selecting the card styles it will delete the view_layout section in the card.image.thumb.png.1886e248083f31fdf564dbdc8fbe406d.png

Once you've done the selection you can just add it back in yaml and it works just fine.

Granted if you are setting cards up this way you should be used to working in yaml.  Not sure if there would be a way for the card to ignore the veiw_layout lines if you have it setup, tried moving it to the bottom but it still deletes it if you  change the view type.

Also is the prog1_charge supposed to be duplicated or was that meant to be for something else all 3 selection for prog1-6 are listed prog1_charge just seems to be duplicated.

image.png.19a12f06023cb9dcf573f30f9530a691.png

 

Edited by -cK-

  • Replies 948
  • Views 131.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

Yes I've also noticed that it removes the layout option. Not sure if there is a way to stop that.

Thanks for catching the mistake. That is meant to be prog5_charge. I'll push a fix 

  • Author

I have added Energy Mode into the automation. Works fine.

Dont worry about the "Override". That is for my own automation streams 

input_boolean. sunsynk_energymode
 

Still working on the "charge" boolean switches. Having some wierd stuff setting on the sunsynk website

image.thumb.png.a08f5f276a705a0056c8ebf2c6856740.png

 

Edited by Gary Waterworth

20 minutes ago, Gary Waterworth said:

I have added Energy Mode into the automation. Works fine.

Dont worry about the "Override". That is for my own automation streams 

input_boolean. sunsynk_energymode
 

Still working on the "charge" boolean switches. Having some wierd stuff setting on the sunsynk website

image.thumb.png.a08f5f276a705a0056c8ebf2c6856740.png

 

Could you tell me why when toggling energy mode I get exited: energyMode: exited - entity not managed on the flow? Time changes and soc changes are working flawless.

Updated the node red flow to the newest available.

Edited by Ronnie1102

  • Author
1 minute ago, Ronnie1102 said:

Could you tell me why when toggling energy mode I get exited: energyMode: exited - entity not managed on the flow?

Updated the node red flow to the newest available.

Hmmm , When did you download. I pushed the version with energy mode during this morning to teh stable version 

That message means it is still "disabled" in the var setups 

Just now, Gary Waterworth said:

Hmmm , When did you download. I pushed the version with energy mode during this morning to teh stable version 

That message means it is still "disabled" in the var setups 

Just downloaded it now added the new yaml below and rebooted. I see JSON - Node Red - Export Flow - Option 1 - 1 Plant 1 or 2 Inverters.json has been updated as well but have not imported the updated one yet as it seems to be funky when I import, such as no name just flow  and makes me drag and place it down into node red.

sunsynk_energymode:
   initial: true

  • Author
5 minutes ago, Ronnie1102 said:

Just downloaded it now added the new yaml below and rebooted. I see JSON - Node Red - Export Flow - Option 1 - 1 Plant 1 or 2 Inverters.json has been updated as well but have not imported the updated one yet as it seems to be funky when I import, such as no name just flow  and makes me drag and place it down into node red.

sunsynk_energymode:
   initial: true

That is just the initial mode :)

Just repull down the general flow . I have repushed it to make sure. I think I didnt push it after I included the energymode in the array for entities to watch far 

The flow with just the single function is the export to the usable entities. 

You will need to update that one as well as I added energymode and a few others on there 

Just booting up my test vm to import in there and make sure

Edited by Gary Waterworth

4 minutes ago, Gary Waterworth said:

That is just the initial mode :)

Just repull down the general flow . I have repushed it to make sure. I think I didnt push it after I included the energymode in the array for entities to watch far 

The flow with just the single function is the export to the usable entities. 

You will need to update that one as well as I added energymode and a few others on there 

Just booting up my test vm to import in there and make sure

Thanks just imported the new flows required json, waiting on your feedback regarding the funky behaviour of the single function when importing then will import that as well.

  • Author
4 minutes ago, Ronnie1102 said:

Thanks just imported the new flows required json, waiting on your feedback regarding the funky behaviour of the single function when importing then will import that as well.

Fixed it JSON - Node Red - Export Flow - Option 1 - 1 Plant 1 or 2 Inverters.json

I think when I exported it I only exported one node , not the flow 

 

 

 

Thanks @Gary Waterworth importing and rebooting then will test.

 

8 minutes ago, Gary Waterworth said:

FYI : Sunsynk is importing the historical data atm. Had a nice "problem" I had to fix in my energy sensors this morning 

 

I see my total energy sensors are also funky and abnormally high, yesterday my solar was showing 1600kWh and today I see the total grid, total return to grid and the total battery charge and discharge is showing some super high numbers.

  • Author
12 minutes ago, Ronnie1102 said:

Thanks @Gary Waterworth importing and rebooting then will test.

 

I see my total energy sensors are also funky and abnormally high, yesterday my solar was showing 1600kWh and today I see the total grid, total return to grid and the total battery charge and discharge is showing some super high numbers.

You need to fix this through developer. Look on your energy screen to get an approximate time then in developer -> statistics

This is only a problem for the long term stats recorder. The short term stuff falls away after 7 days or so 

Click on the icon on teh right

image.thumb.png.3facb50155343ad55a1773dd102652a6.png

image.png.696ae7f74c6f54361dcb1f0d87d0b8ee.png

Go forward and back 30 minutes at a time and find teh large value and then 0 it out

 

Edited by Gary Waterworth

4 minutes ago, Gary Waterworth said:

You need to fix this through developer. Look on your energy screen to get an approximate time then in developer -> statistics

This is only a problem for the long term stats recorder. The short term stuff falls away after 7 days or so 

Click on the icon on teh right

image.thumb.png.3facb50155343ad55a1773dd102652a6.png

image.png.696ae7f74c6f54361dcb1f0d87d0b8ee.png

Go forward and back 30 minutes at a time and find teh large value and then 0 it out

 

Ahhh thanks will look through and sort that out, all working now by the way appreciate your work!

On 2023/12/13 at 12:29 PM, Gary Waterworth said:

I see you use teh battershutdowncap. Will add that one to the invertor entity

Edded a it and a few extra

Just wanted to check was the battershutdowncap added in the last update you pushed as well.  Think that was the only thing I saw I used on the old setting attr that wasn't there the rest should be a relatively easy switch as soon as I get time to do it.  Hopefully this weekend or the next.  Excited to start playing with V2 now 😅

  • Author
2 minutes ago, -cK- said:

Just wanted to check was the battershutdowncap added in the last update you pushed as well.  Think that was the only thing I saw I used on the old setting attr that wasn't there the rest should be a relatively easy switch as soon as I get time to do it.  Hopefully this weekend or the next.  Excited to start playing with V2 now 😅

Yup

image.thumb.png.668216da44547ee952fd15821f871d46.png

@Gary Waterworth Sorry but I need some assistance having a blond moment or am just blind as a bat.

##### sn_data:          Inverter SN to use for single data values
#####                   Do a run through then in node red look at global context data under 
#####                   SS_Consolidat -> Config Data -> Inverter Plant
#####                   [Inverter SN]:[Plantid]
##### sn_flow:          Plant ID to use for flow data
#####                   Do a run through then in node red look at global context data under 
#####                   SS_Consolidat -> Config Data -> Inverter Plant
#####                   [Inverter SN]:[Plantid]

Where to I get the global context data in node-red to get this info.  I tried my serial number on the inverter but then I get some sensor pulling data and some still as unavailable breaking some of my cards.

Or can I look this up on the v1.1 section and just input it and hit go.

image.png.9a33e33dbac6293c9b34eb2e6bd79b87.png

if so lets say the id is 1234 and sn is 5678

which is which or do you mean both should be set as 5678:1234

[Inverter SN]:[Plantid] this is confusing me as well probably because I'm not seeing it where I should 🤷‍♂️

Node-red noobnish showing here 👀

[edit] See now you clearly say which is which and I think these are custom sensor I had setup that needs remapping, let me check that out gonna try those 2 ID's and see if things work.

Thanks

[edit] Found the problem, proper case...

Some needed remapping and some had Capital letters that is now lower case.  Think I've got most sorted and the other sensor showing as unavailble might be because I didn't delete the old flow just disabled it to easily revert to v1.1 if needed.

Will have a look throught everything again before loading the changable card, my one markdown card is still broken but think that is also just a remapping all the reference sensors needed for it will have a look at that tomorrow.

 

Edited by -cK-

image.thumb.png.654354624cd2adb0c0aeda071b8a2f09.png

Are the input helpers supposed to be read only?  When I tried to test the card to switch priotity load to priority batt it would show the toggle was turned off but after a minute or so it would flip back on same with the soc % I set it and then a minute or so later it resets to what it was so the inverter seems to still override it.  Am I I missing a step or where can I look or debug what the issue might be?

image.thumb.png.f588149a205708ac40b55332f0d018b0.png

 

Edited by -cK-

  • Author
3 hours ago, -cK- said:

image.thumb.png.654354624cd2adb0c0aeda071b8a2f09.png

Are the input helpers supposed to be read only?  When I tried to test the card to switch priotity load to priority batt it would show the toggle was turned off but after a minute or so it would flip back on same with the soc % I set it and then a minute or so later it resets to what it was so the inverter seems to still override it.  Am I I missing a step or where can I look or debug what the issue might be?

image.thumb.png.f588149a205708ac40b55332f0d018b0.png

 

  enable_sunsynk_auto_mode:
   initial: false 

The Initial is set to false ( deliberately ) to stop people just having auto updates without checking their configs 

Put a switch on your dashboard somewhere and toggle it on 

image.png.4dccdcd4d7897e81caedabaeafe43da9.png

So when it is disabled , after a minute and a bit ( There is a forced delay once an update is done to allow teh inverter to get in sync before the next data fetch ) the switches will return to settings actually on the inverter.

 

  • Author

Global Context 

image.thumb.png.a8e8710dd2a6040efe1f7d1d4b3015fe.png

You may need to open teh debug view then pulldown top right , select context data , hit refresh button 

image.png.ce6c2078126494b6a9172f1b353fbc3b.png

SS :- General Work Area 

SS_Consolid :- All Data actually pulled from account 

SS_EXport_Data :- Processed Data that will be populated to the sunsynk_usable.* entities 

This is the single function that is on it's own on that extra flow page. 

Designed that way so it can be swopped in and out for different plant inverter setups.

Needs a lot of documentation so people can see how to edit it for their own needs

 

Because we are exploring all plants and inverters in an account , we cant just export everything to a single entity. I tried it and HA was not happy with a sensor of over 16k bytes :D

 

Edited by Gary Waterworth

Thanks @Gary Waterworth got the correct plant ID now, freaking blind as a bat.

image.png.0c59ec4807f746edfeb6feb818a2bfb2.png

So do I need to set this to enabled then?  Flipping the sunsynk_auto_mode helper does nothing to the flow itself so I'm guessing that is just the indicator it use to trigger the 0 minutes to push the HA values through instead of pulling the data when it is set to enabled.

 

Edited by -cK-

  • Author
11 minutes ago, -cK- said:

Thanks @Gary Waterworth got the correct plant ID now, freaking blind as a bat.

image.png.0c59ec4807f746edfeb6feb818a2bfb2.png

So do I need to set this to enabled then?  Flipping the sunsynk_auto_mode helper does nothing to the flow itself so I'm guessing that is just the indicator it use to trigger the 0 minutes to push the HA values through instead of pulling the data when it is set to enabled.

 

The input_boolean Sunsynj auto mode needs to be enabled.

That flow node should already be enabled

It will only show when a messages reaches it. So enable and then try change something

Edited by Gary Waterworth

image.thumb.png.c51aa0d32c37d455814485989ae3526a.png

Awesome got it working 👍 not sure what the problem was but it's working now 😅

So if all is working properly I can just as well set this to true otherwise if HA restarts it will go to Off again.

image.png.cbb1978aa9e017058fc0e16ac305e209.png

Best practice I guess would be to just flip that to false each time the V2 flows gets updated in node-red during development to first test it then flip it back to default true once I've tested it and happy it works etc.

Edited by -cK-

3 minutes ago, -cK- said:

image.thumb.png.c51aa0d32c37d455814485989ae3526a.png

Awesome got it working 👍 not sure what the problem was but it's working now 😅

So if all is working properly I can just as well set this to true otherwise if HA restarts it will go to Off again.

image.png.cbb1978aa9e017058fc0e16ac305e209.png

Best practice I guess would be to just flip that to false each time the V2 flows gets updated in node-red during development to first test it then flip it back to default true once I've tested it and happy it works etc.

Yes it will go off again, my HA does not reboot often by itself but I have a automation that reboots every morning at 06:45 and then I have a automation that enables the auto mode at 07:55 so my load shedding automations can still trigger battery caps at certain times.

  • Author
50 minutes ago, -cK- said:

 

So if all is working properly I can just as well set this to true otherwise if HA restarts it will go to Off again.

Just check the default SOC values :P

The initial are what my system is configured as 

I deliberately set it to disabled to stop the complaining brigade. 

"I loaded your flows and my settings weer broken" 

At least this way you have to deliberately go turn it on 

Mine is set to initial true and I have no problems.

My HA runs in a VM on a Intel NUC device. So lots of capacity and I dont need reboots. I have another asus mini pc I am looking to migrate so so I have access to usb ports. Want to look at active pylontech battery monitoring 

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.