API for Wiim Amp?

JohnW

Member
Joined
Mar 23, 2024
Messages
69
Is there an API document available that lists what commands can be sent to the Wiim Amp? I have wall mounted tablets around the house displaying dashboards for my Hubitat system and would like to add a few basic controls. Currently I just have an icon within the dashboards that launches the Wiim Home app and I'll continue to use that for searching, grouping etc. I found some info on this forum just now and can see I can call a preset with:

https://ip_address/httpapi.asp?command=MCUKeyShortClick:n (where n is the preset number)

That in itself is very handy as I'll be able to add a preset panel to the dashboards to quickly call a preset pointing to a radio station (or playlist from my NAS when the Wiim dream team get around to adding the capability 😉). I'm just interested to see what else might be possible using the API.

As an example I have rules in my Hubitat that will turn off the TV and media when the alarm is armed when I leave the house. It would be handy if I could send a command that stopped whatever is streaming on my Amps. Any help appreciated - thanks.
 
Some have also referred to this doc given the kit referred to also uses Linkplay modules. I guess some things may work and others don’t but both docs probably could do with being updated

 
And searching the forum for “httpapi.asp” might reveal other options that users have discovered that aren’t in those docs :)
 
I don't have the WiiM Ultra (yet 🤞), but is there an option for that in the app?
Yes there is!
I would try the ”proxy sniffing” approach but I am unfortunately not that computer savvy..
 

Attachments

  • IMG_4254.png
    IMG_4254.png
    933.5 KB · Views: 8
Last edited:
Well, until I get my own Ultra, maybe someone in this thread who owns one may follow the instructions and update the repository 😁
I actually tried following the instructions, but as I do not own an Android device I tried to install the proxy on my PC, and then add the proxy on the connection on my ipad, it could not access the network nor the wiim though so I gave up ;)
 
Last edited:
I actually tried following the instructions, but as I do not own an Android device I tried to install the proxy on my PC, and then add the proxy on the connection on my ipad, it could not access the network nor the wiim though so I gave up ;)
I'm not sure if it works on iOS, but if you don't have an Android device you can use an Android Emulator on your PC
 
I've compiled a list with some other API endpoints that are not listed in the docs:
Don't mind if I take your findings and add it to my experiment? I'm trying to create an OpenAPI/Swagger documentation file so I can actively connect to/test with my device.

Work in progress: https://github.com/cvdlinden/wiim-httpapi
 
Back
Top