Sunsynk + Home Assistant

Values here

View attachment 1558259
I only have 1 MPPT - so this is expected to be 0 for MPPT2
Edit: Noticed the last changed date is about 5 days ago when I last restarted HA.

View attachment 1558261

{{ (states('sensor.pv_power_1') | int(0) + states('sensor.pv_power_2') | int(0)) | round(0) }}

View attachment 1558257

I'll start again tonight with the latest version since there are breaking changes and see what it shows tomorrow.
Please try v1.8.9. I've made some updates to better handle PV sensors
 
Last edited:
V1.9.0
BREAKING CHANGE FROM v1.8.6. ENTITY NAMES HAVE CHANGED. SEE Release Notes

Updates
This update allows you to specify either one or two additional non-essential loads and brings consistency to the attribute used for this setting i.e. the same used for additional essential loads. If you have multiple non-essential loads (oven, pool, aircon) but only want to track energy monitoring on one device you can now display this by setting additional_loads: one. This new grid attribute replaces the previous nonessential_dual: attribute. Valid inputs are one,two or no. Please update your card configuration.

image
image
 
V1.9.0
BREAKING CHANGE FROM v1.8.6. ENTITY NAMES HAVE CHANGED. SEE Release Notes

Updates
This update allows you to specify either one or two additional non-essential loads and brings consistency to the attribute used for this setting i.e. the same used for additional essential loads. If you have multiple non-essential loads (oven, pool, aircon) but only want to track energy monitoring on one device you can now display this by setting additional_loads: one. This new grid attribute replaces the previous nonessential_dual: attribute. Valid inputs are one,two or no. Please update your card configuration.
Sorry, it may be an obvious thing, but how do I update a HACS card configuration? Is there a built-in update facility (I couldn't find one but I can easily miss things) or is it a case of downloading the updated .js file into config/www/community?
Thanks, Ken
 
Sorry, it may be an obvious thing, but how do I update a HACS card configuration? Is there a built-in update facility (I couldn't find one but I can easily miss things) or is it a case of downloading g the updated .js file into config/www/community?
Thanks, Ken
HACS should show you the update options
 
Sorry, it may be an obvious thing, but how do I update a HACS card configuration? Is there a built-in update facility (I couldn't find one but I can easily miss things) or is it a case of downloading the updated .js file into config/www/community?
Thanks, Ken
It should show an update available in HACS. You can force an update of the card information within HACS if the update is not showing

1689944029801.png
 
Please try v1.8.9. I've made some updates to better handle PV sensors
Thx Slip. Installed 1.9.0 - redid the whole thing and it looks ok.

Did I see a post of yours (unless someone else posted) where you could aggregate the values of some sensors

I have this for essential load (
essential_load1: >-
sensor.cbi_bathroom_geyser_power + sensor.cbi_kitchen_geyser_power +
sensor.heat_pump_energy_power

Unsure if that is what I was supposed to do, but it's not complainingbut not showing any data either :D
 
Thx Slip. Installed 1.9.0 - redid the whole thing and it looks ok.

Did I see a post of yours (unless someone else posted) where you could aggregate the values of some sensors

I have this for essential load (
essential_load1: >-
sensor.cbi_bathroom_geyser_power + sensor.cbi_kitchen_geyser_power +
sensor.heat_pump_energy_power

Unsure if that is what I was supposed to do, but it's not complainingbut not showing any data either :D

Hi. That won't work. You'll need to create a template sensor in HA that aggregates all that sensor data
 
Gents, strange thing I noticed today:

My SS Day Grid Import obviously is meant to reset at midnight, however I see 2 further resets:
  • 02:00
  • 02:50

1690441443634.png

When I look at xx all looks good there:
1690441592331.png

This in turn causes my SS Power Flow Card to be inaccurate when compared to the Energy Dashboard:
1690441653605.png1690441671801.png


Any ideas as to why this is happening? I've noticed it twice, last time was on Sunday - So not every day...
 
v1.9.3
Updates

Adds the optional aux_colour attribute to the load card configuration to change the colour of all the AUX objects. If omitted will use the colour set for the load or default load colour if this is not set.

image
 
I've added the energy_cost: but can't seem to find a way to also add the Currency?

R 2.454 would be ideal

1690798069005.png
 
v1.9.4

Updates

You can now provide a sensor for your total solar output. There is a new entities attribute called pv_total:
If a sensor is provided it becomes clickable to show historical data. If no sensor is provided the card will continue to use the internal logic to calculate the total pv based on pv1+pv2+pv3+pv4
 
Just curious why you would need the currency?
Other family members also have access to the Dashboard - With the currency there it should be more intuitive as to what the value means.

Not a big deal...
 
You can create a template sensor that adds the currency.
 
Hi all

Just curious. Can anyone elaborate ( in plain speak ) on Sunsynk sensor/register 167 - Grid LD Power ?

I'm using Slip's code on an ESP32

Grid Power - 0W
Grid Power 167 ~ 110W ( well..since I noticed it )

Came across this thread and it seems very similar. In my case it's a Sunsynk 5k, 14.3kWh battery ( nowhere close to set threshold ), grid trickle set to 10W
 
Last edited:
Hi all

Just curious. Can anyone elaborate ( in plain speak ) on Sunsynk sensor/register 167 - Grid LD Power ?

I'm using Slip's code on an ESP32

Grid Power - 0W
Grid Power 167 ~ 110W ( well..since I noticed it )

Came across this article and it seems very similar. In my case it's a Sunsynk 5k, 14.3kWh battery ( nowhere close to set threshold ), grid trickle set to 10W

Hi
172 is the sensor that shows grid power
grid_ct_power_172:Requiredsensor.sunsynk_grid_ct_powerGrid CT Power (W)
There is some confusion around 167/168/169 and the exact measurement points
 
v1.9.5
Updates

Adds a new entities attribute called aux_connected_status: This is similar to the grid_connected_status and accepts a binary sensor to indicate the connection status of the AUX input/output. Valid input is a 1/0 or on/off
Adds a new aux_off_colour attribute under the load card configuration to set the colour of the AUX icon and label when disconnected or off

image
 
v2.0.0

What's Changed​

Excited to release v2.0.0 of the card. There have been lots of under the hood improvements thanks to @marksie1988 contribution in #56.

Some highlights:

  • Migration to typescript which allows for better code management and efficiencies.
  • Documentation has been moved to Github Pages.
  • Added a translation module for multi language support
  • Added support for lux inverter status codes
  • Added unit of measurement to energy cost
  • Clicking additional loads shows more-info dialog for full and lite cards
  • Added daily aux load

Breaking Changes​

Some of the card configuration options have changed so please refer to the documentation and examples. Specifically the following has
changed:

  • change yes/no options to boolean true / false
  • change no / one / two / three to numbers 0 / 1 / 2 / 3
  • remove hidden option from battery.energy instead use 0 to disable
 
@Slip Thanks for all the great work on this card. Just a suggestion and feel free to disregard if it doesn't make sense to you. How about moving the battery power out of the block next to the battery and onto its own line block (like all the other power measurements). Mock-up below.

1692624340363.png
 
Top
Sign up to the MyBroadband newsletter
X