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

<div class="post-metadata">

**Author:** ![MrBlue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrblue/32/5446_2.png) [@MrBlue](https://community.homey.app/u/MrBlue)\
**Post date:** [May 31, 2021, 6:54pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/439 "2021-05-31T18:54:29Z")

</div>

Are you sure about this? The flow _does_ work when the color gets changed manually.  
The only thing is different is that the color gets changed by a flow vs manual change

---

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

</div>

I’ll try to simulate it.

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [May 31, 2021, 6:58pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/441 "2021-05-31T18:58:48Z")

</div>

Could it be it only works when the light was originally off and turned on internally because of the new color, and not when the light is already on and then changed? Because when the light is already on, the on state isn’t changed by the new color.

---

<div class="post-metadata">

**Author:** ![MrBlue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrblue/32/5446_2.png) [@MrBlue](https://community.homey.app/u/MrBlue)\
**Post date:** [May 31, 2021, 7:01pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/442 "2021-05-31T19:01:12Z")

</div>

Hi Edwin,  
My original flow is triggered by “Pressed / changed (Ingedrukt / veranderd)”.  
Only temporarily changed it to “Switched on” per Peter’s suggestion 🙂

---

<div class="post-metadata">

**Author:** ![MrBlue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrblue/32/5446_2.png) [@MrBlue](https://community.homey.app/u/MrBlue)\
**Post date:** [May 31, 2021, 7:04pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/443 "2021-05-31T19:04:27Z")

</div>

Fun note:  
If I change one flow to be triggered on “When switched on” and add an Off + On command after changing the color, it does work. Bit ugly though 😅

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [May 31, 2021, 7:04pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/444 "2021-05-31T19:04:44Z")

</div>

But the question is: what capability is “pressed changed” linked to. the hue capability has no default trigger/condition cards afaik. So it might still only listen to on/off kind changes.

This is probably also why the workaround helps.

---

<div class="post-metadata">

**Author:** ![MrBlue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrblue/32/5446_2.png) [@MrBlue](https://community.homey.app/u/MrBlue)\
**Post date:** [May 31, 2021, 7:10pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/445 "2021-05-31T19:10:26Z")

</div>

I have no idea!  
The only thing I know is that if I manually change a color in the device’s color wheel, the flow gets triggered.

---

<div class="post-metadata">

**Author:** ![MrBlue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrblue/32/5446_2.png) [@MrBlue](https://community.homey.app/u/MrBlue)\
**Post date:** [May 31, 2021, 7:15pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/446 "2021-05-31T19:15:41Z")

</div>

Hmm…  
Once I trigger on “when pressed/change” and change the color **saturation** (not color), the flow does get triggered… So why does it trigger on color saturation changes, but not (normal) color changes?

PS: Really appreciate all the help!

---

<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:** [May 31, 2021, 7:55pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/447 "2021-05-31T19:55:59Z")

</div>

Only this works (if the color is changed by a flow, not manual)

_Lamp stays on and color gets changed_

Trigger a random color

Change color to new random color.

 ![Screenshot_20210531-215708_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/b/eb6b57d3859454333ab0e07b2ea521fbb13420af.jpeg)

---

<div class="post-metadata">

**Author:** ![MrBlue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrblue/32/5446_2.png) [@MrBlue](https://community.homey.app/u/MrBlue)\
**Post date:** [May 31, 2021, 7:59pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/448 "2021-05-31T19:59:46Z")

</div>

Thanks for giving it a try.  
So in your case it only works with a flow, in my case only manually…

What will be the key to make it work in both scenarios… 🤔

---

<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:** [May 31, 2021, 8:07pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/449 "2021-05-31T20:07:56Z")

</div>

😆  
I cloned my flow nr. 2 and set the virtual device as trigger, and removed the “start a flow” card from the “when” section  
(I don’t have hue, so I had to round the zillion decimals 🙈)

When I pick a color by hand, the light color changes.

---

<div class="post-metadata">

**Author:** ![MiK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mik/32/34271_2.png) [@MiK](https://community.homey.app/u/MiK)\
**Post date:** [June 1, 2021, 6:51am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/450 "2021-06-01T06:51:33Z")

</div>

Hi guys, sorry to spam, but not sure if the above replies are to my post (this forum is new to me, so not sure how replies work).

Anyway, I’ve been trying to set the color of two Hue lamps together, using a virtual device light with Hue capabilities, but can’t figure out how to use the ‘choose color function’ of my virtual device with other (real) devices?

---

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

</div>

> [@B3rt](#):
>
> i tried to add the icon using the phone app now, when i choose the icon i can see it in the app but when i press the button to use it i get an popup message:  
> could not find that pairsession…

In my experience that message pops up when you don’t act within 30secs.  
It’s a default time-out setting.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [June 2, 2021, 5:22pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/452 "2021-06-02T17:22:07Z")

</div>

The problem is instant, add device, choose svg and immediately i get this error

---

<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:** [June 2, 2021, 7:26pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/453 "2021-06-02T19:26:08Z")

</div>

That’s weird.  
I was thinking it could be a faulty .svg maybe.  
Does the same error occur when you pick an .svg you used before on a VDevice?

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [June 2, 2021, 9:04pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/454 "2021-06-02T21:04:48Z")

</div>

i have no idea, i downloaded the svp, i have no option to open svg files, my pc does not reqonised the extension.

The svg itself is correctly displayed when chosen in the VD app, so i think the svg is OK.

I also have no idea where to get .svg files, it would be easier if .png could be used as icons…

---

<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:** [June 3, 2021, 1:21am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/455 "2021-06-03T01:21:48Z")

</div>

Oh, okay. .svg files are dynamically sizable, .png is not. That’s probably the reason .svg is selected as icon type.

> [@B3rt](#):
>
> The svg itself is correctly displayed when chosen in the VD app, so i think the svg is OK.

If the .svg is displayed correctly, that shouldn’t be the issue. Did you restart the app alr? Could help.

Here you can find lots of valid .svg icons, and view them.

> **[GitHub - athombv/homey-vectors-public: Developers can request vector icons...](https://github.com/athombv/homey-vectors-public)**
>
> Developers can request vector icons for an Homey App here - GitHub - athombv/homey-vectors-public: Developers can request vector icons for an Homey App here

If you use a Windows PC, to view .svg files you can use Irfanview (freeware, no ads) with the svg plugin.  
[https://www.irfanview.com/plugins.htm](https://www.irfanview.com/plugins.htm)

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [June 3, 2021, 8:01am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/456 "2021-06-03T08:01:03Z")

</div>

Or open them in Chrome

---

<div class="post-metadata">

**Author:** ![apps](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/apps/32/30000_2.png) [@apps](https://community.homey.app/u/apps)\
**Post date:** [June 3, 2021, 10:57am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/457 "2021-06-03T10:57:15Z")

</div>

> [@B3rt](#):
>
> I also have no idea where to get .svg files

> **[Free Icon | SVG Icon | Free Vector Icons Download | Icon Free | Free Svg Icons](https://freeicons.io/iconset/popular)**
>
> A free platform for download vector icons in SVG, PNG, EPS, AI & PSD format. All of our icon packs are completely free for commercial & personal use under iconshock license. Download today

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [June 3, 2021, 1:08pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/458 "2021-06-03T13:08:58Z")

</div>

Or make them yourself. Even got one of the building we live in. There are plenty of websites where you can convert your images to .svg online

![Screenshot_20210603-150529](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/88fab7e6a0b428e769443bfdb7bf4c2292bcc9ea.jpeg)

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

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