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.

Home Assistant Sunsynk Power Flow Card and Dashboard

Featured Replies

thank you @slipx, I've been using the power flow card for a while now but didn't know about the animations.
now thanks your examples I've implemented the animations. I use a generator on my AUX port so I've got a generator image for the aux and moved it's path a little, also added a few more animations. There is also a dot for Priority Load as I change it via HA based on conditions and I also have overrides to be able to supply inverter power to the fridge and pond during load shedding so added dots for them on the display...
Here's a pic for those that want to see some minor variations...

sunsynk-flow-card.png.18a582394c868ed92f1798af8f4dd347.png

  • Replies 591
  • Views 127.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • thank you @slipx, I've been using the power flow card for a while now but didn't know about the animations. now thanks your examples I've implemented the animations. I use a generator on my AUX port

  • I've made  a small update to the Dashboard. The load shedding card shows remaining time based on battery SOC and battery power. You will need to create some template sensors as discussed here and prov

  • Here's a slight contribution to the goodness on this thread which lives on my main HA screen: type: custom:bar-card entities: - entity: sensor.load_shedding_area_eskde_4_sandownext10cityofj

Posted Images

On 2023/04/06 at 1:58 PM, iiznh said:

Is there any way to allow input from such a svg card? Eg have a screen that allows the inverter settings to be changed

I have built the screen below, it works... but looks horrible on a phone.. Just wondering if there are better ways to make this look familiar

image.thumb.png.a7d0e32cc4745e01c225e983bca5fdf1.png

  • Author
On 2023/04/06 at 1:58 PM, iiznh said:

@slipx

 Yes I agree, very much enjoy this dashboard.

 

Is there any way to allow input from such a svg card? Eg have a screen that allows the inverter settings to be changed

 

No you are better off using one of the other cards. Here is an example of the card I use to set inverter values.

image.png.a1b8adb959bd3eeb5d2eb57c7163104e.png

1 hour ago, slipx said:

I've made  a small update to the Dashboard. The load shedding card shows remaining time based on battery SOC and battery power. You will need to create some template sensors as discussed here and provided in the github repo

 

image.thumb.png.d047de71eabc25ed29d951bbfbcf4a88.png

 

I don't have the best eye for modern dashboards , but this one made me stop to focus , it attracted me with its  ergonomic presentation. Beautifully rendered.

1 hour ago, slipx said:

I've made  a small update to the Dashboard. The load shedding card shows remaining time based on battery SOC and battery power. You will need to create some template sensors as discussed here and provided in the github repo

 

image.thumb.png.d047de71eabc25ed29d951bbfbcf4a88.png

 

I am in unkwown waters here , so forgive a simple question , that system mode timer table  , is that just a view , or do you have functionality to perform changes as well.

  • Author
46 minutes ago, BritishRacingGreen said:

I don't have the best eye for modern dashboards , but this one made me stop to focus , it attracted me with its  ergonomic presentation. Beautifully rendered.

Thank you. Its evolved over time.

43 minutes ago, BritishRacingGreen said:

I am in unkwown waters here , so forgive a simple question , that system mode timer table  , is that just a view , or do you have functionality to perform changes as well.

I like to keep the two functions separate. This dashboard only displays inverter values. There is another dashboard where i can write/set values, specifically the system timer settings.

15 hours ago, slipx said:

Added daily totals 

You could add utility meters for the PV and have running totals for each PV string too.

With the season changing and the angles getting worse I am now getting more power from 5 panels flat on the roof, than the string of 8 that is now getting plenty shade from the trees

  • Author

Started building a better custom card for the lite version. Should be much easier to setup when done. You only need to configure the sensors, no more copying and pasting etc

image.thumb.png.5d49ed7800975df0897d8869db699ead.png

Hello, I have the old and the new version installed and with the new one when I want to add the card it offers me the list of sensors but it doesn't show any graph, changing cardstyle either, any ideas?  thank you

  • Author

Make sure all the required sensors are defined. There is very little error handling built into it at this stage so if you are missing some of the sensor data it may not render. It will only generate the preview once all the sensors are setup

You can also try clear your browser cache and bring up the developer console in chrome "ctrl-Shift-i" and see if there are any errors?

 

Edited by slipx

8 minutes ago, slipx said:

Make sure all the required sensors are defined. There is very little error handling built into it at this stage so if you are missing some of the sensor data it may not render. It will only generate the preview once all the sensors are setup

You can also try clear your browser cache and bring up the developer console in chrome "ctrl-Shift-i" and see if there are any errors?

 

Thanks!! I had not yet defined all the sensors!

  • Author

Great. I've updated the code to catch any undefined state as a result of a non existing or undefined sensor and set them to 0. It also means that if you have missing sensors for any attribute you can set it to null i.e. "solarday: null" and it will use a default value of 0

The card requires all of the attributes so don't delete any

Edited by slipx

  • Author

Updates: All three cards now display battery runtime based on current batter discharge. You can set this attribute to "hidden" to hide from the card. Next is to create template sensors in the card i.e. non-essential, totalpv etc to reduce the number of required attributes. Latest card is in the new branch here. There is still the old branch for those of you that want to create your own look and feel with different svg elements.

image.png.b368c2c590adde3231d2071ce119e654.png    image.png.4aa0735a404bfd86222037c15b5422de.png 

image.png.816d8f81c66d8767a9c31369ad314b0d.png

  • Author

Add option to specify battery shutdown percentage i..e minimum soc as well as an option to hide solar information if solar is not installed.

Added missing register numbers to sensors

image.thumb.png.6a9d4f2b8dda015e4fb4c3bbb8739f48.png image.thumb.png.74be9cb4126653c530d6eda8532f8097.png

Huge thanks SlipX for the flow card which I am using with ESPHome/RS485 as the datafeed.

I am struggling to understand something in my setup which I have not seen replicated on any of the other examples shared, with respect to the non-essential power.   When there is no load from the non-essentials (stove and geyser), the inverter shows a positive grid inverter load which is greater than the grid external power.  It makes it appear as if the external load is supplementing the grid by a small amount (represented by a negative number), as below (-20W).  The inverter is set to draw 20W from the grid even when not needed.  Where is the extra 20W (the amount varies but consistently < 50w) coming from, or what could be wrong with either my setup, implementation of the card, or understanding?  For interest the sunsynk flow on the inverter shows the same value for the inverter load (LD in the grid menu) but shows zero for the non-essentials - so still has the larger inverter load than external power, but does not show the reverse flow from non-essentials which this card does by virtue of the calculation.

 

image.png.dc7cf45a47472d38aaafb00c870e9693.png

 

  • Author

Looks like you are using an old version of the card. You might want to try the new version. There were some updates to the non-essential formula but I'm not sure if it addresses your problem.

The old formula was non_essential = grid_external_power_172 - inverter_load_grid_167

The new formula is non_essential = grid_external_power_172 - inverter_load_grid_169

The sensor names are not important the register numbers are. Register 169 is the total power of grid side (167+168). So make sure you are reading from register 169 and not 167.

I have everything connected to essential so cant really troubleshoot these formula. They are based on information others have posted so if you pick up any errors please let me know.

Thanks!  The new formula fixed it. I'll update the whole card with the latest version.

But I am still confused as to what that value represents (LD on the Sunsynk grid screen, and the 40W in my screenshot above) when there is no load on the non-essentials, if different from and larger than the grid external power.  

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.