A collection of Scriptable Widgets for the iOS Lockscreen (introduced in iOS 16)
- iOS 16 (or later)
- Scriptable app 1.7 (188) or later - still in beta until now!
- node-sonos-http-api installed e.g. on a raspberry pi
- copy the whole script source code (raw content of the desired *.js file)
- open the Scriptable app on your device
- click the "+" button on the upper right and paste the script code
- enter your node-sonos-http-api ip address and your desired room at the top of the sonos-display.sh script
- click on the title and choose a name (e.g. sonos-display)
- save the script and click "Done" on the upper left
- on your iOS Homescreen push long to get into "wiggle mode"
- while seeing your lockscreen, long press your display and click "edit" at the bottom
- choose an element beneath the clock and add a scriptable widget placeholder
- tap the placeholder to choose the script you just saved earlier
For the sonos-group-button script, you can assign this SonosBot shortcut to it by downloading the shortcut and then choosing "When interacting: Open URL". Insert this URL: shortcuts://run-shortcut?name=SonosBot
Many thanks to @simonbs who builds fantastic apps like Scriptable. And thanks to @Jishi for the extremely useful Sonos http api.
I have no affiliation with Sonos and built this just for fun on my free time. This is not an official product.
14.09.2022, 17:41
- initial release