Room level geofencing?

IVB

Senior Member
Anyone figure out a way to have Android know what room of the house they're in (without using motion sensors)? Ideally in a way Tasker can detect. Bluetooth is too powerful. 4 smartphones and people in the house, so knowing per device preferred.

I could do an NFC tap but that requires remembering.
 
Let me describe my goal, and maybe there's another option. I want context-sensitive voice recognition. I'd like to say "ok google lights on", or "ok google watching tv" and have my phone/tablet know what room i'm in and take the appropriate actions. Ideally there's no logic in tasker/phone beyond calling a CQC web url, so I can centralize my logic there. Tasker would need to know what room its in, then it would send the right command. (Ie, MBR-ON, HT-ON, LivRm-On)
 
I know its not much harder to specify the room, indeed I wonder if I'll have to do that if I can get multiple Amazon Echo's, but maybe not.
 
Well you know what my answer to that would be, use CastleOS and its built-in room awareness   :D
 
We hope to be able to do the same with the Echo, but until we meet with Amazon later this month I'm not 100% sure what's going to be allowed in the new SDK. 
 
Good luck.
I'm still too skittish based on my prior experience to use devices in unintended ways, I think I'll hold off on the kinect to see what you do with the echo. I wouldn't give up CQC as its got bidirectional rs232 or ip control for an insane amount of devices, but if there's a way to command to do something with an echo which is designed for this then I'm all ears.
 
put a few wifi APs around the house (maybe remove the antenna so that the range isn't so large or reduce output power level if using dd-wrt etc) use tasker's "wifi near" state and minimum signal level to triangulate your location. easier said than done :)
 
IVB said:
Good luck.
I'm still too skittish based on my prior experience to use devices in unintended ways, I think I'll hold off on the kinect to see what you do with the echo. I wouldn't give up CQC as its got bidirectional rs232 or ip control for an insane amount of devices, but if there's a way to command to do something with an echo which is designed for this then I'm all ears.
 
Our new API will be complete before Echo support most likely (in fact, before Amazon officially releases the SDK into the wild most likely), so a driver could be built for CQC as we discussed previously, likely solving your use case. 
 
ChrisCicc said:
 
Our new API will be complete before Echo support most likely (in fact, before Amazon officially releases the SDK into the wild most likely), so a driver could be built for CQC as we discussed previously, likely solving your use case. 
Cool. The echo will be here July 8th, I'm driving some aggressive deadlines for 7/31 but happy to check it out somewhere between 7/15-8/15.
 
Couldn't you do something with multiple bluetooth sensors and measure which one has the greatest signal?
 
MS units would be much simpler and probably cheaper and much more reliable. People already have problems with geofencing telling that they are home or not, reliably.
 
i think motion sensors will be your best bet.  you can get monoprice z-wave motion sensors for ~$20 i think, just put them everywhere.  ive thought about this (more than id like to admit), but if you can adjust the sensitivity correctly you can identify room by room presence with a lot of logic in CQC.
 
if sensor A then sensor B, wait 30s, write room1 occupied.  if sensor A then sensor B and room1 occupied, do nothing.  if room1 occupied if sensor B then sensor A, wait 30s, write room1 empty, write room2 occupied.
 
I wouldn't bother trying.  Reality is you don't always carry your phone.  Nor are you going to be willing to walk around with some kind of gizmo to track you.  
 
Having had an Echo for the past couple of months I can definitely say there's very little need for something location specific if there's a mic that can hear you.  Yet it's not ideal as there are times where you don't want to use voice recog (like later at night, or while others are sleeping). 
 
As for room traversing logic, again, there are enough times where you're back-and-forth often enough that it would be supremely annoying to have the lighting dancing back and forth trying to follow you.  
 
Motion sense tied to time-of-day definitely has merit when it comes to managing dim levels.  As in, don't bring up the master suite closet lights to 100% when it's after 11pm (lest ye wake the wife...)  
 
wkearney99 said:
I wouldn't bother trying.  Reality is you don't always carry your phone.  Nor are you going to be willing to walk around with some kind of gizmo to track you.  
 
