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

Connect your devices

Connect DALI lighting

DALI gateway DALI (MQTT) 5 steps
About 20 minutes For: Organisations · Last updated:

DALI lighting can show in TheBuilding.Cloud through a Tasmota DALI gateway or through dali2mqtt on a small computer. Light groups appear as dimmable lights, and DALI-2 presence and light sensors as sensors.

What you need

Step 1 of 5
  • One of these, connected to the DALI bus: an ESP32 with a DALI interface running Tasmota with DALI, or a small always-on computer with a USB DALI interface that dali2mqtt supports, running dali2mqtt and Mosquitto.
  • 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 DALI 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.

On the device

Steps on the device: the DALI gateway

Step 3 of 5

With a Tasmota DALI gateway:

  1. Set it up like any Tasmota device with the values on the Connect devices page, including the Full Topic that starts with your user name. See Connect a Tasmota device.
  2. In its Console type SetOption103 1 to turn TLS on.

With dali2mqtt:

  1. Set dali2mqtt to use the Mosquitto on the same computer, with the first box on the page in its config.yaml.
  2. Save the second box as Mosquitto's bridge file, put in your login's password, then restart both.
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.
  • Switch a light group at the wall or panel. Its new state shows on the device's page.

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 group is missing (Tasmota): groups appear the first time they change. Switch them once.
  • Lamp faults and DALI scenes aren't shown.
  • 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.