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

<div class="post-metadata">

**Author:** ![Viking42](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/viking42/32/12687_2.png) [@Viking42](https://community.homey.app/u/Viking42)\
**Post date:** [July 28, 2019, 7:22am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/99 "2019-07-28T07:22:03Z")

</div>

Hi,  
Overnight it seems this stabilized and this morning the test was positive, giving me a temperature  
i guess i am a bit deceived to see the VD showing temperature only when clicking on it, i guess i was hoping for more from the description, having the temp show directly on the tile

"

## Sensor

A Virtual Sensor is a bit contradictory, but nevertheless users wanted to **view a value in a device** , e.g. the actual room temperature in a Thermostat. "

---

<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:** [July 28, 2019, 12:53pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/101 "2019-07-28T12:53:07Z")

</div>

Perhaps you could use Homeydash, that can display these values directly, no VD nessesary:

> [@Homeydash.com, a Homey dashboard](https://community.homey.app/t/homeydash-com-a-homey-dashboard/13509):
>
> [Homeydash.com](http://Homeydash.com) A project started from a hacky friday with @weejewel did go viral and look where we are today! Athom created the original Homey.ink and made it open source so others could modify it to their needs, and that’s what “we” did. @DaneedeKruyff made a wicked version so far and i provided a domain name and hosting for the online version. This online version also contains multiple languages like Danish, Swedish and many more. Even Spanish is available online! Also more devices/capabiliti…

---- edit, removed wrong link-----  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/e86c88c5e46b78cfceac30a4169096681548b8e6.png)

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [July 28, 2019, 12:55pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/102 "2019-07-28T12:55:00Z")

</div>

Plz be aware that [Homeydash.com](http://Homeydash.com) is different from the homeydash app in the store!

---

<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:** [September 7, 2019, 5:45pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/103 "2019-09-07T17:45:34Z")

</div>

@Arie_Laxed published a new version (as beta) where the ‘alarm\_motion’ and ‘alarm\_contact’ capabilities can now be selected when the ‘sensor’ class is choosen. This means that a Virtual Device that has any of these capabilities will now show an indicator in the Homey app when the capability is activated.

And good news for the German Homey users, @PhilS translated the app to German.

---

<div class="post-metadata">

**Author:** ![Stefano\_Granata](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefano_granata/32/9920_2.png) [@Stefano\_Granata](https://community.homey.app/u/Stefano_Granata)\
**Post date:** [September 9, 2019, 8:48pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/104 "2019-09-09T20:48:08Z")

</div>

Hello… I’ve a Sonoff with DHT22 Sensor for measure temperature and umidity in the external home.  
It send the value in a raspberry broker mqtt and the value every 30 second and the value in the broker is the same:

21:34:43 MQT: tele/sonoff/SENSOR = {“Time”:“2019-09-09T21:34:43”,“SI7021”:{“Temperature”:25.5,“Humidity”:40.3},“TempUnit”:“C”}

I’ve create a virtual device for Temp and Humidity. I’ve install MQTT Client in Homey and i want to read the mqtt value of the sensor and set it in the VD.

I’ve crate a flow with WHEN “message received from topic tele/sonoff/SENSOR” THAN “set a virtual sensor value” Temperature Temperature.

But it doesn’t work for me…

Can you help me, please?

 ![IMG_1707](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/e3a6f01a7404529320d2a6863eff2da73bc6f62d.jpeg)  
 ![IMG_1708](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/92f29521ddba671c935a99397e4ba70f7fe5424b.jpeg)

Thanks

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [September 9, 2019, 10:20pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/105 "2019-09-09T22:20:25Z")

</div>

You must use:

set a virtual sensor value:  
measure\_temperature (temperatura) (tag)

> **[Virtual Devices](https://arjankranenburg.github.io/virtual-devices/sensor)**
>
> Homey-app to add Virtual Devices that can trigger your flows.

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [September 9, 2019, 10:36pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/106 "2019-09-09T22:36:18Z")

</div>

@ [Arie\_Laxed](https://community.homey.app/u/Arie_Laxed)

Hello!

I need some help, i create a VD to control 2 xiaomi aqara bulbs (dimmable and 2700-6500k). I created it with all light capabilities.

But when creating flows, the temperature action card does not appear, so I can only change the dim but not the temperature. (in when column)

How can i solve this? Any way to add this action card?

![Captura](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/9ff450b283ab35f7e2a01fedf23ebf0e7866bce7.jpeg)

thanks!

---

<div class="post-metadata">

**Author:** ![Stefano\_Granata](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefano_granata/32/9920_2.png) [@Stefano\_Granata](https://community.homey.app/u/Stefano_Granata)\
**Post date:** [September 10, 2019, 5:54am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/107 "2019-09-10T05:54:19Z")

</div>

Sorry, I think I don’t understand. Don’t work.

I’ve set this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/b5877ff6c19c4a8436a2ff3771207b6e0596c081.png)

And this is the log of mqtt client:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2e2386d20538a08134404ca521b1e94883092dd4.png)

Thank you so mutch

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [September 10, 2019, 11:44am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/108 "2019-09-10T11:44:26Z")

</div>

![IMG_20190910_134021](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2479b7765a331c527b4bc9f165bddbf806e710d8.jpeg)

---

<div class="post-metadata">

**Author:** ![Stefano\_Granata](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefano_granata/32/9920_2.png) [@Stefano\_Granata](https://community.homey.app/u/Stefano_Granata)\
**Post date:** [September 10, 2019, 5:47pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/109 "2019-09-10T17:47:11Z")

</div>

Thank you Edoardo, before the previously topic i’ve Test this configuration, but don’t work for me.

This is my setting, identically your.  
In the second setting, i’ve use The tag “temperatura” in the DHT22 line.

I don’t understand why don’t work for me.

Thanks for your help.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/88c424800ce31a25b7f40054c3ee9d32e83c988e.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/e8d5cd94aa66cbbfc1917ab97470e068d92f92d7.jpeg)

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [September 10, 2019, 8:39pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/110 "2019-09-10T20:39:47Z")

</div>

What happens if you test the flow?

Edit: You must enter in the virtual thermostat to see the value.

Edit 2: your device DHT22 is not reporting temperature values, is your virtual device. You must select a real device reporting temperature (your sonoff device tag).

Edit 3: I read you use a mqqt topic. Try using better logic:

Flow 1

when: receive topic triggers \>\>Then: set number variable (create a variable for this value)

Flow 2

When: a variable changed \>\> Then: set a virtual sensor value, measure\_temperature and the tag of better logic you set before.

---

<div class="post-metadata">

**Author:** ![Patrick1610](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick1610/32/6843_2.png) [@Patrick1610](https://community.homey.app/u/Patrick1610)\
**Post date:** [September 18, 2019, 9:30pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/111 "2019-09-18T21:30:31Z")

</div>

Maybe a stupid question, but what is the difference between the normal cards and the ‘modus’ cards? This is not a multi-modus device.

![50](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/ac2ee8b0d45f427b94ffb3f852d2a54481e1f867.png)

---

<div class="post-metadata">

**Author:** ![PascalB](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@PascalB](https://community.homey.app/u/PascalB)\
**Post date:** [October 8, 2019, 3:51pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/112 "2019-10-08T15:51:21Z")

</div>

Using this app, I’ve succesfully made virtual sensors displaying (daily) electricity consumption on HomeyDash, by extracting values from my DSMR-reader (Pi connected to smart meter) using http GET requests.

However, I’m stuck trying to display gas usage and/or daily costs as there seem to be no virtual sensor capabilities for this? There is a Homey capability “meter\_gas”, could this be added to virtual sensors? I don’t see a capability for displaying costs, but maybe there is some work around possible?

---

<div class="post-metadata">

**Author:** ![johan\_bendz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_bendz/32/10344_2.png) [@johan\_bendz](https://community.homey.app/u/johan_bendz)\
**Post date:** [October 11, 2019, 10:21am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/113 "2019-10-11T10:21:42Z")

</div>

Hi Arjan.  
Like the app but find setting values for virtual sensors in the flows quite illogical.

While setting the value for a virtual sensor I am asked for the name of the “Sensor”. There is no guide in the app informing me that this field is to be in text and it should correspond to the capability choosen when creating the virtual sensor. There is also a tag icon to the right making this even more confusing.

Would be great if you could add info below the field explaining what to enter.

// Johan

---

<div class="post-metadata">

**Author:** ![Kalle\_Kronbeck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kalle_kronbeck/32/13158_2.png) [@Kalle\_Kronbeck](https://community.homey.app/u/Kalle_Kronbeck)\
**Post date:** [October 11, 2019, 4:26pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/114 "2019-10-11T16:26:45Z")

</div>

Is there anyway to change wind unit to m/s instead of km/h ?

---

<div class="post-metadata">

**Author:** ![Osorkon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osorkon/32/43026_2.png) [@Osorkon](https://community.homey.app/u/Osorkon)\
**Post date:** [October 12, 2019, 9:07am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/115 "2019-10-12T09:07:34Z")

</div>

I don’t know if it’s possible, but I guess it’s not possible.  
But, why you want use m/s instead of km/h?  
km/h is more accurate (Factor 3,6)

---

<div class="post-metadata">

**Author:** ![Kalle\_Kronbeck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kalle_kronbeck/32/13158_2.png) [@Kalle\_Kronbeck](https://community.homey.app/u/Kalle_Kronbeck)\
**Post date:** [October 12, 2019, 11:01am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/116 "2019-10-12T11:01:26Z")

</div>

I got value i m/s It’s just the Text km/h i want to change to m/s  
Not so often anyone talks about wind in km/h…

---

<div class="post-metadata">

**Author:** ![jeroenz](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jeroenz](https://community.homey.app/u/jeroenz)\
**Post date:** [October 25, 2019, 8:04am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/117 "2019-10-25T08:04:40Z")

</div>

Hi all! New to the forum and just starting with Homey.

Can some-one explain how to trigger a flow when pressing a virtual button? I have searched the forum and the documentation, however cannot find a solution for that?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 25, 2019, 8:11am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/118 "2019-10-25T08:11:16Z")

</div>

Using the “Virtuele Apparaten” experiment;  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/b/2bcbf3a67f55966811e0a88925cc4dcdb0c590cf.jpeg)

Using the “Virtual Devices” app:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6c6f185b226c39a6ff6f3af3cad662c435e6f3c7.png)

---

<div class="post-metadata">

**Author:** ![jeroenz](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jeroenz](https://community.homey.app/u/jeroenz)\
**Post date:** [October 25, 2019, 5:42pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/119 "2019-10-25T17:42:42Z")

</div>

Thanks! That works 🙂

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

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