dustinrue / ControlPlane

ControlPlane - context-sensitive computing for OS X
http://www.controlplaneapp.com
BSD 3-Clause "New" or "Revised" License
1.76k stars 180 forks source link

Struggling configuring automatic context switching properly #413

Open magicdude4eva opened 9 years ago

magicdude4eva commented 9 years ago

I am sure I am somewhere missing the simple, obvious solution:

I have 3 locations: Automatic (never use it), Home and Work.

At Home I always connect to Wifi and at Work I typically connect to Thunderbolt Ethernet.

When I arrive at Home, ControlPlane will reliable switch to the Home context.

When I arrive at Work and plug in the Ethernet cable, ControlPlane never switches and I need to manually force context. Any idea why this is?

dustinrue commented 9 years ago

IP based rules can be finicky so I suggest ditching that approach. Instead, focus on other unique properties of each location. Do you use an external monitor at work? How about a specific power adapter? Do you only ever use the thunderbolt adapter at work? Use just one evidence source to place you at work.

For the home context just use the wifi evidence source tied to either the SSID if you use multiple access points or the BSSID if you only have one.

Tell ControlPlane that the "Automatic" context is your default so it has a state to move to when neither work nor home contexts apply.