This plugin is still under development, please remain calm.. 😎
pimatic plugin for controlling the Sonos Music Player.
device config example:
device rules examples:
if smartphone is present then play sonos-player
if smartphone is absent then pause sonos-player
if buttonVolumeLow is pressed then change volume of sonos-player to 5
if buttonNext is pressed then play next song Music
if buttonPrev is pressed then play previous song Music
Currently no predicates for the sonos plugin. If you would like to do something when the state changes u could use the attribute predicate.
if $sonos-player.state equals "play" then switch speakers on
if $sonos-player.state equals "pause" then switch speakers off
if $sonos-player.currentArtist equals "rick astley" then switch speakers off
if $sonos-player.currentTitle equals "coco jambo" then change volume of sonos-player to 20