Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

ScriptAWTRIX NG

Sonos Remote for TC002

On an AWTRIX display
Sonos Remote for TC002 shown on an AWTRIX display
Sonos Remote for TC002 · by lucaamo

On your display

Control a Home Assistant Sonos player with the TC002 knob: tracks, play/pause, volume, ten playlists and native 16×16 album art. Requires HA + MQTT.

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Multimedia
Includes
Script

Runs on

  • Does not run on 32×8 (TC001 & DIY) Made for 52×16 (TC002).
  • Runs on 52×16 (TC002)
  • Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.

Choose your display in the next step.

Send to AWTRIX

Choose your AWTRIX

Sonos Remote for TC002AWTRIX NG script

Install this script on your AWTRIX NG. Its icons and sounds are installed with it.

Your AWTRIX’s local address, for example 192.168.178.39 or awtrix.local.

The name shown in your AWTRIX script list. Use letters, digits, hyphens or underscores.

Connection & device login

Connect your phone or computer to the same network as your AWTRIX. Allow local network access if your browser asks.

Use the device’s IP address, without a page path such as /#/apps.

If your AWTRIX requires a login, the username and password fields will appear when you connect.

Sign in to the Hub to install scripts. Attached files are installed separately.

Script description

Sonos Remote for TC002 — v3.3.2

A physical Sonos remote for the official AWTRIX NG TC002 (52×16), using Home Assistant's Sonos and MQTT integrations. The clock displays music with artist and title on two lines and available native 16×16 album artwork. Audio stays on Sonos.

New in 3.3.2

Choose Startup screen → Playlists or Now Playing in the app settings. Playlists is the existing default. Now Playing opens current playback without starting a playlist or resuming paused music. Save and reopen the app after changing the setting. Hold the knob to open playlist selection and hold again to cancel.

Setup

Install the app as sonos_remote, together with the required Sonos Playlists and Sonos Artist Names modules. Existing module versions are unchanged. Keep the script names to preserve settings.

Import the Home Assistant blueprint. Configure a Sonos media player, matching MQTT topic root and clock topic prefix. Configure up to ten playlist/favorite slots in Sonos Playlists; each uses Name|content id|content type. For album covers, configure the blueprint's Home Assistant artwork URL reachable from the clock.

Open it from the TC002 Scripts menu or the Web UI Start button. Turn the knob in the picker to browse and click to start the selected item. While playing, turn for previous/next track and click for play/pause. The top left/right buttons adjust Sonos volume; hold to repeat. Hold the top middle button to exit to the AWTRIX carousel. Sonos volume is separate from the TC002 speaker.

Optional global artist abbreviations are configured in Sonos Artist Names. Full names scroll by default; an optional short name appears after the first full pass. Module defaults are empty for a new installation.

Verified on official TC002 firmware 1.2.2: 117 isolated actual Berry runtime assertions and eleven public-release checks passed. No real player controls were sent by those isolated tests.

For a direct Sonos connection without Home Assistant or MQTT, see the separate Sonos Remote Local, with automatic Sonos favorites, saved playlists, radio and player selection.

GitHub and complete setup · Release 3.3.2

Source available under PolyForm Noncommercial 1.0.0. Required Notice: Copyright © Stephan Mühl (Blueforcer) https://github.com/Blueforcer/awtrix-ng

More scripts in Multimedia

Something wrong with this script? Report it.