Skip to content

Latest commit

 

History

History
359 lines (323 loc) · 10.4 KB

File metadata and controls

359 lines (323 loc) · 10.4 KB

WiiM Extended HTTP API

In addition to the HTTP endpoints presented in the official docs, the WiiM's HTTP API allows for way more undocumented operations.

If any functionality you need is not listed here, feel free to create a PR with additional info. The instructions on how to set up the interceptor are specified here.

All HTTP requests use the GET method, regardless whether they set or get a resource.


Network


Bluetooth


Audio


Equalizer

  • Disable Equalizer

  • Get list of available Equalizer presets

    • Command: EQGetList
    • Args: None
    • Example: https://192.168.1.100/httpapi.asp?command=EQGetList
    • Output (JSON): a list of equalizer presets
    • Output example:
      [
          "Acoustic",
          "Bass Booster",
          "Bass Reducer",
          "Classical",
          "Dance",
          "Deep",
          "Electronic",
          "Flat",
          "Game",
          "Hip-Hop",
          "Jazz",
          "Latin",
          "Loudness",
          "Lounge",
          "Movie",
          "Piano",
          "Pop",
          "R&B",
          "Rock",
          "Small Speakers",
          "Spoken Word",
          "Treble Booster",
          "Treble Reducer",
          "Vocal Booster"
      ]
  • Set Equalizer preset

    • Command: EQLoad
    • Args: one of the preset names
    • Examples:
    • Output (JSON): the resulting 10-band equalizer configuration
    • Output example:
      {
        "EQStat": "On",
        "Name": "Classical",
        "pluginURI": "http://moddevices.com/plugins/caps/Eq10HP",
        "EQBand": [
            {
                "index": 0,
                "param_name": "band31Hz",
                "value": 4.8
            },
            {
                "index": 1,
                "param_name": "band63Hz",
                "value": 3.8
            },
            {
                "index": 2,
                "param_name": "band125Hz",
                "value": 3
            },
            {
                "index": 3,
                "param_name": "band250Hz",
                "value": 2.5
            },
            {
                "index": 4,
                "param_name": "band500Hz",
                "value": -1.5
            },
            {
                "index": 5,
                "param_name": "band1kHz",
                "value": -1.5
            },
            {
                "index": 6,
                "param_name": "band2kHz",
                "value": 0
            },
            {
                "index": 7,
                "param_name": "band4kHz",
                "value": 2.2
            },
            {
                "index": 8,
                "param_name": "band8kHz",
                "value": 3.2
            },
            {
                "index": 9,
                "param_name": "band16kHz",
                "value": 3.8
            }
        ],
        "channelMode": "Stereo",
        "status": "OK",
        "source_name": "wifi"
      }

Squeezelite (Lyrion Music Server/Logitech Media Server) integration


Misc