z2m_permit_join
Open or close the Zigbee network to pair new devices, optionally restricting joining to a specific router for targeted placement.
Instructions
Open or close the network for new devices to join. While open, any nearby Zigbee device may join, so keep the window short and close it with time=0 when finished. Optionally scope joining to a single router, which is the recommended way to pair a device into a specific part of the mesh. Use z2m_bridge_info to see whether joining is currently open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Seconds to allow joining. 0 closes the network. Maximum 254. | |
| device | No | Restrict joining to this router's friendly_name, or 'coordinator'. Omit to allow via any router. |