This weekend I will release Sonos 2.0 to the Vera App Markplace for Vera Luup systems. If all goes accordining to plan, it will be approved and available sometime Monday. The openLuup version is still under development/test at this time.
The 2.0 version of the plugin will attempt (emphasize attempt) to do in-place upgrades of existing devices from prior versions, to avoid changing device numbers that would break scenes, Lua, Reactor, etc. This is as close to rocket science as anything I’ve ever approached in Luup, and I’m sure breaks a lot of rules. No guarantees it will work properly for everyone. But I have high hopes (that and a few dollars will buy you a cup of coffee in most cities).
The release notes are here: CHANGELOG
PLEASE NOTE: This version does not preserve settings, such as TTS configuration, when upgrading from 1.x to 2.0. Users coming from 1.x will need to redo their settings.
If you have “Auto Update” on for the Sonos plugin and you are OK with that update occurring automatically, there is nothing more for you to do, and you may stop reading here. We’ll see you on the other side.
If you wish to be in control of the update, you can turn “Auto Update” off and, hopefully, Vera will honor that and not update until you decide. Please note, however, that at some future date, the rather complex code used to upgrade from 1.x to 2.0 will be removed, so you may lose the upgrade path if you wait too long.
If you wish to do the upgrade now so it doesn’t happen unsupervised, you can force the upgrade manually any time before Monday. This is recommended for all users on any pre-release 2.0 version.
ONLY DO THIS IF YOU WANT TO MANUALLY UPGRADE You do NOT need to uninstall any current version of the plugin (and in fact, doing say may also delete your Sonos devices and require that they be re-created with new device numbers, which is what we’re hoping to avoid).
- Back up your Vera system (I always recommended backing up the ZWave network and including it in the backup as well);
- Request the following URL using the local IP of your Vera system:
http://your-vera-ip/port_3480//data_request?id=action&action=CreatePlugin&PluginNum=4226&Version=40082&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1
-
WAIT. Do not touch your Vera at all for at least 10 minutes. The upgrade process will reload Luup many times as device changes and upgrades must be performed incrementally. Be patient and do not interrupt the process.
-
After a ten minutes, hard refresh your browser. This is an important step. Your Vera and UI7 will get out of sync during this process, and this is how you get them back in sync.
-
If the system is still working on the upgrade, you will see messages to that effect either in the zone device dashboard cards or that of the master device. If it doesn’t look finished, repeat step 4 (hard refresh).
The upgrade is complete when the Sonos master device displays the number of Sonos zones, and each zone device shows a player icon, and possibly the name of the track at the head of any queue or playlist then in effect.