# \[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:** 7

<div class="post-metadata">

**Author:** ![Cory](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cory/32/12997_2.png) [@Cory](https://community.homey.app/u/Cory)\
**Post date:** [January 5, 2020, 7:22pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/145 "2020-01-05T19:22:30Z")

</div>

I don’t think I can import devices from Broadlink into the Homey system, so if I want to use a device in a flow, it’s handy to use the VD option. I can also just send commands directly using the Broadlink app linked to Homey but honestly, I just like seeing all my devices together, ha.

---

<div class="post-metadata">

**Author:** ![MrTomTom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrtomtom/32/11858_2.png) [@MrTomTom](https://community.homey.app/u/MrTomTom)\
**Post date:** [January 6, 2020, 4:21pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/146 "2020-01-06T16:21:04Z")

</div>

@[**Arie\_Laxed**](https://community.homey.app/u/arie_laxed) : Thx for the detailed Information! I understand. Sad though.  
I started really liking the Multi modes. So no Chance to add another mode – at the moment?

Then I have to live with the modes I already have.

Still big thx for this great app!!!

---

<div class="post-metadata">

**Author:** ![Gust0](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gust0/32/12964_2.png) [@Gust0](https://community.homey.app/u/Gust0)\
**Post date:** [January 13, 2020, 8:53pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/147 "2020-01-13T20:53:07Z")

</div>

Hello everyone! Has anyone been able of changing a virtual motion sensor value with a Flow? (My idea is to show a virtual motion sensor in HomeKit and use IFTTT to change the state of the sensor each time I get into bed)

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [January 14, 2020, 10:12am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/148 "2020-01-14T10:12:57Z")

</div>

See this post: [Heimdall - Let Homey watch over your home](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/8)

It’s the old UI but it still works the same. You will have to set the alarm\_motion capability to either true or false

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [January 14, 2020, 12:10pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/149 "2020-01-14T12:10:05Z")

</div>

Instead of using the message, test by setting the string value of true to it and try again.  
If that works, send the ‘message received from topic’ to your phone/mail to see the exact massege.

You might need to ‘convert’ the text to true or false…

---

<div class="post-metadata">

**Author:** ![Gust0](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gust0/32/12964_2.png) [@Gust0](https://community.homey.app/u/Gust0)\
**Post date:** [January 14, 2020, 12:28pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/150 "2020-01-14T12:28:09Z")

</div>

Thank you, my error was to recall the sensor as tag instead of just writing “alarm\_motion”!

---

<div class="post-metadata">

**Author:** ![Danny\_Mertens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/danny_mertens/32/4247_2.png) [@Danny\_Mertens](https://community.homey.app/u/Danny_Mertens)\
**Post date:** [January 20, 2020, 3:35pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/151 "2020-01-20T15:35:39Z")

</div>

Hi,

I have created different virtual buttons to enable/disable flows, i’m using this now true HomeyDash and that works great, but is there a way that I can visually (in HomeyDash) see if a flow is enabled, disabled, for instance with a different icon or a value from a variable that I can write with Better logic or something.

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/69bd21cae773230e7df06b42b26a04a1ad244a0d.png)

---

<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:** [January 20, 2020, 5:31pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/152 "2020-01-20T17:31:51Z")

</div>

Hi Danny,  
same problem - other topic 😆

For some other solutions (showing a sensor state longer time with possibility to clear this state)I created a VD with 2 possible settings (sensor state and on/off like a switch):

- insert device
- choose name/icon
- I took “home alarm”
- I selected both “on/off” and “window opened”

This case you can set the sensor state in a flow and in addition you can set the of/of state like a switch.  
The sensor state should appear in Homeydash as orange background. The switch state should be visible as active/inactive button.  
This should be possible with other sensor types. But only alarm\_motion, alarm\_contact, alarm\_vibration and alarm\_generic are recognized in Homeydash I think). But beside these alarms you need to add the on/off property for the switch state.

I hope I could help  
Ronny

---

<div class="post-metadata">

**Author:** ![Tequila329](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tequila329/32/10729_2.png) [@Tequila329](https://community.homey.app/u/Tequila329)\
**Post date:** [January 22, 2020, 11:12am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/153 "2020-01-22T11:12:59Z")

</div>

Is it possible to get sensor parameters “moisture” and “nutrition” (like Mi flora sensors)?

I would like to set these parameters via MQTT, values from a ESP module for irrigation control.

---

<div class="post-metadata">

**Author:** ![AdrianLiteAuto](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrianliteauto/32/8740_2.png) [@AdrianLiteAuto](https://community.homey.app/u/AdrianLiteAuto)\
**Post date:** [January 29, 2020, 1:10am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/154 "2020-01-29T01:10:37Z")

</div>

@Arie_Laxed I see you cant support the multi mode device any more, as you say due to an Athom api issue. But will there or can there be any other multi state switch in the future?  
It would really be great to have a virtual device that we could custom select the number of toggle buttons within it and custom the names of these buttons. eg an alarm VD has a 3 selectable “modes” Can this be redesigned to be a virtual device that can have custom labels (instead of armed/disarmed/partial) or the receiver VD that has momentary touch buttons for volume control. Is this possible? Because I really miss the multi mode VD option.  
Thanks again for all your hard work on this app, its a great app.

---

<div class="post-metadata">

**Author:** ![Arie\_Laxed](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_laxed/32/913_2.png) [@Arie\_Laxed](https://community.homey.app/u/Arie_Laxed)\
**Post date:** [January 31, 2020, 2:32pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/155 "2020-01-31T14:32:51Z")

</div>

This is not possible in a generic way.  
But I believe you can make an app for specific cases, probably with a specific capability. I may make an example, but just haven’t got the time for it.

---

<div class="post-metadata">

**Author:** ![Peter\_Hendrix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_hendrix/32/8090_2.png) [@Peter\_Hendrix](https://community.homey.app/u/Peter_Hendrix)\
**Post date:** [February 6, 2020, 2:33pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/156 "2020-02-06T14:33:43Z")

</div>

New Case: Garagedoor open/close/opening/closing  
My garagedoor is equiped with two magnetic contact-sensors. One is ‘on’ when the door is closed and the other is ‘on’ when the door is open.  
I would like to have a button that indicated wether the door is still opening/closing (orange bulb) or the door is fully opened/closed (green bulb).  
My thoughts are that this should be possible by using a VD-device that acts as a ‘light’ that has the ability to change colors. However I am still unable to change the blub-color on a VD-device.  
Can someone help me in the right direction?

---

<div class="post-metadata">

**Author:** ![Arie\_Laxed](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_laxed/32/913_2.png) [@Arie\_Laxed](https://community.homey.app/u/Arie_Laxed)\
**Post date:** [February 8, 2020, 6:34pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/157 "2020-02-08T18:34:01Z")

</div>

Nice idea!  
You can have a ‘change to color’ card in the then column to set the color. At least it works with a simple push-button.

---

<div class="post-metadata">

**Author:** ![Peter\_Hendrix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_hendrix/32/8090_2.png) [@Peter\_Hendrix](https://community.homey.app/u/Peter_Hendrix)\
**Post date:** [February 9, 2020, 6:52am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/158 "2020-02-09T06:52:18Z")

</div>

Hmm, I think I found a small bug.  
If I select a light-virtual device with only the capability COLOR / TEMPERATURE, I cannot change its color via the settings of the device itself, let alone via a flow.  
Can you point me in the proper direction? What kind of device did you create that allows you to change the color via a flow?

---

<div class="post-metadata">

**Author:** ![Arie\_Laxed](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_laxed/32/913_2.png) [@Arie\_Laxed](https://community.homey.app/u/Arie_Laxed)\
**Post date:** [February 9, 2020, 7:34pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/159 "2020-02-09T19:34:44Z")

</div>

You need the ‘Hue light’ capability.  
BTW: the flow-cards are provided by Athom when selecting a capability. Please take it up with them if you need different or other cards.

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [March 6, 2020, 3:01pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/160 "2020-03-06T15:01:45Z")

</div>

I’m using the ”kettle” virtual device to have on/off, target temperature, measured temperature and power variables for use to represent our sauna.

- on/off to show the power state of the sauna stove
- measure\_power is set to 6800W if power state is on
- measure\_temperature is set by a http request get script to the current temperature in the sauna

So all that works, however I can not set the target temperature to 57 degrees. Is there a validity check on ”Set the temperature” card?

BR, Tapio

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 6, 2020, 3:12pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/161 "2020-03-06T15:12:34Z")

</div>

the build-in target temperature capability is capped:

> ```
> {
> "type": "number",
> "min": 4,
> "max": 35,
> "title": {
> "en": "Target temperature",
> "nl": "Ingestelde temperatuur",
> "de": "Ziel-Temperatur",
> "fr": "Température cible",
> "it": "Temperatura nominale"
> }
> 
> ```

[source can be found here](http://developer.athom.com/docs/apps-reference)

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [March 6, 2020, 3:14pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/162 "2020-03-06T15:14:42Z")

</div>

That would explain it. For a kettle one would expect 100C for boiling water 😉 . Now just using a logic variable for target temperature. It just can’t be shown on the device itself.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 6, 2020, 3:17pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/163 "2020-03-06T15:17:48Z")

</div>

yeah, the classes aren’t taken into account for range in capabilities, first time i see this issue for virtual devices, seen it before but those people were writing there own app so could change the range themselves.

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [March 6, 2020, 3:24pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/164 "2020-03-06T15:24:06Z")

</div>

The slider for setting the temperature manually ranges 0-50, so VD does set new min and max for the range. Maybe it should be configurable from device settings.

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

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