Before I delve deeper, does anyone know if the Save or SaveAll channels are supposed to save the Group membership and Restore or RestoreAll restore them?
I’ve made a test item that will trigger the rule below and I’ve put some sleeps in to see if there is any timing issue. I’ve tried binding one of Sonos things SaveAll and also tried just calling Save/restore on each of the Sonos devices.
turning debug on in the karaf console for org.openhab.binding.sonos doesn’t seem to add any extra info
rule "Testing"
when
Item TestSwitch received command
then
logInfo("TEST", "TESTING")
SonosSaveAll.sendCommand(ON)
Thread::sleep(1000)
SonosMaster_StandAlone.sendCommand(ON)
Thread::sleep(500)
SonosMaster_Add.sendCommand("RINCON_B8E937DD8A2801400") // kitchen
SonosMaster_Add.sendCommand("RINCON_5CAAFD2C5D6401400") // master bath
Thread::sleep(10000)
SonosRestoreAll.sendCommand(ON)
logInfo("TEST", "TESTING Done")
end