Monitor Power usage when a device is in specific state

Hello all,

I was wondering if this is possible and not that hard to do :stuck_out_tongue:

I have a Bambu lab 3d printer on a smart socket.
I created a power monitor with powercalc for this plug so i can monitor the power usage in the energy tab daily.

I would like to monitor the power usage of this printer for each print i start.
so i can see how much power i used for that specific print.

I have my bambu lab printer added to Home assistant so i can use the printer sensors and state.

anyone can point me to a guide or explain me how to do this?

Thanks.

Here’s a very general flow that would work. Since I know nothing about the Bambu integration, I’ll assume it has a sensor to tell you whether the printer is printing or not. I’ll also have to guess about your power monitoring. I’m hoping it has a total power used sensor.

  1. automation triggers when print starts.
  2. set a variable to the current total power used.
  3. set a wait item that will wait until the print is done.
  4. set a numeric input to a calculation that is the total power used when the print is done minus the variable you set at the beginning.
1 Like

The Powercalc integration may help.

1 Like

The bambu intergration has indeed a sensor that i can use as a trigger.
My power sensor measures the currently used power in watt.
i already add this power sensor to powercalc and this shows me only the Kwh of the day.

I hope anyone can guide me trough this?
I know a little Home assistant and learning everyday new things.
So i am not an expert :stuck_out_tongue: