Antichaos extensions

Baton

Drive the dashboard on the wall from the phone in your hand.

Baton turns a phone, a tablet or a laptop into a remote control for a Tableau dashboard. The dashboard shows a QR code; you scan it, and its parameters and filters appear on your phone as buttons. Tap one, and the screen follows.

This page is a complete beginner's guide. No coding. For the short version of what Baton is, see the product page.


What you will build

A dashboard with a small pairing card on it. Anyone who scans the card's QR code gets a remote on their phone with the parameters and filters you chose. By the end you will also know how to:

  • let the phone collect several changes and apply them in one go
  • let a person at a touchscreen override the remote for a moment
  • hide the card once the screen is set up

Before you start

You need:

  • Tableau Desktop, Server or Cloud, and a dashboard with at least one list parameter or categorical filter. Range parameters, date filters and relative-date filters are not offered on the remote yet.
  • A Baton licence key. The remote talks to the dashboard through our relay, and the relay needs a key. Ask us for one.
  • For Tableau Server or Cloud: your site administrator must allow https://extensions.byantichaos.com under Settings - Extensions. Baton reads no data from your worksheets, so it asks for no data permission.

What about the free mode? Without a key Baton runs in same device mode, which connects two frames of one web page - that is how our online demo works. Inside Tableau it cannot reach a phone, or even another tab on the same computer, because Tableau keeps the extension apart from your other browser tabs. Use it to try the dialog; use a key for the real thing.


Step 1 - Add Baton to your dashboard

  1. Open your dashboard.
  2. From the Objects panel on the left, drag Extension onto the dashboard. Give it room for a QR code for now; you can shrink it later.
  3. Choose Access Local Extensions and select your baton.trex file, or paste the hosted address: https://extensions.byantichaos.com/Baton/baton.trex

The setup dialog opens. Any time after that, open it again from the extension's menu (the arrow in its corner) and Configure. Changes show on the tile as you make them; Cancel puts everything back.


Step 2 - Choose what the remote may change (Controls)

Expose : All list-parameters & categorical filters (the default), or Only the ones I pick. With the second, a checklist of the dashboard's parameters and filters appears; untick what the remote should not touch.

Hide filters made by dashboard actions / Hide the Measure Names filter : A filter action adds an Action (...) filter to the sheets it targets, and a sheet with measures on it often carries a Measure Names filter. Both show up on the remote unless you tick these. They apply in both Expose modes.

Each filter field appears once, even when several worksheets carry it. Baton sets it on the first worksheet that has it, and Tableau passes the change on to the other sheets exactly as that filter's own Apply to worksheets setting says.

Apply button on the remote : Off: every tap lands on the screen straight away. On: taps are collected on the phone and sent together when you press Apply. Use it when the dashboard is slow to redraw, or when you want to set three filters and show the result once. This only sets the starting choice - the person holding the phone can switch between Instant and On Apply at the top of the remote.

When a viewer changes something by hand : Remote still wins (presenter) - the default. The remote always has the last word. : Let the local touch win briefly (touchscreen kiosk) - after someone changes a parameter or filter on the dashboard itself, the remote is ignored for a few seconds (8 by default, adjustable with the slider), so the person at the screen is not overruled mid-click.


Step 3 - Set up pairing (Pairing)

Controller reach : Choose Any device - phone, laptop (needs a licence). Demo only is the free demo mode described above.

Room name : The name of the room the phone joins, such as stage or ops-wall. Letters, digits, spaces and _ . : -, up to 49 characters. Give every Baton on your site its own room name - two dashboards open on the same room will fight over the remote.

Join code : Rotating (safer) - a 4-character code that is replaced once the dashboard has been closed (or hidden) for more than about five minutes. While the dashboard stays open, the code stays the same. A phone that is already paired stays paired when the code changes; only new phones need the new code. : Static (locked kiosk) - the code never changes. Convenient for a fixed screen in a room you control; anyone who once saw the code can come back later.

Show a QR code on the tile : On by default. Leave it on - scanning is the easiest and most reliable way to pair.

Licence key : Paste your key. Once it is accepted the dialog shows Licensed to your organisation instead of the key, and the key is never shown again. Remove license takes it out.

Click Save. After a second or two the tile shows the room, a join code and the QR code.

Anyone who can see the code can steer the screen. Parameters often feed calculations, so steering can change what data the dashboard shows. Treat the code like a presenter's clicker.


Step 4 - Pair your phone

  1. Point the phone's camera at the QR code on the tile and open the link. The remote opens, already connected.
  2. No camera handy? Click Copy link on the tile and send that link to the device, or open extensions.byantichaos.com/Baton/control/ and type the code shown on the tile. You can also paste the whole link into the code box.

The dot next to Remote on the tile turns green, and it says how many remotes are connected. Tap a value on the phone; the dashboard changes, and the tile shows it under Last.

Typing the code. The code alone is enough; the Room box is optional. After too many wrong codes from one network the remote asks you to wait a few minutes.


Step 5 - Make it look right (Display)

Show as : Pairing card - room, code, link and QR code. The default. : Minimal - a small pill with just the code. : Invisible - no tile at all. Pair the phones first: an invisible tile has no QR code to scan.

Start collapsed : Shows only the card's header. Viewers click the chevron to reveal the room, the code and the QR code - handy when the pairing card should not be the first thing on the screen.

Align, Text size, Text, Accent and Background match the card to your dashboard.

Then shrink the zone to fit, and publish the dashboard.


Using the remote

  • Parameters are single choice: tap a value to set it.
  • Filters are multi-select: tap values to add or remove them, or tap All to clear the filter.
  • Instant / On Apply at the top switches how taps are sent. In On Apply a bar at the bottom shows how many changes are waiting, with Apply changes and Reset. The phone remembers your choice.
  • The remote always reflects the screen: if someone changes a filter on the dashboard, the phone updates within a second or two.

When something does not work

The tile says "local mode" although I chose Any device. : No licence key is saved. Open Configure, paste the key in Pairing, and Save.

The tile says "subscription expired". : Your Baton key has run out. Contact us to renew it.

The phone says "no room found - is the dashboard open?" : The dashboard with Baton is not open anywhere, or the link is from an older room name. Open the dashboard and scan again.

The phone says "wrong code - re-copy the link". : The code in the link is no longer valid and this phone was not paired before (a paired phone stays paired). Scan the QR code again or type the code shown on the tile.

The phone says "too many tries - wait a few minutes". : Too many wrong codes were typed - from this network, or for this room (10 in an hour). Scan the QR code instead; it keeps working. Typing works again within the hour.

The tile's dot is orange and it says "wrong codes tried". : Someone typed wrong codes for this room within the last hour. A few are usually a typo. If the count keeps growing and nobody here is pairing, someone is guessing: after 10, typing is blocked for the hour, and the QR code and paired phones are unaffected. Use a different room name if it keeps happening.

A tap turns the dot red for a moment ("that control could not be sent", "not paired any more"). : The relay refused that change. The buttons return to what the dashboard really shows. If it says not paired any more, scan the QR code again.

The tile says a room name is not allowed. : Use letters, digits, spaces and _ . : - only, up to 49 characters, and start with a letter or digit.

The tile says "same-device only - Any device needs a licence key". : Any device is chosen but no licence key is saved. Paste your key in the dialog.

The phone says "incomplete link - re-copy it". : Part of the link was lost on the way; some chat apps cut links short. Scan the QR code instead.

The phone says "reconnecting..." : The phone cannot reach the internet, or a content blocker on it blocks the remote. Check its connection.

The remote keeps switching between two sets of buttons. : Two Baton tiles are using the same room - often the same dashboard open in two places, such as an editing tab and a viewing tab. Close one, or give each Baton its own room name.

I changed a setting and the phone does not show it. : Settings reach the phone through the link. After turning on the Apply button, for example, re-scan the QR code. If the tile itself looks out of date after an update, reload the dashboard.

Nothing works on Tableau Server or Cloud. : Ask your site administrator to allow https://extensions.byantichaos.com under Settings - Extensions.

It feels slow. : While a remote is in use, the dashboard checks for changes about twice a second; after a quiet spell the first tap can take up to about two and a half seconds. Most of any remaining wait is Tableau redrawing the dashboard, which Baton cannot speed up. On Apply helps on heavy dashboards: one redraw instead of several.


Questions or ideas? https://extensions.byantichaos.com/contact/?ext=Baton

Baton overview · Manifest: https://extensions.byantichaos.com/Baton/baton.trex