Software WiiM Remote DIY

JirkaT

Member
Joined
Mar 19, 2024
Messages
14
To overcome limit of only 4 preset buttons on WiiM Remote Control could be DIY.

The key is to use available http api:
https://ip_address/httpapi.asp?command=MCUKeyShortClick:<n>
where <n> could be 1 to 12.

You can simply create a web page containing table of 12 buttons, each of them will issue respective http request.

If you put this web page on your available web server situated on your LAN (where your WiiM Amp is also situated), you can use it from mobile phone, even if your mobile is on different network (most probably mobile connected via WiFi while WiiM via Ethernet LAN.

Notes.
Additionally, you can add Mute button as well as Volume adjusting control and even sound source selection.
Tested, screenshot of quick&dirty solution enclosed :)

WiiMswRemote.png
 
Some progress: better look, see enclosed screenshot from mobile (black&gray picture) :)

Nevertheless, I have not been able to get response from the WiiM.
While just for switching Presets it can be ignorred, for next development it is barrier. The problem is how to overcome the CORS problem (security barrier created by browser).

Thus I have switched myself to non browser way using NodeRed (WiiM tab added).
Now I can get response from WiiM, e.g. to see Title etc.
And again, see enclosed screenshot from mobile (the black&green picture) :)

In between, I have found that there many other solutions, e.g. from retired-guy
Using simple IR remote with arduino board: https://github.com/retired-guy/WiiM-Remote-Pi-Pico-W
Displaying what is played: https://github.com/retired-guy/WiiM-Web
 

Attachments

  • Screenshot_20240328-144631_Chrome.jpg
    Screenshot_20240328-144631_Chrome.jpg
    272.8 KB · Views: 14
  • Screenshot_20240328-144641_Chrome.jpg
    Screenshot_20240328-144641_Chrome.jpg
    206.3 KB · Views: 15
Back
Top