Dropbox Create a text file. Location You exit an area.

Pause Sonos when leaving home.

450
Connect

This recipe requires Hazel, SoCo Python library (https://github.com/rahims/SoCo) and a shell script to provide an integrated solution