pascalopitz / unoffical-sonos-controller-for-linux

An Electron based linux app for controlling your sonos system.
http://pascalopitz.github.io/unoffical-sonos-controller-for-linux/
MIT License
553 stars 50 forks source link

Add ability to Enable Wi-Fi / Disable Wi-Fi like in the mobile app (re-request of #118) #132

Open ObeliskCo opened 3 years ago

ObeliskCo commented 3 years ago

Pascal,

I have 4 screenshots I can send you either via email or can add to the post if that is supported. Just lmk. Many thx for considering!

Charlie

So this might well be a request that not many are interested in, but I'll throw it out there anyway! Users and systems integrators used to have access to a rich command set using the unofficial web interface for Sonos products (http://:1400/). For example: we could reboot a device, check various status items, and best of all enable and/or disable the device's wifi interface. This command set has been drastically reduced to only some basic status checking, but for us systems integrators out there, the ability to enable/disable wifi from UnSoCo would be HUGE. The reason for this is that the correct way to install wired Sonos units is to disable wifi on them (some exceptions-- no flames pls!), and recently some Sonos updates have re-enabled wifi on devices that previously had it disabled, causing network loops and unhappy clients. In this scenario, it almost always requires a site visit to resolve because only the Sonos app can toggle wifi, and (1) walking a client through this can be undesirable and (2) connecting to the problematic Sonos devices reliably once a network loop has been created can often be impossible (requiring on-site power cycling of the devices individually in order to toggle the wifi, then proceed to the next devie, etc.). It would simply be AMAZING to have this feature re-accessible for remote support by having UnSoCo running on a RPi, which we often install as part of our standard network installations for various maintenance tasks. I would be happy to help in any way possible. Thank you for all you have done on this fantastic version of a controller. #

ObeliskCo commented 3 years ago

image

Steps: Select Settings from the "cog" icon at bottom right of app, then tap as shown in arrows/steps 1-4 in above picture to either Enable or Disable wifi.

If it helps, previously Sonos had permitted toggling of this setting via the web interface (http commands, no GUI), as follows, but this ability has been removed and replaced with the app-only steps instead, requiring one to be on-site (not even connected to the same LAN via VPN, for example) to do this: http://:1400/wifictrl?wifi=off http://:1400/wifictrl?wifi=persist-off (survives reboot) http://:1400/wifictrl?wifi=on