Sonos - setting options for devices

There are a couple options, depending on whether you care if it is local or if cloud-based is acceptable.

If you require local, the best option in my opinion is to run the node-sonos-http-api in a Node.js instance. There are many options for this, but I use Raspberry Pi. I created a driver to make it easier to interact with from Hubitat, and adding the nightmode and speechenhancement functions would be no problem. Some other users just interact with the node API directly from Rule Machine for simple functions.

If you want something easier to set up and don't mind a cloud reliance, the Sonos cloud API also supports those functions. I wrote a Hubitat app to do the authentication and token management, which would make it relatively quick to add a Hubitat driver to access the various APIs. But I haven't put much effort into that driver yet because I prefer the non-cloud option. But I would be willing to add this functionality and release my cloud driver if you would be willing to test it.

FYI @msbc