Skip to main content

Mopidy extension for remote control via MQTT broker

Project description

Based on magcode's work.

Build Status


Using pip:

pip install Mopidy-MQTT-NG


You have to at least configure the MQTT broker access. By default it's assumed to be installed locally.

host = <mqtt broker address>
port = 1883
topic = mopidy

Note: Remember to also supply username and password options if your MQTT broker requires authentication.


  • Sends information about Mopidy state on any change
    • Playback status
    • Volume
    • Track description
  • Reacts to control commands
    • Playback control
    • Tracklist control
    • Volume control
    • Track search [WIP]
  • Responds to specific information inquiries

MQTT protocol


Default top level topic: mopidy.

Control topic: mopidy/c.

Information topic mopidy/i.


Kind Subtopic Values
State /sta paused / stop / playing
Volume /vol <level:int>
Current track /trk <artist:str>;<title:str>;<album> or


Kind Subtopic Values
Playback control /plb play / stop / pause / resume / toggle / prev / next
Volume control /vol =<int> or -<int> or +<int>
Add to queue /add <uri:str>
Load playlist /loa <uri:str>
Clear queue /clr
Search tracks /src <str>
Request info /inf state / volume / queue

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Mopidy-MQTT-NG, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size Mopidy_MQTT_NG-0.3.1-py2.py3-none-any.whl (11.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size Mopidy-MQTT-NG-0.3.1.tar.gz (11.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page