Activate Deconz Pairing mode within a script?

Hi, my hopes are not high this is possible, but I’d really like to be able to call the pairing mode from phoscon app a script (Deconz, Conbee II) . “Ok Google, start pairing lights” for example.

I’m happy to do the script but there’s no service call for that right?

Any idea?

If you’re using ZHA, I think the service zha.permit is doing that.

I don’t see a suitable service for deCONZ listed. It’s possible there’s one that’s not listed, but I’d be slightly surprised.

1 Like

Hmm… Exploring at the moment on this. It doesn’t want to connect to my Conbee (it did find it) but let’s see…

You can use the configure service, you can call any command on the rest api with it.

There is an example about this exact thing on the integration documentation

{ “field”: “/config”, “data”: {“permitjoin”: 60} }

1 Like