Skip to content

Have a dumb bloutooth light, on for 12 hours a day - want to add power / energy - only energy sensor created ? #2945

Answered by bramstroker
vw-kombi asked this question in Questions
Discussion options

You must be logged in to vote

That's correct, when you only supply on_time no power sensor is created because it's not schedule based.
i.e. powercalc just adds correct amount for 12 hour on during the day to the energy sensor.
But it does not know "when" the energy is consumed, so it won't create a power meter.

For your use case I would suggest to create an input boolean helper (Using Toggle helper in HA helpers section). For example input_boolean.staircase_light_on.
Create an automation which toggles this input boolean on 6PM and 6AM respectivily on and off.

Now create a virtual power sensor (https://docs.powercalc.nl/sensor-types/virtual-power-manual/), select the input boolean as source entity, select fixed strateg…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@vw-kombi
Comment options

@bramstroker
Comment options

Answer selected by vw-kombi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants