Package: automate-sonos-plugin
automate-sonos-pluginTheSonosplugin for theautomate-home project.Yaml examples of usageTrigger and command for asound player model.-!Performername:"forcedon/offtriggers"for appliance:"asoundplayer"commands:[]triggers:-!soco_plugin.trigger.play.Triggeraddresses:["Bagno"]events:-!home.appliance.sound.player.event.forced.Event.On-!soco_plugin.trigger.stop.Triggeraddresses:["Bagno"]events:-!home.appliance.sound.player.event.forced.Event.Off-!soco_plugin.trigger.pause.Triggeraddresses:["Bagno"]events:-!home.appliance.sound.player.event.forced.Event.Off-!soco_plugin.trigger.volume.Trigger{addresses:["Bagno"]}-!Performername:"sonoscommands"for appliance:"asoundplayer"commands:-!soco_plugin.command.pause.Command{addresses:["Bagno"]}-!soco_plugin.command.playlist.Command{addresses:["Bagno"]}-!soco_plugin.command.volume.absolute.Command{addresses:["Bagno"]}-!soco_plugin.command.mode.Command{addresses:["Bagno"],fields:{"mode":"SHUFFLE"}}-!soco_plugin.command.play.Command{addresses:["Bagno"]}triggers:[]-!Performername:"fadeinoroutcommand"for appliance:"asoundplayer"commands:-!soco_plugin.command.volume.ramp.Command{addresses:["Bagno"],fields:{"ramp_type":'SLEEP_TIMER_RAMP_TYPE'}}triggers:[]-!Performername:"sonosrelativevolumeupthroughknxdimmingbutton"for appliance:"asoundplayer"triggers:-!knx_plugin.trigger.dpt_control_dimming.step.up.Trigger{addresses:[0x0C09]}commands:-!soco_plugin.command.volume.relative.Command{addresses:["Bagno"],fields:{"delta":10}}-!Performername:"sonosrelativevolumedownthroughknxdimmingbutton"for appliance:"asoundplayer"triggers:-!knx_plugin.trigger.dpt_control_dimming.step.down.Trigger{addresses:[0x0C09]}commands:-!soco_plugin.command.volume.relative.Command{addresses:["Bagno"],fields:{"delta":-10}}-!Performername:"alarmswitchon/offplayerwhenarmed/unarmedalarmsystem"for appliance:"asoundplayer"commands:-!soco_plugin.command.play.Command{addresses:["Bagno"]}-!soco_plugin.command.pause.Command{addresses:["Bagno"]}triggers:-!knx_plugin.trigger.dpt_switch.Onaddresses:[0xA1C,]events:-!home.event.presence.Event.Off-!knx_plugin.trigger.dpt_switch.Offaddresses:[0xA1C,]events:-!home.event.presence.Event.On-!Performername:"forcecircadianrhythmthroughknxscenebutton"for appliance:"asoundplayer"commands:-!soco_plugin.command.playlist.Command{addresses:["Bagno"]}-!soco_plugin.command.volume.absolute.Command{addresses:["Bagno"]}-!soco_plugin.command.play.Command{addresses:["Bagno"]}triggers:-!knx_plugin.trigger.dpt_scene_control.Activateaddresses:[0x0B0F]number:15events:-!home.appliance.sound.player.event.forced.Event.CircadianRhythm-!Performername:"unforcecircadianrhythmthroughanotherknxscenebutton"for appliance:"asoundplayer"commands:-!soco_plugin.command.pause.Command{addresses:["Bagno"]}triggers:-!knx_plugin.trigger.dpt_scene_control.Activateaddresses:[0x0B10]number:16events:-!home.appliance.sound.player.event.forced.Event.Not-!Performername:"forceon/offthroughknxstart/stopbutton"for appliance:"asoundplayer"commands:-!soco_plugin.command.pause.Command{addresses:["Bagno"]}-!soco_plugin.command.playlist.Command{addresses:["Bagno"]}-!soco_plugin.command.volume.absolute.Command{addresses:["Bagno"]}-!soco_plugin.command.play.Command{addresses:["Bagno"]}triggers:-!knx_plugin.trigger.dpt_start.Startaddresses:[0x0C09,]events:-!home.appliance.sound.player.event.forced.Event.On-!knx_plugin.trigger.dpt_start.Stopaddresses:[0x0C09,]events:-!home.appliance.sound.player.event.forced.Event.NotDocumentationautomate-home protocol commands/triggers chapterautomate-sonos-plugin documentationContributingPull requests are welcome!LicenseThe automate-sonos-plugin is licensed under MIT.