# Automatize adding a new Z-Wave device

**URL:** <https://community.homey.app/t/automatize-adding-a-new-z-wave-device/13447>\
**Category:** Devices\
**Created:** [May 21, 2019, 11:52am UTC](https://community.homey.app/t/automatize-adding-a-new-z-wave-device/13447 "2019-05-21T11:52:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marian](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marian/32/11090_2.png) [@Marian](https://community.homey.app/u/Marian)\
**Post date:** [May 21, 2019, 11:52am UTC](https://community.homey.app/t/automatize-adding-a-new-z-wave-device/13447/1 "2019-05-21T11:52:41Z")

</div>

I have a specific device (f.e. Fibaro Motion sensor Z-Wave Plus) and I need to automatise adding of such devices with a specific configuration to a controller so much as possible .  
There exists such possibility f.e. some scripting?

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [May 21, 2019, 12:20pm UTC](https://community.homey.app/t/automatize-adding-a-new-z-wave-device/13447/2 "2019-05-21T12:20:27Z")

</div>

You’ll have to change the app code (or create your own app) and add (more) “defaultConfiguration” values for the drivers in the `app.json`, these values are transmitted to the device during pairing, it isn’t possible via homey Script for example as that can’t be a middle man during pairing.

See [here](https://apps.developer.athom.com/tutorial-Z-Wave.html) (under Creating a Z-Wave driver) for more information,  
some example drivers are the fibaro FGS-211/221/212/222/213/223 drivers, as these have such a defaultConfiguration value(s)
