# Change "Power usage when on" with flow

**URL:** <https://community.homey.app/t/change-power-usage-when-on-with-flow/82514>\
**Category:** Questions & Help\
**Tags:** energy, flow, virtual-device\
**Created:** [June 17, 2023, 6:29pm UTC](https://community.homey.app/t/change-power-usage-when-on-with-flow/82514 "2023-06-17T18:29:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HugoLXO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hugolxo/32/72253_2.png) [@HugoLXO](https://community.homey.app/u/HugoLXO)\
**Post date:** [June 17, 2023, 6:29pm UTC](https://community.homey.app/t/change-power-usage-when-on-with-flow/82514/1 "2023-06-17T18:29:25Z")

</div>

I have been using Virtual Devices (app) to create virtual power meters for real devices.

For example, I have a fan with 3 settings, off, low and high, and I know the power consumption of each mode. With Virtual Devices I can create a power meter and change the value with a flow. So if I set the fan to high, the flow will update the power meter to the corresponding power consumption.

This allows me to see what’s more accurately what is happening around the house in the energy tab. But it does create a lot of virtual devices.

My question is, is there a way to change the actual device’s value of “Power usage when on” with a flow like we can with the Virtual Devices app?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 17, 2023, 8:01pm UTC](https://community.homey.app/t/change-power-usage-when-on-with-flow/82514/2 "2023-06-17T20:01:49Z")

</div>

> [@HugoLXO](#):
>
> is there a way to change the actual device’s value of “Power usage when on” with a flow like we can with the Virtual Devices app?

From what I know, no.  
Maybe it can be done with Homeyscript

---

<div class="post-metadata">

**Author:** ![HugoLXO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hugolxo/32/72253_2.png) [@HugoLXO](https://community.homey.app/u/HugoLXO)\
**Post date:** [June 17, 2023, 8:29pm UTC](https://community.homey.app/t/change-power-usage-when-on-with-flow/82514/3 "2023-06-17T20:29:44Z")

</div>

Thank you so much for your answer. I am new to homey and trying out the basic things first, but I will certainly look into Homeyscript soon. Hopefully I can learn how to use it well enough and maybe find a solution there 🙂

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 17, 2023, 11:32pm UTC](https://community.homey.app/t/change-power-usage-when-on-with-flow/82514/4 "2023-06-17T23:32:24Z")

</div>

YW!

You may ask it in the HomeyScript category

Maybe you’re interested in virtual devices “10.0”:  
With the advanced virtual devices (from [Device Capabilities app](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198) (same dev) you can display the values / states of devices, Chronograph timers/stopwatches/transitions, Better logic variables, _without using any flows_

> [@\[APP\]\[Pro\] Device Capabilities - Enhance the capabilities of devices](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1425):
>
> > ![Screenshot from 2023-06-16 18-37-40](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/062ed7c1a1d7964475c60f0009faae54be1e4f40.png)
> 
> Result @ mobile tile:
> 
> > ![signal-2023-06-16-174439_002](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/c/cc11e9b62b55231d3884f5574a1d23993b91b169.jpeg)

---

<div class="post-metadata">

**Author:** ![HugoLXO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hugolxo/32/72253_2.png) [@HugoLXO](https://community.homey.app/u/HugoLXO)\
**Post date:** [June 18, 2023, 8:45am UTC](https://community.homey.app/t/change-power-usage-when-on-with-flow/82514/5 "2023-06-18T08:45:19Z")

</div>

Oh that sounds great! I will go and try the Device Capabilities app today, that seems like fun to mess around with before jumping onto homey script. And that way I can at least get rid of some flows.

Thanks again for your guidance, it is much appreciated 😄
