# \[APP\]\[Pro\] Virtual Devices - Virtual Devices to simulate 1 or more real devices

**URL:** <https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723>\
**Category:** Apps\
**Tags:** app, virtual-device, homey-pro\
**Created:** [September 15, 2018, 3:49pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723 "2018-09-15T15:49:09Z")\
**Posts on this page:** 20\
**Page:** 23

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [September 28, 2021, 10:30am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/480 "2021-09-28T10:30:02Z")

</div>

> [@Torch1969](#):
>
> Is it possible to add the capability `alarm_water` to the sensor device?  
> I want to make a virtual flood sensor, but this capability is missing.  
> thx in advance

Ping 😉

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [September 28, 2021, 7:13pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/481 "2021-09-28T19:13:10Z")

</div>

Hello @Arie_Laxed  
it is possible to add a Solar-VD which is shows on top of the energy screen.  
But I haven’t found a smart meter VD. Only default energy/power sensors, which are shows as devices.

Is it possible to add a new device type “smart meter” with option “cumulative”: true to add a virtual smart meter which is shows on top of the energy screen showing the overall usage of the house?

> **[Energy](https://apps.developer.homey.app/the-basics/devices/energy#measuring-devices)**
>
> By defining the energy usage (or generation) of the devices your app supports users can generate detailed reports of their energy consumption.

---

<div class="post-metadata">

**Author:** ![allesclip](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/allesclip/32/34205_2.png) [@allesclip](https://community.homey.app/u/allesclip)\
**Post date:** [September 29, 2021, 3:50am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/482 "2021-09-29T03:50:42Z")

</div>

Hello

it is possible also for the energy meter? I set up my smartmeter with mqtt as a VD energy meter.

---

<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:** [September 29, 2021, 10:28am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/483 "2021-09-29T10:28:19Z")

</div>

I’m not sure what you mean, but a measure\_power VD is available

 ![Screenshot_20210929-122129_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9c4a691bea42a951eeb6e5b29982a91b4b913edc.jpeg)  
In Dutch, “Vermogen” = Power (current power usage)  
(Don’t use “Energiemeter” = Power meter (total power) for this)

Virtual Device:

 ![Screenshot_20210929-123034_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/b/9b96cda539364ce1f774d8fd6c52355fabe34086.jpeg)

Flow:

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [September 29, 2021, 3:39pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/484 "2021-09-29T15:39:58Z")

</div>

Hi, sure, but it is only one consumer (like plugs) which are shown im the energy screen in their zone.  
A smartmeter would be shown on top.

 ![Screenshot_20210929-174523_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/b/bb57e21daf2dc7330a708db5d02cb348097337ce.jpeg)

---

<div class="post-metadata">

**Author:** ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)\
**Post date:** [October 3, 2021, 12:02pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/485 "2021-10-03T12:02:34Z")

</div>

Really like this app and use is allot. Now I’m running to an issue (I want something that isn’t possible).

Let’s say I making a virtual sensor. And use power (kWh) and I want to have more than one inside this. Is there a possibility to get more than 1 of the same inside a device?

It’s something like this (power by the hour)

 ![Schermafbeelding 2021-10-03 om 14.00.40](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/fe593a275c29465c5cb36c5ec3afd7b34c21f7ae.jpeg)

---

<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:** [October 3, 2021, 7:54pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/486 "2021-10-03T19:54:26Z")

</div>

[\< group \>](https://homey.app/nl-nl/app/com.swttt.devicegroups/%3C-group-%3E/) app

---

<div class="post-metadata">

**Author:** ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)\
**Post date:** [October 4, 2021, 5:53am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/487 "2021-10-04T05:53:59Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![nytro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nytro/32/46481_2.png) [@nytro](https://community.homey.app/u/nytro)\
**Post date:** [October 25, 2021, 6:34pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/488 "2021-10-25T18:34:14Z")

</div>

Hello everybody,

I would like to update the alarm\_contact capability of a virtual sensor using homeyScript (I basically call an API that returns if door is open or closed and I want to update the open/closed status) but as stated in a previous post it’s blocked somehow by the Virtual Device app (capabilities are not settable).

Did anyone manage to do such thing ? any advice .

thanks

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [October 25, 2021, 11:30pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/489 "2021-10-25T23:30:55Z")

</div>

Maybe if you describe in a broader way what you want to do, it’s easyer to help you?

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [November 16, 2021, 11:09am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/490 "2021-11-16T11:09:19Z")

</div>

Is it possible to add the option on/off to device class sensor?  
With that option I can combine virtual light switches with luminance. Now I have to create one virtual device for both.

Thanks.

---

<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:** [November 16, 2021, 12:49pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/491 "2021-11-16T12:49:14Z")

</div>

Not sure where you want to go, but this way I combine an OnOff switch and luminance in one device

 ![Screenshot_20211116-134645_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/1219ffd5fb7e0d21e20819b8f3c5dff090daf30c.jpeg)

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [November 16, 2021, 5:05pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/492 "2021-11-16T17:05:42Z")

</div>

I have seen this option but it does not work for what I want.

What I want is a virtual light switch that measures the luminance of a sensor that triggers that light switch when the luminance is blow a certain level.

I just added now a virtual device with device class light like you mentioned. When I create a flow like I have done multiple times for virtual sensors for setting a value for a virtual sensor It doesn’t work.

measure\_luminance  
luminance(helderheid) of my aqara sensor.

I also can’t choose a status indicator for this device. Not adjustable.

---

<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:** [November 16, 2021, 6:41pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/493 "2021-11-16T18:41:31Z")

</div>

Ah, now I see what you’d like.  
A sensor, in this case Luminance, and its device tile should be capable to switch on / off by pressing it.  
OR  
A virtual light device, with a pre-selectable sensor function in it, so you could feed a Luminance value to it.  
Only Arjan can say if this is even possible.

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [November 16, 2021, 7:12pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/494 "2021-11-16T19:12:17Z")

</div>

What I want is a virtual device that is visible on or off with a luminance value.  
I hope Arjan can make this happen.

Thanks for thinking with me.

---

<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:** [November 16, 2021, 7:21pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/495 "2021-11-16T19:21:46Z")

</div>

about your flow, this works:

I always make a temporary notification with the value which is feeded to the virtual sensor.

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [November 16, 2021, 7:43pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/496 "2021-11-16T19:43:57Z")

</div>

I have multiple flows for several virtual devices running without any problems.  
Only today I got the idea to combine them with light switches.  
Thanks.

---

<div class="post-metadata">

**Author:** ![JorisS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joriss/32/47769_2.png) [@JorisS](https://community.homey.app/u/JorisS)\
**Post date:** [November 25, 2021, 1:53pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/497 "2021-11-25T13:53:43Z")

</div>

I’m on Homey Bridge. Coming from the Zipato ecosystem. Right now I’m missing Virtual Devices, like switches etc in Homey. Are you planning to make an Bridge version available?

---

<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:** [November 25, 2021, 6:57pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/498 "2021-11-25T18:57:46Z")

</div>

Workaround for the cloud/bridge:

> [@\[Bridge\] Homey Virtual Devices experiment](https://community.homey.app/t/bridge-homey-virtual-devices-experiment/52317):
>
> Athom decided that Virtual Devices are not (yet) available in Homey (Cloud), but there are no flies on a Power User! innocent Only extra requirement for this “Power User” experiment is a Homey Bridge! Install the [KlikAan KlikUit (KAKU) App](https://homey.app/nl-nl/app/nl.klikaanklikuit/KlikAanKlikUit/) to your Homey or just try adding a KAKU Device. If you want a Button just add fe a “socket”, A Dimmer is also possible, or a Light ( E27 type device or Bulb ) I guess it could be any “Receiver” type of device. When pairing, just blink your eyes and S…

---

<div class="post-metadata">

**Author:** ![JorisS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joriss/32/47769_2.png) [@JorisS](https://community.homey.app/u/JorisS)\
**Post date:** [November 26, 2021, 2:09pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/499 "2021-11-26T14:09:29Z")

</div>

Great solution

[Previous page](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723.md?page=22)

[Next page](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723.md?page=24)
