Closed Asinke closed 2 years ago
Event better would be to scale up and down as required. Maybe W below a threshold (< 5000 W) and kW above (6.7 kW)
Just curious. Do your entities report watts or kilowatts?
Different for different systems. SolarEdge reports in W, powerwall reports in kW.
Energy Dashboard and tesla-style-power-card can take either input and convert.
Just curious. Do your entities report watts or kilowatts?
My entities report in W. From SolaX integration. Lots of systems report in W and lots of other in kW. It would be nice if there was an option that simply adjusts the labels in your card to W.
Using templates I can have entities report whatever metric as is needed. The gui in the current version however is stuck to kW
Sent from my iPhone
On 9 May 2022, at 02:54, AviadorLP @.***> wrote:
Just curious. Do your entities report watts or kilowatts?
My entities report in W. From SolaX integration. Lots of systems report in W and lots of other in kW. It would be nice if there was an option that simply adjusts the labels in your card to W.
— Reply to this email directly, view it on GitHubhttps://github.com/ulic75/power-distribution-card/issues/14#issuecomment-1120526076, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHUJYVGSTZLWXGTX6PGKEILVJBO25ANCNFSM5VLM46UA. You are receiving this because you authored the thread.Message ID: @.***>
My entities report in W. Using templates I could change them to kW, so I can use them with this card. However prefer them to use with W, because it's more accurate when showing realtime production and consumption. The card I'm using now (https://github.com/gurbyz/power-wheel-card) supports both, with the constraint that all entities used should have the same unit of measurement. I like this card better, as it fits my layout better ;-)
Yes please add W, all of my sensors shows values in Watts, I know it's doable via template but would be lovely to be able to easily switch from kW to W and vice versa
This is on the top of my todo list. This is a hobby for me though, so not sure how fast I'll get around to it.
My entities also report in W by default... This would be highly appreciated. Very nice card!
The original card, https://github.com/reptilex/tesla-style-solar-power-card/ (where Home Assistant "copied" from) has W / kW auto detection and configuration. Maybe look at that card source on how to implement it.
:tada: This issue has been resolved in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Downloaded v.2.1.0 from hacs restarted HA inserted watt_threshold: 5000 But still same thing shows watts but with KW label as before. cannot see anything different.
Here is an example of one of my sensors (that is the grid sensor)
template:
- sensor:
- name: SolaX Electric Meter
device_class: power
state_class: measurement
unit_of_measurement: W
icon: mdi:transmission-tower
state: "{{ 0 - states('sensor.solax_measured_power')|int(default=0) }}"
What am i doing wrong ? I get the same thing even with watt_threshold: 0 should it not be converting to KW ???
The display of watts or kilowatts is a configuration option. That way people can use which ever they want regardless of their sensors. You can find it in the readme.
The display of watts or kilowatts is a configuration option. That way people can use which ever they want regardless of their sensors. You can find it in the readme.
That's what i did, that is why i inserted watt_threshold: 5000 nothing happened.... Here is my card:
type: custom:power-distribution-card
title: Realtime Distribution
entities:
battery: sensor.solax_battery_meter
battery_charge: sensor.solax_battery_capacity
grid: sensor.solax_electric_meter
solar: sensor.solax_pv_total_power
watt_threshold: 5000
max_flow_rate: 10
Found the bug. When i updated from hacs it kept the old and new card. since you changed the card name to power-flow-card and i kept using the power-distribution-card it kept using the old card without that option. Its fine now. But people should not update from hacs due to your change. they should delete first and install again. and even without the old power-distribution-card files and even after a HASS restart it kept showing the old card. it was very strange.... Like it kept it in memory. But after changing the type to power-flow-card it updated. So its solved now.... if anyone asks this again its a wrong card name in the type....
Glad you got it. I was going to suggest looking at that. HACS is a bit of a pain, but hopefully we'll be done with that headache soon.
Great work, thanks!
Linking your power distribution card, goes nicely next to the default Energy card. However, I would like to see the power consumption expressed in Watts.
Can you add this?