ControlPlane
ControlPlane copied to clipboard
Struggling configuring automatic context switching properly
I am sure I am somewhere missing the simple, obvious solution:
I have 3 locations: Automatic (never use it), Home and Work.
- For Work the rules are: (1) Thunderbolt link needs to be active and (2) IP address needs to be 172.16.0.98/255.255.255.255
- For Home the rules are: (1) IP address needs to be 172.16.0.3/255.255.255.255
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?
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.