# Virtual POWER meter and other devices for flow testing

**URL:** <https://community.homey.app/t/virtual-power-meter-and-other-devices-for-flow-testing/128839>\
**Category:** Questions & Help\
**Created:** [January 25, 2025, 5:13pm UTC](https://community.homey.app/t/virtual-power-meter-and-other-devices-for-flow-testing/128839 "2025-01-25T17:13:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TorT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tort/32/79845_2.png) [@TorT](https://community.homey.app/u/TorT)\
**Post date:** [January 25, 2025, 5:13pm UTC](https://community.homey.app/t/virtual-power-meter-and-other-devices-for-flow-testing/128839/1 "2025-01-25T17:13:22Z")

</div>

Hi,  
In order to efficiently test my (advanced) flows I wish there was some virtual ‘power meter’ device with a sliding bar where I easily could adjust its (fake) power reading to see what happens in my flows when the power consumption of the house changes throughout the day.

Likewise it would be nice with some virtual ‘power consumer’ and ‘temperature sensor’ too, which could be set to any wattage / temperature to make flow testing even easier before replacing them with their ‘real’ counterparts in my house.

Does something like this exist already or do you have some bright ideas how to efficiently do flow testing in different scenarios?

Thanks for comments

regards Tor

---

<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:** [January 26, 2025, 12:25am UTC](https://community.homey.app/t/virtual-power-meter-and-other-devices-for-flow-testing/128839/2 "2025-01-26T00:25:12Z")

</div>

This is a way to control a Better Logic variable by using a slider, which you can use as “fake” value in flows.  
Required apps:

- [Better Logic Library](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568)
- [Device Capabilities](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198)

1. Create a numeric BLL variable, I called it `test_power_value`
2. Add a new device, select DC, and tap ‘Advanced Virtual Device’,
3. To configure the AVD, long press the device tile, tap ‘Advanced Settings’ and tap ‘Try to repair’
4. Add a slider, by configuring a _number field_ value like this:  
 ![1000042274](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/1/8167725da1961f362d8019a3bd5b08ed93b6eb01.jpeg)

(Min / Max can be any value)

Flow:

 ![1000042278](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/0/10db0047c664f128897679c3e4984053d482c3cb.jpeg)

Slide the slider:

 ![1000042270](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/aceaf5026ad2e2bd8bb8eb43f28185bbaf29c094.jpeg)

 ![1000042272](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/7/3746a0321e69301b6d45cc8c04d3eb2feab1da12.jpeg)

Output:

 ![1000042276](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/d/9d45129c09ac2b1977752654660e649595127760.jpeg)

---

<div class="post-metadata">

**Author:** ![TorT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tort/32/79845_2.png) [@TorT](https://community.homey.app/u/TorT)\
**Post date:** [January 26, 2025, 7:37am UTC](https://community.homey.app/t/virtual-power-meter-and-other-devices-for-flow-testing/128839/3 "2025-01-26T07:37:50Z")

</div>

Thanks a LOT. Will try this!
