rbaron / ikea-macropad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IKEA TRÅDFRI remote control as a macropad.

Here's a sample video with Zoom commands:

ikea-remote-zoom.mp4

In the video, the remote buttons are mapped to the following commands:

  • Brightness up click: mute/unmute
  • Brightness down click: webcam on/off
  • Brightness up long press: volume up
  • Brightness down long press: volume down
  • On/off click: leave meeting
  • Left arrow click: ESC (used to cancel actions)
  • Right arrow click: Enter (used to confirm actions)

How does it work?

  1. The IKEA TRÅDFRI remote control uses the Zigbee protocol to communicate its keypresses wirelessly
  2. A Zigbee adapter receives those keypresses
  3. zigbee2mqtt talks to the adapter and publishes received keypressed to an MQTT broker
  4. The script ikea-macropad.py connects to the MQTT broker and listens to zibee2mqtt messages. It then translates those received messages into simulated keypresses

About

License:MIT License


Languages

Language:Python 100.0%