Sunsynk + Home Assistant

Whoa. That's hardcore. Awesomeness !

I was however looking for something a little more simple. Maybe some additional explanation is required starting off with I'm no HA guru ( started out 2 weeks ago ) !

Currently I use the timer function on the inverter to limit the battery discharge to 40%. Ideally I'd like to treat that timer like a device or switch that can simply be flipped to on or off. So I don't want HA to manage the inverter entirely, just the timer function
Sounds like you are at the entrance to the rabbit hole.... :p This is where the fun starts one you have started there is no stopping of what you want to get done.

The github code is what I use to control only the timer. It will sort the time according to what level it needs to be to get throught load shedding. It works out if it is a 2 hour or 4 hour slot. Then it works out in which slot on the timer it will fall in with and adjust the timer's SOC level to what it needs to be. It also sets the allow and not allow between 7am and 5pm to charge from the grid.
 
Sounds like you are at the entrance to the rabbit hole.... :p This is where the fun starts one you have started there is no stopping of what you want to get done.

The github code is what I use to control only the timer. It will sort the time according to what level it needs to be to get throught load shedding. It works out if it is a 2 hour or 4 hour slot. Then it works out in which slot on the timer it will fall in with and adjust the timer's SOC level to what it needs to be. It also sets the allow and not allow between 7am and 5pm to charge from the grid.
I fell down said hole real quick !

It stared with just using HA to display battery charge level on a Magic Mirror ( another Pi project ) for the Mrs. A week later HA is managing the pool, the geyser, the garage door and some lights, and doing so around load shedding

Thanks so much for this. I'll take a look through this and see if I can dig out what I need. I see how it relates to the slots etc. What I'm aiming for a simple automation like : On Thursday, charge the battery to 100% from 10h00 onwards. I can work around load shedding slots like I've done for the pool / geyser. Trying to keep it simple
 
I fell down said hole real quick !

It stared with just using HA to display battery charge level on a Magic Mirror ( another Pi project ) for the Mrs. A week later HA is managing the pool, the geyser, the garage door and some lights, and doing so around load shedding

Thanks so much for this. I'll take a look through this and see if I can dig out what I need. I see how it relates to the slots etc. What I'm aiming for a simple automation like : On Thursday, charge the battery to 100% from 10h00 onwards. I can work around load shedding slots like I've done for the pool / geyser. Trying to keep it simple

Used to use magic mirror, the discoverd this. https://github.com/j-a-n/lovelace-wallpanel

Pleasure. There is a lot being shared here as well, https://mybroadband.co.za/forum/threads/home-assistant-q-a-tips-tricks-your-configs.1059800/ for more general HA stuff.

Shout if there is anything you would like to know about the code.
 
v1.6.6
Updates

  • solar_sell_247: accepts 0/1 or off/on
  • Battery SOC is displayed as an integer to fix potential layout issues
v1.6.7
Updates

  • New battery image and layout
  • New optional aux_type: attribute under the Load config that lets you change the default AUX image to display a generator image
Fixes
Undefined properties when using minimal configurations

1686870266152.png
v1.6.8
Updates

  • New non essential image
  • Additional inverter option for aux_type: to display a micro inverter

1686907963500.png

v1.6.9
Updates

Autarky and Ratio can now be displayed using real time power values or daily energy values. This can be set using the autarky attribute under the inverter card configuration. Valid values are energy (default), power or set to no to hide

Fixes
Better logic to hide sensors when set to none and not in use
 
Last edited:
v1.7.1
Updates

  • Display up to two additional essential loads. See the additional_loads: attribute in the Load card section. Set the sensor to display using the essential_load2: attribute under entities
  • Improvement to Autarky formula
1687101994650.png
 
Hey guys my Sunsynk journey will be starting soon but just wanted to check if somebody is running this with two 5kW inverters. I have to decided on one 8Kw or two 5Kw inverters, but don't want to have issues running the Multi Version if it does not work nicely to pull info thru to Home Assistant.
 
Hey guys my Sunsynk journey will be starting soon but just wanted to check if somebody is running this with two 5kW inverters. I have to decided on one 8Kw or two 5Kw inverters, but don't want to have issues running the Multi Version if it does not work nicely to pull info thru to Home Assistant.

Don’t have the answer for you exactly, but I know for sure even if HA didn’t work at all I would have had 2 x 5kW units over my single 8kW unit if I had to do it again.

Pretty sure the Master would report all data to HA and appear as one inverter though with the slave unit just feeding into it.
 
Hey guys my Sunsynk journey will be starting soon but just wanted to check if somebody is running this with two 5kW inverters. I have to decided on one 8Kw or two 5Kw inverters, but don't want to have issues running the Multi Version if it does not work nicely to pull info thru to Home Assistant.

I’m running it with 2x5kw inverters. If you set anything on the master it cascades to the slave inverter as well. If you also use Solar Assistant then it gives you access to both inverters data

Some screenshots

IMG_1229.jpg
IMG_1230.jpg
IMG_1231.jpg
 
Thanks for the info guys. I'm also leaning towards the 2 5kW units above the single 8kW but wanted to confirm before making final decision. Might bug you @Mzezman later when everything is installed and done if I hit any snags with the setup.
 
Thanks for the info guys. I'm also leaning towards the 2 5kW units above the single 8kW but wanted to confirm before making final decision. Might bug you @Mzezman later when everything is installed and done if I hit any snags with the setup.
always happy to help - something key to note is to ensure both inverters have the same (MCU and Comm) firmware otherwise you will get all sorts of gremlins
 
@Slip

Is there a possiblity to allow us to set an icon for the non-essential load , like you offer for the Aux load? In my specific use case, non-essential is now only the oven, and it would be cool 'for me' if that image showed the oven :P

Otherwise, still loving this card. Top top work!
 
@Slip

Is there a possiblity to allow us to set an icon for the non-essential load , like you offer for the Aux load? In my specific use case, non-essential is now only the oven, and it would be cool 'for me' if that image showed the oven :p

Otherwise, still loving this card. Top top work!
Yes its possible but I'd need to configure some presets as I have not figured out how to dynamically generate the icon. I'm assuming people usually have Oven, Geyser , or both connect to Non-Essential
 
Yes its possible but I'd need to configure some presets as I have not figured out how to dynamically generate the icon. I'm assuming people usually have Oven, Geyser , or both connect to Non-Essential
Unsure what your mean, but the thought to make it like all others cards you find in HA, where you just use
icon: mdi:xxx
Unsure if you can reference the same functionality. So then, the person choose from the list of builtin icons?

Disclosure: #NonDeveloper making a request
 
v1.7.6
Updates

  • Introduces a new optional nonessential_icon: attribute under the grid card configuration to change the non-essential image. Options are default, oven, boiler, charger, pump If you need other icons please open a request on GitHub
  • Code refactoring
icon.gif
 
v1.7.7
Updates

Add support for customising non-essential icons when there are two non-essential loads. See optional load1_icon: and load2_icon: attributes under the grid card configuration. Options are default, oven, boiler, charger, pump If you need other icons please open a request on GitHub.

noness_icons.gif
 
Good evening guys,

Thank you for the amazing work on this. Does anybody have the yaml code for the solarman entities (the equivalent code but for solarman) or point me to the right place to find it?

Thank you
 
Top
Sign up to the MyBroadband newsletter
X