dustinrue/ControlPlane — Issue #64: modifier for rules: NOT
Author: iandennismiller
Created: 2011-10-23 04:09:32+00:00
State: open

I have a number of actions that I would like to fire when I am no longer in the "Home" context. I think this can be accomplished by including a "not" modifier for various rules.

I would say something like: "if CoreLocation NOT (x, y), then Context is 90% likely to be roaming". In that case, ControlPlane would switch out of the Home context to the roaming context, and my "leaving Home" actions would fire.

An alternative way to accomplish this would be through a "strictness" concept, which would imply the inverse if a rule is not met. A rule like, "strictly if wifi ID is blah, context is 90% likely to be home," would imply: "if the wifi is NOT blah, context is 10% likely to be home."