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

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [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/1 "2018-09-15T15:49:09Z")

</div>

![large](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/8/480dff58aaad4f18a3bec08fc3c04d7600be715e.png)

This app gives you the opportunity to add Virtual Devices to Homey. You can operate the Virtual Devices from the UI and/or use them in flows.

Or you can add a mode and add it as a condition, e.g. to disable multiple flows when going on Holiday.

Virtual Devices can simulate anything without using an actual interface. Well… of course within the limits that Homey provides.

There is more information, including How-to’s on GitHub Pages: [Virtual Devices | virtual-devices](https://arjankranenburg.github.io/virtual-devices/)

And a [[Howto] set a value to a virtual device - Tutorials - Homey Community Forum](https://community.homey.app/t/howto-set-a-value-to-a-virtual-device/45883)

### Please report **issues** or **feature** requests at [Issues · Qluster-IT/nl.qluster-it.VirtualDevices · GitHub](https://github.com/Qluster-IT/nl.qluster-it.VirtualDevices/issues).

### Apps:

> [@\[Profile\] Arie J. Godschalk](https://community.homey.app/t/profile-arie-j-godschalk/70663/2):
>
> Apps developed or maintained by me: [Advanced Triggers](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651) , [BeNext](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104) , [Better Logic](https://community.homey.app/t/app-pro-better-logic-just-some-better-logic-and-variable-management/5568) , [Chronograph](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214) , [Device Capabilities](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287) , [Advanced Virtual Device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198) , [FTP Client](https://community.homey.app/t/app-pro-ftp-client/70876) , [Google Services](https://community.homey.app/t/google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257) , [Homesh Controller](https://community.homey.app/t/app-pro-homesh-controller-homesh-satellite-connect-homey-pro-2023-to-homey-pro-for-led-speaker-zwave-satellite-and-network-resource/70369) , [Homesh Satellite](https://community.homey.app/t/app-pro-homesh-controller-homesh-satellite-connect-homey-pro-2023-to-homey-pro-for-led-speaker-zwave-satellite-and-network-resource/70369) , [JSON Handler and Manipulator](https://community.homey.app/t/app-pro-json-handler-and-manipulator/66317) , [LOQED](https://community.homey.app/t/app-pro-loqed-your-personal-doorman/89816) , [Music Url Converter](https://community.homey.app/t/music-url-converter-play-music-urls-on-homey-bigger-then-900-kb/43546) , [Reverse Proxy and DDNS](https://community.homey.app/t/app-pro-reverse-proxy-and-ddns/160862) , [Simple Log](https://community.homey.app/t/simple-log-app/146) , [Universal Media Player](https://community.homey.app/t/universal-media-player-a-generic-storages-place-for-your-homey-speakers-tvs-or-other-media-devices/43450) and [Virtual Devices](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723) . [Goto profi…](https://community.homey.app/t/profile-arie-j-godschalk/70663)

### Donations or Sponsorship

> [@\[Profile\] Arie J. Godschalk](https://community.homey.app/t/profile-arie-j-godschalk/70663/3):
>
> Donations or Sponsorship. You can help with the development, maintenance and support for the Apps, by donating or becoming a sponsor. This would be much appreciated! The more donations i receive, the more time i can make free for development and support. slight_smileDonations can be done through: [[PP] PayPal](https://paypal.me/QlusterIT) Requires a PayPal account. [[GS] Github Sponsors](https://github.com/sponsors/XeroxQ) Allowes for CreditCard. Sponsorships can be done through: [[P] Patreon](https://www.patreon.com/QlusterIT/membership) Requires a Patreon account. [[GS] Github Sponsors](https://github.com/sponsors/XeroxQ) …

* * *

[Last message from the Author](https://community.homey.app/t/app-pro-virtual-devices/1723/546)

---

<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:** [September 15, 2018, 4:53pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/2 "2018-09-15T16:53:41Z")

</div>

Note that the old forum can be found here:

> **[\[APP\] Virtual Devices for Homey](https://forum.athom.com/discussion/3065/app-virtual-devices-for-homey)**
>
> Virtual Devices for Homey Appstore: http://apps.athom.com/app/com.arjankranenburg.virtual

---

<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:** [October 10, 2018, 7:00am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/3 "2018-10-10T07:00:10Z")

</div>

Hi New user here. Just added the VD app, great, good job.  
Also made a small donation for your effort.  
I have a question if you can answer, i saw somewhere that somebody said they added there own icons to your app and loaded it onto the Homey. I get how to load the app onto Homey, but how do I add icons to the VD file?

---

<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:** [October 14, 2018, 8:46pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/4 "2018-10-14T20:46:48Z")

</div>

Hi Adrian,

Thank you very much for your kind donation!

I’ll try to set-up a help-page with instructions for this, but in short it will be something like:

1. Download the Virtual Device code from GitHub

2. Determine which driver to add an icon: mode, multi, or virtual\_switch

3. Add an icon in .svg format to the assets directory of that driver

4. Add a line with 'getIconNameAndLocation('switch’),’ to the driver.js of the chosen driver. You’ll see where to put it.

5. Load your version of Virtual Devices like a developer does, i.e. from the command-line:

See [https://developer.athom.com/docs/apps/tutorial-Getting%20Started.html](https://developer.athom.com/docs/apps/tutorial-Getting%20Started.html) but skip step 4 (you don’t need to create a new project).

Let me know if and where you get stuck.

With kind regards,

Arjan

---

<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:** [October 15, 2018, 3:02am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/5 "2018-10-15T03:02:51Z")

</div>

Many thanks. I’ll try this out this week when I get some spare time. Cheers.

---

<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:** [October 16, 2018, 1:20am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/6 "2018-10-16T01:20:29Z")

</div>

Hi, any reason the Virtual Devices are not available through Alexa SmartHome Skill? Is this a Homey issue?

---

<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:** [October 16, 2018, 8:05pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/7 "2018-10-16T20:05:08Z")

</div>

Not that I know of. I don’t use Alexa (yet).

Are other Homey devices available in Alexa skills? Or only certain types?

Virtual Devices are just like regular devices, except for the physical device itself 😃

On the other hand: I didn’t do anything special for Alexa, but I would be surprised if that’s needed.

/Arjan

---

<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:** [October 17, 2018, 12:15am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/8 "2018-10-17T00:15:11Z")

</div>

Thanks Arjan, had a reply from Homey support and they said it is the Virtual Device App issue, not a Homey issue.  
Any chance of fixing this, I find the Virtual devices great, but need them to be functional via Alexa for voice control. Happy to make a donation so you can buy one to test with, or I can order one and send it to you.

Kind Regards  
Adrian

---

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

</div>

That’s very kind of you but let me investigate a bit first.

I assume you installed the Homey-skill? I read here that it already works for switches:

> [@Alexa control for Homey](https://community.homey.app/t/alexa-control-for-homey/810):
>
> Hi all, I’m a new Homey owner and hoping to predominatly use Alexa to control my Homey. After a few days of trial and error I’m finding that i cannot get my flows to work as i want. I’ve learnt that I need to use Virtual Devices to trigger the flows but the Virtual Devices that the Alexa app will recognise are very limited - I can only add a switch. An example of the issue I’m having is with my TV. I’ve created a Virtual Device (switch) and can use Alexa to turn my TV on or off without a prob…

Switch is not a capability in Homey, so I guess he means an onoff-capability. It could very well be that the Homey-skill does not support all capabilities, but onoff should be the first to support.

It could also be that it discovers only certain classes of devices, e.g. lights or sockets. Did you try it with those?

And here I read that the language matters, of both Alexa’s and Homey’s:

> [@Alexa skill in Australia?](https://community.homey.app/t/alexa-skill-in-australia/809/2):
>
> There is a Homey skill available now in Alexa if that’s what you mean.

---

<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:** [October 18, 2018, 12:20am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/10 "2018-10-18T00:20:14Z")

</div>

Hi Arie,  
Done some more investigation myself.  
So it seems that on/off plugs and lights virtual devices will work and are displayed within Alexa Smart Home Homey skill. But other VD devices such as TV, Blinds, Buttons, Virtual Modes or Multi Modes, do not.  
You are right, this seems to be Homey related, as we have added Somfy RTS blinds to Homey and these do not show within Alexa either.  
I’ll get in contact with Homey again and find out why or how you can add functionality for, Especially for AV (tv and receiver) and Blind support with Alexa. Blind (window coverings) support is essential for us.  
Thanks Arie for you quick response.

ps if you havent tried using an Amazon Alexa you really should. A couple of these thoughout a home are amazing for voice control, intercom solution and mulitroom music control (Spotify premium account needed)

---

<div class="post-metadata">

**Author:** ![Slof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/slof/32/1318_2.png) [@Slof](https://community.homey.app/u/Slof)\
**Post date:** [October 31, 2018, 8:30pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/11 "2018-10-31T20:30:44Z")

</div>

How can I set a value when I created a virtual device with a measured temperature?

---

<div class="post-metadata">

**Author:** ![Slof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/slof/32/1318_2.png) [@Slof](https://community.homey.app/u/Slof)\
**Post date:** [October 31, 2018, 9:12pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/13 "2018-10-31T21:12:07Z")

</div>

Thanks, it’s now working. Just needed to select the correct sensor and device.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [November 17, 2018, 8:55am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/14 "2018-11-17T08:55:02Z")

</div>

As far as I can determine Alexa does not support covers (curtains, blinds, etc). It has no class for developers to use. Until Amazon add that class Alexa can not support covers from any manufacturers. I use Tahoma and link that into Alexa but it only exposes scenes and not devices. So I have created Alexa routines for each window to call the scenes that operate the cover. E.g. a routine called “open bedroom blind” that calls the open bedroom blind scene and the same for close and then repeat for each cover.

---

<div class="post-metadata">

**Author:** ![Lammy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lammy/32/11436_2.png) [@Lammy](https://community.homey.app/u/Lammy)\
**Post date:** [November 18, 2018, 12:29pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/15 "2018-11-18T12:29:00Z")

</div>

Hi Arjan, can you make the capabilities of the sensor device setable?  
I use virtual sensors to show variables from Homey-scripts in Insights. Right now I need a token/tag and a flow to get the value stored in the sensor.  
I’d like to minimize the use of flows and tags to relieve my heavily overloaded Homey 😏.

---

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

</div>

Do you want to set it with Homeyscript, like Bassiebulk in:

> <https://github.com/ArjanKranenburg/virtual-devices/issues/65>

I can try to overwrite the default settings of athom. Not sure if that will work.

---

<div class="post-metadata">

**Author:** ![Lammy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lammy/32/11436_2.png) [@Lammy](https://community.homey.app/u/Lammy)\
**Post date:** [November 18, 2018, 7:50pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/17 "2018-11-18T19:50:58Z")

</div>

Yes, that’s what I’d like to do.  
Exactly the same problem as Bassiebulk.

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [December 2, 2018, 3:00pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/18 "2018-12-02T15:00:24Z")

</div>

Hi,

Last week I changed some flows to use VD instead of Better Logic variables, but it’s not working as expected.

I have a multi-mode device ‘Zon’ that has mode ‘Sunset’ and ‘Sunrise’. I use 2 flows to set the mode, like this:  
 ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2a9f4f11ebb088322a889b593a997b851afc8ffa.jpeg)

I have 2 VD-devices ‘Sfeer Binnen’ and ‘Sfeer Buiten’ that switch on some lights inside and outside when the sun sets, like this:

 ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/85106e918116868788ec4c0e2948a1df95cb5729.jpeg)

This only works for the ‘Sfeer Binnen’ device when the sun sets.  
But in the morning, when the multimode is set to ‘Sunrise’ it turns ON ‘Sfeer Buiten’!?  
I have no flow that does anything with ‘Sfeer Buiten’ when the mode changes to ‘Sunrise’.  
I do have another flow to turn off another light at sunrise, this doesn’t work either.  
All very weird stuff 😏

I just noticed something strange in the Android (preview)-app:

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

Both ‘Sunset’ AND ‘Sunrise’ are set to on!?  
Do I have to do something special with the device, or is this a bug somewhere (VD or Android-app)?

Thanks!

---

<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:** [December 5, 2018, 9:14pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/19 "2018-12-05T21:14:26Z")

</div>

Not sure if it is the same, but it reminds me of this issue for Athom:

> <https://github.com/athombv/homey/issues/2459>

Does it work when you create the flow with the desktop app?

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [December 6, 2018, 5:52am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/21 "2018-12-06T05:52:40Z")

</div>

I never create flows on mobile so I guess that’s not the case here…

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [December 6, 2018, 5:52am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/22 "2018-12-06T05:52:58Z")

</div>

Ah, didn’t know I could use it that way.

I’m going to wait it out a couple of days. Yesterday, without changing anything, it suddenly worked as expected.  
Lights on in the evening at sunset and NOT on in the morning at sunrise 🙂

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