Wiim Amp https API - additional commands

JohnW

Major Contributor
Joined
Mar 23, 2024
Messages
62
I created a small driver to operate my Wiim Amps from Hubitat. It's very basic and I'm just using it to call the commands such as stopping playback automatically when I leave home but have added the other available commands. I've noticed that there are commands that are listed in the API document for the Wiim mini that don't work with the Amp. I've not tested them extensively but for instance the following:

http://10.10.10.254/httpapi.asp?command=reboot

This does not work to reboot the Amp (it returns 'unrecognised command' or similar in the browser)

The Arylic API doc which looks to control Linkplay devices has a command that would be very useful in my automations:

/httpapi.asp?command=playPromptUrl:<url>

It lowers the volume and plays out a notification sound from the url specified. If that were available, I could use that when someone is at the door (or to warn me my wife is home when I'm playing a little loud ;))

Are there any plans to expand the API to be a little more useful for us Home Automation enthusiasts?
 
Can’t you use an Alexa integration such as a routine triggered by a virtual sensor in Hubitat?
I scrapped Alexa some time ago. Using the API keeps everything local and off the cloud. I'm probably able to achieve a similar result in other ways; I'll be able to pause and then maybe unpause clicking a virtual button on a dashboard. With that API command that Arylic does it would lower the sound/mute and play a sound file directly from the Hubitat storage.
 
Back
Top