Homey Community Forum

Automatize adding a new Z-Wave device

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?

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 (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)

1 Like