I've moved from the built-in Sonos integration to Sonos Advanced Controller, and I'm looking for the accepted way to re-point a large number of rules without editing each one by hand.
Background, briefly: I renumbered my LAN from 192.168.1.x to a 10.x scheme. The built-in Sonos integration's child devices never recovered, because their Device Network IDs are the hex-encoded old IP addresses (one of mine still reads C0A801A5 = 192.168.1.165). The DNI field is read-only on child devices, the driver's set-IP command failed silently, and re-running discovery in the integration app never refreshed them. Sonos Advanced Controller sidesteps this entirely — it keys on the player's MAC/RINCON rather than the IP — and after updating it via HPM, it created working players immediately. So the migration itself is the right move; I just need my rules to follow.
The problem: Settings → Swap Device lists essentially every device on my hub except the Sonos ones — neither the old built-in devices nor the new Advanced ones appear in the left-hand (device to change) dropdown. Selecting a device on the left does correctly filter the right-hand list, so the tool is working; it simply doesn't offer these as candidates.
What I've already checked:
- The old devices are enabled (I had disabled some earlier to quiet log noise; re-enabling didn't make them appear).
- Their In Use By tabs still list the rules that reference them, so the references are intact — this isn't a case of orphaned IDs after my restore.
- Both sets are app-created child devices, which is my current guess at why they're excluded. Hand-made virtual devices do show up.
Questions:
- Is Swap Device intended to work only with radio-paired devices, and app-managed LAN child devices are simply out of scope? If that's by design, no complaint — I'd just like to know.
- Is there another supported or community way to bulk-migrate rule references from one integration's devices to another's? This seems like it would be a common need, given how many people move from the built-in Sonos integration to Sonos Advanced.
- Failing that, is there anything smarter than opening each rule and re-selecting the device, other than working from each old device's In Use By list?
I'm prepared to do it manually if that's the answer — I'd just rather not discover afterward that there was a tool for it. Platform 2.5.1.152, C-8 Pro.