Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power consumption calculation #125

Open
drupry opened this issue Aug 14, 2024 · 2 comments
Open

Power consumption calculation #125

drupry opened this issue Aug 14, 2024 · 2 comments
Labels
not_a_bug Not a bug but the feature (unplanned also)

Comments

@drupry
Copy link

drupry commented Aug 14, 2024

Hi, this is not an issue but i don't know how to do it. I want to measure at least approximate power consumption but I don't have extra space in my circuit breaker box for some Shelly relay or something so I decided to calculate power consumption from Inverter power entity.
My cooling power input is 1340W and heating power input is 950W. I have crated a sensor template which is calculating inverter power * 1340W but obviously it will work only in summer when the cooling is on. Is there any way how to automate this ? how the sensor template know when the AC is set for cooling and when for heating ? Because i want to include HEAT_COOL mode also. Or is this sooo much inaccurate that I should get out of it ?

This is how my sensor template looks like now

     sensors:
     power_ac_bedroom:
     friendly_name: "Electric power ac bedroom"
     unit_of_measurement: 'W'
     value_template: "{{ states('sensor.ac_bedroom_ac_inverter_power') | float / 100 * 1340 }}"   

@GrKoR
Copy link
Owner

GrKoR commented Aug 14, 2024

Hi!

This kind of calculation is dramatically inaccurate. It depends on Mars weather and Moon phase 😀

You can try to place your shelly or another measuring device here:
image

@GrKoR GrKoR added the not_a_bug Not a bug but the feature (unplanned also) label Aug 14, 2024
@GrKoR
Copy link
Owner

GrKoR commented Aug 14, 2024

BTW, if you want to experiment with it anyway, then use 'action':

// Current action (idle, cooling, heating, fan, etc.), ClimateAction (enum)
id(my_climate).action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not_a_bug Not a bug but the feature (unplanned also)
Projects
None yet
Development

No branches or pull requests

2 participants