Connect your devices
Connect Zigbee devices through Zigbee2MQTT
Zigbee2MQTT links Zigbee sensors, buttons, plugs and lights to MQTT. Point it at TheBuilding.Cloud and every Zigbee device it knows appears in the Device Hub by itself.
What you need
- Zigbee2MQTT running at the site with its Zigbee adapter, and your Zigbee devices already paired to it.
- The organisation account. Only the organisation can make site logins and approve devices.
- Device Hub in your menu. If it isn't there, email help@thebuilding.cloud to have it switched on.
Get your login in TheBuilding.Cloud
- Open Device Hub in the menu and click Connect devices.
- Under 1 · Which site?, click the site's login. No login yet? Click + New site login, choose the Site, type a Name for this login and click Create login.
- Copy the password straight away with Copy password. It is shown only once.
- Under 2 · What do you have?, click the Zigbee2MQTT tile. Its steps already have your Server address, Port (secure) and User name filled in: copy each one from the tile's steps with Copy.
Keep this page open: you copy from it in the next step.
Steps on the device: Zigbee2MQTT settings
- In Zigbee2MQTT open Settings, then MQTT.
- Set the server to the mqtts:// address from the Connect devices page, and fill in the user name and your password.
- Set the base topic to the one shown on the page (your user name, then /zigbee2mqtt).
- Open Settings, then Home Assistant integration. Turn it on and set the discovery topic to the one on the page (your user name, then /homeassistant).
- Save. Zigbee2MQTT reconnects.
To add a new Zigbee device later, pair it in Zigbee2MQTT as usual (Permit join). It then appears in TheBuilding.Cloud by itself.
Approve it in TheBuilding.Cloud
- Go back to Connect devices. Under 3 · Devices found, new devices show Approve within a minute of connecting.
- Click the device. Under New device: approve it to use it, check the Name, choose the Building and click Approve.
- Something you don't need? Click Ignore. It stays hidden and its changes aren't kept.
Until a device is approved, TheBuilding.Cloud only reads it: it can't open or switch anything.
Check it works
- Under 1 · Which site? the login shows Sending now while messages arrive.
- Open the device: What it does shows each part and its state, and Recent activity lists what changed.
- Approved devices are listed on the building's Device Hub tab, with one quick button where the device can be switched.
Not working?
- Nothing received yet: check the server address, the secure port shown there (8883) with TLS (SSL) switched on, the user name and the password. All four must match the Connect devices page exactly.
- Lost the password: click New password on the login. Every device that used the old one stops until you give it the new one.
- Turned off: click Turn this login on.
- A Zigbee device is missing: check it is paired and working in Zigbee2MQTT, and that the Home Assistant integration is on.
- No Device Hub in your menu? It has to be switched on for your organisation. Email help@thebuilding.cloud.