You do NOT want net location, as it can be HUNDREDS of miles off. Unless your commute is very long, in which case I see why you want to send your wife automated SMS
Use CellIDs, but you'll have to do a bit of training or you'll get false positives if it jumps on a tower ID it doesn't recognize. But if you're in the car, you might as well do GPS location. In my experience even polling GPS every 10m has VERY little impact on my battery life (on top of the other stuff I have going anyway, I see no difference).
How you do the "not on holidays" part will be interesting... A cascading task of STOP IF's I suppose?
I thought net based positioning was accurate within a kilometre or two? In which case I would have thought it would be fine. Either way I think I am better off to trigger it with a exit-work variable between certain times, and say if speed goes above 10KM/h?
I guess you're right, GPS scanning is fine as it doesn't activate unless the less power hungry ones aren't triggered anyway, like say a variable? Then I could use another variable to switch it off until the next day - so
1) leave work - clear 'work' variable - set 'leftwork' variable.
2) on the way - triggered if 'weekday' is set - 'work' is cleared and 'leftwork' is set after 3pm AND moving above 10km/h? AND 'sent' is not set? 'Leftwork' stops it triggering if I am home sick that day and haven't been in to work - set 'commute' - set 'sent' - 'sent' then stops it from triggering again or wasting power scanning for location.
3) Approaching home triggered if 'commute' is set - send message - clear 'commute' - this then stops it from triggering again or wasting power scanning for location.
Only variable still set is 'sent' - so I could clear that the next morning in my 'morning' profile that runs every morning depending on whether it's a weekday or weekend / public holiday.
As for how I detect public holidays, Barry Meade in Australia maintains a public holidays calendar with the state in the location field, so I set the phone to scan that calendar for my state in the location field. Would this take much power though?
I guess there are public google calendars for other countries / religions etc too.
I've got a nifty message that tells my wife I'm coming in for landing at speed and altitude.
Would be fun to put a check in there - if altitude > ground level + 500m then that means I'm flying so send message 'I won the lottery pack your bags hon!' haha..
On another note, I have now set a 'sleep' mode that just silences the phone and turns off mobile data with APNdroid - it's easier than airplane mode and also saves a heap of power (mobile data just kills the battery), then turns mobile data back on again in the morning and syncs everything and makes lots of noise, except on weekends or public holidays in which case it won't be until after 9 or 10am because I may be sleeping or just don't care until that point.
For 'weekend' I have used a range of profiles based on Friday night, Saturday and Sunday day and Saturday night, because Sunday night is a 'school night' so I want the phone to wind down on Sunday night, but not Friday or Saturday night, but also not fire up in the morning on Saturday or Sunday morning.
This seems complex but it also seems like a pretty common requirement so if this approach seems ok I will submit the profiles to the Wiki as they should work for anyone.