# 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:** 1\
**Showing post:** 2

<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)

---

_[View the full topic](https://community.homey.app/t/virtual-power-meter-and-other-devices-for-flow-testing/128839)._
