# Create Virtual device with capability "alarm\_contact"

**URL:** <https://community.homey.app/t/create-virtual-device-with-capability-alarm-contact/1517>\
**Category:** Apps\
**Created:** [September 11, 2018, 8:44am UTC](https://community.homey.app/t/create-virtual-device-with-capability-alarm-contact/1517 "2018-09-11T08:44:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stepic7](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stepic7/32/18659_2.png) [@stepic7](https://community.homey.app/u/stepic7)\
**Post date:** [September 11, 2018, 8:44am UTC](https://community.homey.app/t/create-virtual-device-with-capability-alarm-contact/1517/1 "2018-09-11T08:44:01Z")

</div>

I need to add a Virtual device with capability _alarm\_contact_ in order to be detected by Heimdall to emulate an ON/OFF switch  
I tried several no one is acknowledged but in the case the device is Motion detection  
Use of this device is to pass to Heimdall the info of an Open/Close switch implemented by a flow with the Fibaro binary sensor as explained in the thread:

> [@Save a register of devices configuration](https://community.homey.app/t/save-a-register-of-devices-configuration/657/12):
>
> If you change the driver yourself, sure. I’m not gonna do it for the general driver, as within homey and zwave devices currently I would need to add every possible contact/alarm type to make all people happy. For zwave devices there is just no way to choose during pairing unless it’s a socket type, which is a default homey thing, not app related. That’s about 12 capabilities (times 2), so not going to happen. Easier is to create 2 [virtual devices](https://apps.athom.com/app/com.arjankranenburg.virtual), each for every input, and couple them togeth…

Can anybody help?

---

<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 11, 2018, 8:56am UTC](https://community.homey.app/t/create-virtual-device-with-capability-alarm-contact/1517/2 "2018-09-11T08:56:29Z")

</div>

I missed your last posts in the other topic, but you would need to contact the developer of the Virtual Devices app for it. Unfortunately he is not (yet) registered here, but you could try via Github by filing a bug report.

It seems issue [#61](https://github.com/ArjanKranenburg/virtual-devices/issues/61) (Not being able to set the Virtual Motion Sensor from a flow card) is fixed in [version 0.7.4](https://github.com/ArjanKranenburg/virtual-devices/tree/issue/061_BooleanSensor) but it’s not yet published in the app store
