Rudism
Member
- Joined
- Sep 25, 2024
- Messages
- 7
I mostly use LMS to play audio on my Wiim Pro. Occasionally LMS loses its connection or ability to see the Wiim Pro, and the only way to get things working again seems to be to reboot the Wiim. I can do this via the Wiim Home app, or by manually unplugging and re-plugging the Wiim Pro's power, but I am wondering if there is a way I can do that from my Linux desktop that doesn't require a separate Android/iOS device or physical access to the Wiim's power cord. I have a Wiim remote, but using the power button only puts the Wiim into sleep mode and doesn't fix the LMS connectivity problem. Also restarting the LMS server doesn't fix it either--rebooting the Wiim seems to be the only fix.
Checking this API doc https://www.wiimhome.com/pdf/HTTP API for WiiM Mini.pdf it seems that there should be a `reboot` command, but it doesn't work for me (the Wiim Pro responds with `unknown command` when calling `https://{ip}/httpapi.asp?command=reboot`). I could possibly run the Windows Wiim Home app using wine, but that's a little complicated to set up and maintain just for the purposes of wanting to occasionally reboot. Anyone got any solution for this? Does the Wiim Home app use some kind of undocumented API that could be manually called somehow to trigger a reboot?
Checking this API doc https://www.wiimhome.com/pdf/HTTP API for WiiM Mini.pdf it seems that there should be a `reboot` command, but it doesn't work for me (the Wiim Pro responds with `unknown command` when calling `https://{ip}/httpapi.asp?command=reboot`). I could possibly run the Windows Wiim Home app using wine, but that's a little complicated to set up and maintain just for the purposes of wanting to occasionally reboot. Anyone got any solution for this? Does the Wiim Home app use some kind of undocumented API that could be manually called somehow to trigger a reboot?