Having had an Echo for the past couple of months I can definitely say there's very little need for something location specific if there's a mic that can hear you.  Yet it's not ideal as there are times where you don't want to use voice recog (like later at night, or while others are sleeping). 
 
As for room traversing logic, again, there are enough times where you're back-and-forth often enough that it would be supremely annoying to have the lighting dancing back and forth trying to follow you.  
 
Motion sense tied to time-of-day definitely has merit when it comes to managing dim levels.  As in, don't bring up the master suite closet lights to 100% when it's after 11pm (lest ye wake the wife...)  
Sorry, I wasn't clear.
1) We almost always have our phones, and at least on Android it can be in my pocket to trigger it.
2) I specifically don't want it to hear me from another room, I'd like to just say lights on. If it hears me from another room it won't know.
3) this isn't for true automation rules, rather manually instantiated via voice.

In general after going whole hog trying to define rules by which a middle-aged guy, no-not-middle-aged-wife, 9th grade girl, 6th grade girl, I've realized there are no rules. The best approach for my house is semiautomatic but manually executed rules, so driving that simplicity is as much as I can hope for.

Sounds like the tech isn't there yet.
 
OK, so it looks possible - just not sure about the voice part.  and yet another topic!
 
https://www.youtube.com/watch?v=O5--82HhzIc
 
IVB said:
Sorry, I wasn't clear.
1) We almost always have our phones, and at least on Android it can be in my pocket to trigger it.
2) I specifically don't want it to hear me from another room, I'd like to just say lights on. If it hears me from another room it won't know.
3) this isn't for true automation rules, rather manually instantiated via voice.

In general after going whole hog trying to define rules by which a middle-aged guy, no-not-middle-aged-wife, 9th grade girl, 6th grade girl, I've realized there are no rules. The best approach for my house is semiautomatic but manually executed rules, so driving that simplicity is as much as I can hope for.

Sounds like the tech isn't there yet.
 
I absolutely hate carrying my phone around when I'm in the house.  I don't like the weight of it nor the generated heat (to say nothing the constant close RF exposure, but that's a whole other thing, let's not wreck this thread with THAT).  
 
I agree with "semi-automatic but manually executed rules".  I'm more comfortable with telling a system what I want done, versus having to stop it from doing what I DON'T want done, all the damned time.  There's a ton of conditionals that come into play as well.  Per-person, time-of-day and duration of over-rides too.  
 
For example, the front porch light is on a motion sensor and for a majority of the time that's a great feature.  But as warmer weather arrives it's nice to be out on the porch swing.  This, of course, would be a great time for an over-ride.  Trouble is, how do you structure this to get what you want, without unintended side-effects.  Or handle motion sensors for outside lights when you have a party.  A party is easy enough, if your rules are structured to take it into account.  As in, I've detected motion, but party mode is set, so nevermind.  This works OK for a party, but seems a bit tedious when you just want to sit on the porch for a while and not have the lights keep coming on.  What's the right "user interface" for this?  Using the wall switch for this runs dangerously close to the very annoying way old-school motion sensors would work; making you turn it on-off-on in some magic-dance-sequence to put them into a mode.  But the sensor is close enough to the doors that it triggers when they're opened.  Now, should it?  Or should it err on the side of restraint and not turn on the lights unless motion outside was detected first?  Ok, so instead of automatically getting lights when you go out, you have to press the button first.  But how long should it wait before resetting it's motion detection?  Once you're out there and the door is closed, how long should it wait before resuming a normal 'outside motion triggers lights' mode?  
 
Now, before you think about using a voice recog system, remember you might not to be raising voices or having speaker responses at certain times.  As in, having the Echo responding at it's normal volume level would be annoying (waking children).  But if the VR system also ties into a touchscreen system then you've got potential to have one step in for the other, also based on rules.  
 
Anyway, lots of the pieces are starting to fall into place.  They're not all 'there yet' but lots of exciting potential is starting to come to fruition.  If you're good with the notion of lugging a phone around all the time then the Tasker Beacon might work.  Me, I'm holding out a little longer.
 
Back
Top