About Us
Pricing Brochures Become a partner Contact Us Login Start Free Trial

Connect your devices

Connect Z-Wave devices through Z-Wave JS UI

Z-Wave JS UI Z-Wave 5 steps
About 15 minutes For: Organisations · Last updated:

Z-Wave sensors, locks, relays and thermostats can show in TheBuilding.Cloud through Z-Wave JS UI, the free program that runs your Z-Wave USB stick. Z-Wave JS UI announces each device the Home Assistant way, and a few bridge lines in the site's MQTT server pass them on to us.

What you need

Step 1 of 5
  • Z-Wave JS UI running at the site with its Z-Wave USB stick, and your Z-Wave devices already added to it.
  • An MQTT server at the site that Z-Wave JS UI sends to: Home Assistant's Mosquitto broker add-on, or Mosquitto on the same computer.
  • 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.
In TheBuilding.Cloud

Get your login in TheBuilding.Cloud

Step 2 of 5
  1. Open Device Hub in the menu and click Connect devices.
  2. 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.
  3. Copy the password straight away with Copy password. It is shown only once.
  4. Under 2 · What do you have?, click the Home Assistant tile. Z-Wave uses the same bridge lines: copy them from the tile's steps with Copy.

Keep this page open: you copy from it in the next step.

On the device

Steps on the device: Z-Wave JS UI

Step 3 of 5
  1. In Z-Wave JS UI open Settings, then MQTT. Point it at the site's MQTT server (for Home Assistant's add-on: host core-mosquitto, port 1883, with the add-on's user name and password). Leave the Prefix as zwave.
  2. Open Settings, then Home Assistant. Turn on MQTT Discovery and Retained discovery, and leave the discovery prefix as homeassistant.
  3. Make sure the MQTT gateway isn't switched off in Z-Wave JS UI's settings, then click Save.
  4. Add the bridge lines from the Connect devices page to the site's MQTT server. Home Assistant: Settings, then Add-ons, then Mosquitto broker; turn on customize and create the file /share/mosquitto/tbc-bridge.conf with the lines. Mosquitto on its own computer: add the lines to its configuration file.
  5. Replace <your password> with your login's password and restart the MQTT server.

The bridge sends everything under your user name, so nothing else needs changing. To add a new Z-Wave device later, include it in Z-Wave JS UI as usual. It then appears in TheBuilding.Cloud by itself.

In TheBuilding.Cloud

Approve it in TheBuilding.Cloud

Step 4 of 5
  1. Go back to Connect devices. Under 3 · Devices found, new devices show Approve within a minute of connecting.
  2. Click the device. Under New device: approve it to use it, check the Name, choose the Building and click Approve.
  3. 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

Step 5 of 5
  • 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 bridge lines, the user name and the password. They must match the Connect devices page exactly, and the MQTT server must be restarted after the change.
  • A Z-Wave device is missing: check it works in Z-Wave JS UI and that MQTT Discovery is on. Battery devices may only show after they next wake up.
  • Every Z-Wave device shows twice in Home Assistant: Home Assistant now sees them through its own Z-Wave integration and through MQTT. Email help@thebuilding.cloud and we help you set it up so each one shows once.
  • 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.
  • No Device Hub in your menu? It has to be switched on for your organisation. Email help@thebuilding.cloud.

Still stuck?

Email us and a person will reply.

help@thebuilding.cloud

AI Assistant

Ask your question to chat

Hello! 👋 I'm your AI assistant for TheBuilding.Cloud. I can help you learn about our platform features, pricing, and capabilities. Sign in to ask about your own account.