slipx06 / sunsynk-power-flow-card

⚡A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.
MIT License
161 stars 48 forks source link

Allow specifying thresholds for dynamic colour #462

Closed chickenbeef closed 1 month ago

chickenbeef commented 1 month ago

Is there an existing issue for this?

Current Behavior

With dynamic colour, the off value is hardcoded to 0 to indicate an off state.

Expected behaviour

I'd like to be able to configure the colour based on the load. I checked the docs but couldn't see anything for this currently being supported hence the feature request.

Example:

image

In this image my Oven is always coloured as being On because it has a clock (and a gas igniter for the stove) that draws 1-8W when the oven is off. Same for the D/Wash that has a parasitic draw of 2W when it's off.

It would be nice to be able to configure thresholds so that when the draw for these devices are < configured threshold it gets coloured as being off. That way I can see if items are on from a quick glance.

Possible Solutions

No response

Mode

full

Context / Reason

This feature could later evolve to colouring the states based on the level of load.

jolly12f commented 1 month ago

I find this very correct. I have this problem of micro withdrawals from the grid which are very annoying

Roving-Ronin commented 1 month ago

@chickenbeef Out of interest what are you using to get these active power readings for the oven / gas etc?

jolly12f commented 1 month ago

Shelly

chickenbeef commented 1 month ago

@chickenbeef Out of interest what are you using to get these active power readings for the oven / gas etc?

The oven is on the Aux output of the inverter. Other devices are on multiple different plugs (Sonoff, Shelly, Tuya)

jolly12f commented 1 month ago

I can't find where to change this parameter