Sonos tv trigger

I use the harmony hub. It detects when activity is started or stopped. That way I control de sonos speakers, kichen speaker muted surround speaker muted, sonos play volume 15 etc. Stop tv watching, unmute, volume 8 sonos playbar etc etc. Works like a charm.