Stream Deck for Home Assistant with the Ulanzi D200
Use a Ulanzi D200 as a Home Assistant stream deck with free Taurilanzi. Connect with a token, use 12 actions, show live state and let automations move the dock.

What you need to control Home Assistant from a D200
To use a Ulanzi D200 as a Home Assistant stream deck you need Taurilanzi, a free and open-source desktop app, and a long-lived access token from your Home Assistant. The app talks to Home Assistant over its WebSocket API: keys switch lights, run scenes, move covers or talk to Assist, and they can draw the live state of any entity. It also works the other way round: a Home Assistant automation can change the dock's page, profile or brightness.
Nothing gets installed in Home Assistant. No HACS integration, no add-on: the app runs on the computer the dock is plugged into and connects to your server. If the dock is not running with Taurilanzi yet, start with the Ulanzi D200 setup guide and come back.
Connect Home Assistant in five steps
- In Home Assistant, open your profile → Security → Long-lived access tokens and create one. Copy it right away: Home Assistant shows it only once. See Home Assistant's authentication docs for the details.
- In Taurilanzi, open Settings → Integrations and click Add Home Assistant server. Inside the dialog, Open the tokens page jumps straight to the page from step 1.
- Fill in Address with what you type in the browser:
http://homeassistant.local:8123, an IP such ashttp://192.168.1.20:8123, or your Nabu Casa address if you reach Home Assistant from outside. - Paste the token into Access token and save.
- Turn on Accept unverified certificates only if your Home Assistant runs on https with a certificate of its own, the kind your browser warns about.

