HomeHome AutomationControl Spotify with IKEA Symfonisk

Control Spotify with IKEA Symfonisk

Control Spotify and other players/devices with this beautiful controller

I completely missed the release of the IKEA Tradfri Symfonisk controller. Designed to control the Symfonisk wireless speaker (via IKEA Tradfri hub) this remote is capable of changing volume, and controlling the music playback. Not a great deal if you consider that this £15 works with a single £99 device by default. Let’s use some NodeRED magic and control Spotify with IKEA Symfonisk (or anything you want) without the hub.

Is Symfonisk actually good?

I played with rotary dimmers from IKEA before, and I have to say that the rotation detection was very inconsistent. I fixed some of that thanks to NodeRED but the rotation movement remained imperfect.

The Symfonisk comes with the following functions:

  • Single Click – Play/Pause
  • Double Click – Skip track
  • Triple Click – Previous Track
  • Rotate – Change Volume

The rotation of the Symfonisk remote is better. It’s more consistent, as the remote uses a rotary encoder instead of the acceleration input. To use it with IKEA Tradfri, you will need the hub.

Control Spotify with IKEA Symfonisk

I will show you how to map the controls in NodeRED and how to link the Symfonisk remote with Spotify. You will be able to change the volume settings and control the playback while the Spotify is minimised.

To achieve this, I will take advantage of:

I will assume that you know the basics of NodeRED. This 7 part tutorial will bring you up to speed but this article alone will cover all you need to know. To make this all work you need a CC2531 Zigbee stick flashed with Zigbee2MQTT.

How does it work?

Inputs from Symfonisk are sent via Zigbee cc2531 to NodeRED. A flow maps the inputs and sends it via HTTP request and AutoRemote back to your Windows PC. EventGhost with AutoRemote plugin reads the commands and uses Toasittify to execute global shortcuts in Spotify.

Setting up Spotify

Spotify lets you use your local files as well (initially I wanted to use Groove Player – default app but I had issues controlling it). Check the settings to add your local files and make it available in the Spotify app.

Toastify is used to apply global shortcuts. I used the following combination:

  • {Ctrl+Alt+Up} – play/pause
  • {Ctrl+Alt+Left} – back
  • {Ctrl+Alt+Right} – skip
  • {Ctrl+Alt+Add} – volume up
  • {Ctrl+Alt+Substract} – volume down

The same configuration will be mirrored in EventGhost.

EventGhost

EventGhost is an equivalent of Tasker for Windows and despite the outdated looks,m it’s very powerful. Install AutoRemote and Keyboard Plugins (need to be present in Autostart). You will need an AutoRemote Chrome extension to send the commands over.

Each time a message is sent via NodeRED Event Ghost will execute the saved key macros. Once you set up the NodeRED component, you will be able to see the incoming messages in the EventGhost log and drag it to correct macros.

NodeRED

Pair the Symfonisk remote with cc2531 stick and rename it to your preference. By default, Symfonisk will be posting updates to zigbee2mqtt/devicename. I applied a 2msg/sec rate limit to avoid spamming my Zigbee stick. Commands sent by Symfonisk are stored as msg.payload.action:

  • play_pause
  • skip_forward
  • skip_backward
  • rotate_right
  • rotate_left

I’m not using the dynamic values for brightness [0-255] as in this case this is not needed. The action is encoded into an HTTP POST and sent to my AutoRemote device using credentials system.

FUNCTION NODE: Compose AR
var command = "SPOTIFY"+msg.payload.action; 
var AR = global.get("ARdesktop"); 
msg.url = "https://autoremotejoaomgcd.appspot.com/sendmessage?key="+AR+"&message="+command;

return msg;

Conclusion

Controlling Spotify with IKEA Symfonisk is simple! The Symfonisk remote can be used to control other devices too. Just think about it as a remote with 3 button actions and a [0-255] brightness control. I could map this to colour light and use the extra actions to not only change the brightness but also hue as well! Let me know if you have any comments about controlling Spotify with IKEA Symfonisk in this Reddit thread.

Project Download

Download project files here. Bear in mind that Patreon supporters have early access to project files and videos.

PayPal

Nothing says "Thank you" better than keeping my coffee jar topped up!

Patreon

Support me on Patreon and get an early access to tutorial files and videos.

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

Smart Ideas with

Automate your space in with these ecosystems and integrate it with other automation services

client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image

Learn NodeRED

NodeRED for beginners: 1. Why do you need a NodeRED server?

0
To server or not to server? That's a very silly question!

Best Automation Projects

Tuya SDK for beginners: Intro to Tuya Cloud API

0
Working with Tuya Cloud API. A guide to Cloud automation for beginners, get started with REST!

NEST your old thermostat under $5

0
Nest-ing up your older thermostat under $5

Nora – Google Assistant in NodeRED

0
Integrate Google Assistant with NodeRED thanks to Nora - NodeRED home automation

DIY Smart Washing Machine – for about 15 bucks!

0
Learn how to add washing machine notifications to your Google Home on the cheap

Sonoff Zigbee Bridge – review

0
Sonoff line up will soon include Sonoff Zigbee Bridge and more Zigbee sensors - here is the first look

Smart Home

Remotes aren’t done with us yet: SwitchBot Remote

0
If you hate having 20 remotes hidden in your sofa, or your parents despise talking to Alexa to turn the lights on - SwitchBot Universal Remote is here to deal with all this!

We’ve seen this before: SwitchBot K10+ PRO

0
This is an odd one. Building on the success of SwitchBot K10+ they released SwitchBot K10+ PRO - but is the experience actually better?

Is this the smart panel we have waited for?

0
ITEAD has released a new smart panel: Sonoff NSPanel Pro 120 - have they learned the lesson from the terrible launch of the original Pro? Let's see what's new.

Aqara FP1E detects motionless humans

0
This isn't exactly a new device, it's an interaction of the original Aqara presence sensor. Aqara FP1E brings Matter, ZigBee and new triggers to your smart home

SwitchBot S10: cleaning re-imagined!

0
SwitchBot S10 promises unattended vacuuming and mopping so you can focus on things you love and care for. Does it deliver?