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

<div class="post-metadata">

**Author:** ![CB83](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cb83/32/30125_2.png) [@CB83](https://community.homey.app/u/CB83)\
**Post date:** [February 19, 2021, 7:27am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/356 "2021-02-19T07:27:01Z")

</div>

Thank you👍  
I wrote the - xx number and copy pasted it😜  
But haven’t testes it yet

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [February 19, 2021, 8:32am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/357 "2021-02-19T08:32:52Z")

</div>

> [@Joka](#):
>
> I’m on v0.9.4 and can’t input a “minus” in the attribut field min target\_temperature of the VD thermostat device.

> [@G.P\_Bruins](#):
>
> Yes, first enter the digits and then type the - in front of them.

Works, that’s the trick!

Thanks for the hint.

---

<div class="post-metadata">

**Author:** ![Kallemann](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kallemann/32/12705_2.png) [@Kallemann](https://community.homey.app/u/Kallemann)\
**Post date:** [February 19, 2021, 10:46am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/358 "2021-02-19T10:46:25Z")

</div>

Hello Arjan.

I have a sugestion.

Is it possible to make a virtual battery?  
Or a virtuel akumulator tank?

Then we can type inn min/max temp, volume, %alcohol etc then the app can calkulate the amount of kw stored, also the amount needed.  
This can be used as a «smarttank» and for example the power company Tibber can control this and “smartcharge” at nigth. 😇  
They now give 20% discount on the electric bill when eletric car charging with easee chargers, so it would be almost the same consept.  
They then control when the charging starts and stops at nigth.

---

<div class="post-metadata">

**Author:** ![Rob](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rob/32/10272_2.png) [@Rob](https://community.homey.app/u/Rob)\
**Post date:** [February 19, 2021, 2:04pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/359 "2021-02-19T14:04:09Z")

</div>

Thanks 👍

---

<div class="post-metadata">

**Author:** ![MarcoG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcog/32/36375_2.png) [@MarcoG](https://community.homey.app/u/MarcoG)\
**Post date:** [February 24, 2021, 8:59pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/360 "2021-02-24T20:59:04Z")

</div>

Hi Arjan, I’m currently working on a new Homey app about personal weather stations. I already use you app so I knew a nice icon for the app. I use the sensor-icon from your app. Is that OK with you?

---

<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 24, 2021, 9:26pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/361 "2021-02-24T21:26:08Z")

</div>

Sure. But note that I got most of the icons from the noun project and I add attribution to them in a License.md file, like this:

- Sensor (removed text) by Arthur Lacôte from the Noun Project via Creative Commons
- sensor (2) (removed text) by Pham Duy Phuong Hung from the Noun Project via Creative Commons

---

<div class="post-metadata">

**Author:** ![MarcoG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcog/32/36375_2.png) [@MarcoG](https://community.homey.app/u/MarcoG)\
**Post date:** [February 25, 2021, 5:49am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/362 "2021-02-25T05:49:08Z")

</div>

Thanks Arjan, added that info to my app as well.

---

<div class="post-metadata">

**Author:** ![horakmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/horakmar/32/33849_2.png) [@horakmar](https://community.homey.app/u/horakmar)\
**Post date:** [March 21, 2021, 11:04am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/363 "2021-03-21T11:04:49Z")

</div>

Hi guys, thx for this app, its amazing!  
I have one problem, can you help me?

I have flow - every 5 mins actualize temperature on virtal device. But it ends with error:

[https://homey.app/f/HDdtkx](https://homey.app/f/HDdtkx)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/7/37e4e7a9c9c762eee91831e0a12bdd9a800a52e8.jpeg)

---

<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:** [March 21, 2021, 11:09am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/364 "2021-03-21T11:09:12Z")

</div>

Take a look [here](https://community.homey.app/t/monitor-a-device/10649/11).  
All possibilities [here.](https://developer.athom.com/docs/apps-reference)

---

<div class="post-metadata">

**Author:** ![horakmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/horakmar/32/33849_2.png) [@horakmar](https://community.homey.app/u/horakmar)\
**Post date:** [March 21, 2021, 11:24am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/365 "2021-03-21T11:24:41Z")

</div>

Off course! Thank you! And how I set buble info of temperature? Like here?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/3/33ad607c5c89ee98eb4ab4b600715915a57ca9d1.jpeg)

---

<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:** [March 21, 2021, 11:26am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/366 "2021-03-21T11:26:31Z")

</div>

For measuring temp yes.

---

<div class="post-metadata">

**Author:** ![horakmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/horakmar/32/33849_2.png) [@horakmar](https://community.homey.app/u/horakmar)\
**Post date:** [March 21, 2021, 11:30am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/367 "2021-03-21T11:30:49Z")

</div>

Yep, sorry, I made mistake in my sentecne… The question is… HOW can I set info bubble 🙂

---

<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:** [March 21, 2021, 1:03pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/368 "2021-03-21T13:03:32Z")

</div>

Use the virtual thermostat for that and use all the capabilities during install

---

<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:** [March 21, 2021, 1:05pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/369 "2021-03-21T13:05:56Z")

</div>

And place the data in target\_temperarure

---

<div class="post-metadata">

**Author:** ![leman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leman/32/16566_2.png) [@leman](https://community.homey.app/u/leman)\
**Post date:** [March 21, 2021, 10:10pm UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/370 "2021-03-21T22:10:08Z")

</div>

Hi guys, is it possible for a thermostat device to clear the target\_temperature value via flow?  
I guess there should be the way as this (empty state) is the state of this parameter immediately after creating the virtual thermostat, but I can’t figure out how to bring it back once target\_temperature was set to any other value…  
I’m basically looking for a way to remove the temp display from virtual thermostat tile from time to time.

---

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

</div>

@leman  
I get the idea, but I couldn’t simulate it…  
How 'bout setting a bogus value, like 123? A temp which in real life never can be reached?

 ![Screenshot_20210322-001829_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/e/aece363cba5f8c997288c165a2e5cab18a7475bb.jpeg)  
 ![Screenshot_20210322-005856_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/5/e519c812ea12cd6b8b5b6504cb7cfb6b0a554805.jpeg)  
And you have to round your input values to 0.5  
F.i. like this  
 ![Screenshot_20210322-005641_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/c/7cb30c6fc22978d8cf601fe9ded883b42f4e5531.jpeg)

---

<div class="post-metadata">

**Author:** ![leman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leman/32/16566_2.png) [@leman](https://community.homey.app/u/leman)\
**Post date:** [March 22, 2021, 12:11am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/372 "2021-03-22T00:11:04Z")

</div>

Not sure if I get your suggestion correct, but if you set target\_temperature to a value high enough that it is out of thermostat range (as indicated when adding the device) then this card is simply not executed within the flow. So setting an unrealistically high value would either keep previous value (if it’s out of range) or update to this new value (if it’s in range - however non-realistic / never achievable temperature in a real life this is). It never seems to revert to no target\_temperature value at all (which is the case when the thermostat device is just created).

---

<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:** [March 22, 2021, 12:24am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/373 "2021-03-22T00:24:49Z")

</div>

First about your last sentence: that I could not achieve. Maybe it can be done by using Homey script.

I forgot to tell you the virtual thermostat I created to show snowfall in mm, was set to a range from 0 to 200°  
That’s why the "snow"tile can show 123 as a value.  
It is correct when sending an out of range value, the original value is unaltered.

The only way to adjust the range is to create a new virtual thermometer and setting the desired range.

---

<div class="post-metadata">

**Author:** ![leman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leman/32/16566_2.png) [@leman](https://community.homey.app/u/leman)\
**Post date:** [March 22, 2021, 12:44am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/374 "2021-03-22T00:44:21Z")

</div>

OK, thanks - this is somewhat similar to what I have implemented now (showing dummy value when I’d ideally like to have noting shown at all).

In my case the display is for the trigger of various heating plans (automatic/heat/cold/off), and sine in automatic mode there are different thermostat groups with different schedules there are certain time periods when a single target temp display (as available on a tile) is senseless. In such cases I set target\_temperature value to 0, but I would ideally like no value shown at all. Homey script is a bit above my level of understanding currently )))

---

<div class="post-metadata">

**Author:** ![leman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leman/32/16566_2.png) [@leman](https://community.homey.app/u/leman)\
**Post date:** [March 22, 2021, 12:51am UTC](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/375 "2021-03-22T00:51:31Z")

</div>

With a bit of tinkering - apparently you can assign an empty value to target\_temperature when changing the device parameters in Homey Developer or creating a flow in Homey Flow. This takes out the temperature display from the tile completely until you assign a valid value to target\_temperature once again.  
Flow editor in the mobile app does not allow doing this though.

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

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