The app connects as soon as it has an address, and the dialog shows your home's name and Home Assistant's version. When something is wrong it says what: nothing answers at that address, the certificate is not trusted, or Home Assistant does not accept the token. You can add several servers, say home and office; the Name field tells them apart when you pick one in an action.
One thing about the user behind the token: use an administrator account if you want the Fire an event action or want Home Assistant to move the dock. Home Assistant only lets administrators fire events and subscribe to most event types over WebSocket, as its WebSocket API docs say and its source code shows. Every other action works with a regular user.
All 12 Home Assistant actions, with real examples
When you pick a key's type with Choose the type of key, the Home Assistant section has twelve actions. Each one is set up in its own dialog, and the entity picker searches by name, area or id, so office and light. both find what you want. Ten of them can also be added to any key under Additional actions → Add action; Smart tile and Display only draw the key, so they can only be its type.
| Action | What it is good for |
|---|---|
| Smart tile | Draws the entity as what it is and does what suits it when pressed: opens or closes cover.living_room, switches light.desk_lamp. |
| Turn on or off | Toggle, Turn on or Turn off. Covers, locks, vacuums and alarm panels get their own words, like Open and Close on a blind. |
| Activate scene or script | A scene (scene.movie_night), a script, a button or an automation. |
| Adjust a level | Brightness, Color temperature, Position, Tilt, Speed, Volume, Target temperature, Target humidity or a Value, with Up, Down or Set. |
| Choose an option | HVAC mode, preset, light effect, an amplifier's source or an input_select option: Next, Previous or This one. |
| Control a media player | Play or pause, skip, volume, mute and shuffle on a media_player. |
| Color of a light | Turns a light on in the color you pick. |
| Alarm | Disarm, Arm home, Arm away, Arm night, Arm vacation, Arm custom or Trigger. |
| Home Assistant action | Any action of any integration, with its fields. |
| Tell Assist something | Sends a sentence to Assist, as if you said it. |
| Fire an event | Fires an event with JSON data for your automations to pick up. |
| Display only | Shows an entity on the key; pressing it does nothing. |
Three setups that make sense on a desk:
- Office thermostat. One key with Adjust a level on
climate.office, Target temperature, Up by 0.5 °C, and a second one with Down. The app never goes past the limits the entity reports. - House mode. Choose an option on
input_select.house_modewith Next cycles Home, Away and Night on each press. If you prefer one key per mode, use This one and turn on Change background with its state under How it shows on the key: the Night key lights up while the house is in that mode. Only the action that is the key's type can do that; added as an additional action, the same action works but leaves the key's look alone. - Alarm with a code. If your panel asks for a code, the action's Code field keeps it apart from the keys and never shows it again.
For anything the named actions do not cover there is Home Assistant action: pick any action, like light.turn_on or notify.mobile_app_your_phone, target entities, areas, devices, floors or labels, and fill in its fields in the same form Home Assistant describes. Edit as JSON lets you write the fields by hand instead.
Tell Assist something deserves a word: you write "Turn on the living room lights" and Assist handles it in the language it is set up in, with the conversation agent you choose. If it does not understand, the key shows a cross. It is handy for sentences you already tuned in Assist and do not want to rebuild as actions.
Additional actions can run On press, On double press or On hold, as their When says. A practical pairing: a Turn on or off key toggles the desk lamp, and an Adjust a level additional action set to On hold dims it.
Keys that show what your home is doing
Each key of the D200 shows a 196 × 196 pixel image, and the wide key a 452 × 196 one. Taurilanzi draws your home on them, updated the moment something changes, because the app follows Home Assistant's changes over WebSocket.
There are two ways to do it:
- Smart tile and Display only, as the key's type. They draw the entity in one of three looks: Tile (a blind as open as it is, a thermostat's dial, a bulb in the light's color), Card (icon, name and state) or Icon and text.
- Live content. The same Home Assistant section of the types window has Graph of an entity, Several entities, Camera or image, Weather and Template. A Carousel key adds Entity and Smart tile to those, mixed with clocks or system monitors, and moves on to the next one on each press. Template takes any Home Assistant template and works it out again whenever something it reads changes.
Cameras are only fetched while their page is on the dock, so a page of cameras costs nothing while you look at another one.
Home Assistant can move the dock too
Taurilanzi listens for the taurilanzi event in Home Assistant, and any automation can fire it with the Fire manual event action (event: in YAML). It reads these fields:
| Field | What it does |
|---|---|
page |
Opens the page with that name in the active profile. |
profile |
Switches to the profile with that name. |
brightness |
Sets the dock's brightness, 0 to 100. It is the same setting as Settings → Dock → Brightness, so it stays. |
wake |
With true, takes the dock out of the idle screensaver or turns its screen back on. |
Names ignore upper and lower case. You can send several fields in one event: the profile changes before the page is looked up, so profile and page together open a page of the new profile. A name that does not exist leaves the dock as it was.
A real example: when the doorbell rings, wake the dock and show the camera page.
alias: Doorbell, cameras on the dock
triggers:
- trigger: state
entity_id: binary_sensor.doorbell
to: "on"
actions:
- event: taurilanzi
event_data:
wake: true
page: Cameras
And one that dims the dock at night, with the sun trigger:
alias: Dim the dock at sunset
triggers:
- trigger: sun
event: sunset
actions:
- event: taurilanzi
event_data:
brightness: 20
For this to work, Taurilanzi has to be running on the computer the dock is plugged into (it starts at login) and the token has to belong to an administrator, as explained above. The help text under Settings → Integrations lists the four fields in case you forget them.
Before you start
- Only the Ulanzi D200 is supported. Other Ulanzi docks do not work with Taurilanzi.
- Keys work while the app is running: the dock does not talk to Home Assistant on its own.
- One app per dock. If you used Ulanzi Studio's Home Assistant plugin, quit Ulanzi Studio first. Our Ulanzi Studio alternative page covers the other differences.
- Taurilanzi is not the only option. Ulanzi Studio has an official Home Assistant plugin, though one user on the Home Assistant forum wrote that "it doesn't work properly, and it's not very flexible" (forum thread). Bitfocus Companion also drives the D200 and has a Home Assistant module.
- Dials are not supported yet.
If you want to know who makes the app and why, read what Taurilanzi is. To try it, download Taurilanzi, create the token and set up a first light key. The code is on GitHub if you want to see exactly how it talks to Home Assistant.