Next school year, my son will be left home after school for a few hours while my wife and I are at work. I’m looking for a way to detect when he’s home and have the front door unlock (among other automation scripts that are in place).

I came across this post and was going to get the Tile Pro as it seemed to check off all my requirements:

  • I could put it in his backpack where it can be forgotten.
  • long battery life.
  • Through the Home Assistant integration, it can trigger when it gets in range.
  • It also has a few other beneficial things, so I was thinking of putting one on each of our bicycles in case they’re ever stolen. Hell, I could look into putting one on my cat’s collar in case she ever gets out.

Then I came across some concerning articles regarding data harvesting. The whole reason I started self-hosting was to prevent data harvesting, so it seems like the Tile is a non-starter for me.

Has anyone been in this (or a similar) situation? Mainly, I’m looking for a device I can put in my son’s backpack that can trigger when he’s within range, so the house will open for him. BLE seems like it might be a solution, though I run my server on an old Dell r720 enterprise server in my basement, so I don’t currently have Bluetooth functionality (and it’s pretty far away from the front door, 20+ feet), though getting that is not a dealbreaker for me.

  • Addendum: To people saying just get a key: we have a key for him. I have a monolith sized server in my basement that automates most everything in my house these days, and was curious if anyone had set up something similar to what I was thinking. Home automation is very much a hobby, and I’m using it to learn new things.
help-circle
    • @[email protected]
      link
      fedilink
      English
      02 months ago

      A logical solution. My guess is this kid has lost keys before. OP wants a way the kid doesn’t need to be responsible.

      • Hello_there
        link
        fedilink
        102 months ago

        Fasten the key to the inside of the backpack in a way that doesn’t come off. Kid is going to have their backpack.

      • @[email protected]
        cake
        link
        fedilink
        English
        62 months ago

        Kids lose stuff like keys. Adults lose companies, their minds, and other such things. Leave the kids alone

  • @[email protected]
    link
    fedilink
    English
    212 months ago

    Definitely make sure you think through all the physical security implications of having your house automatically unlock in any scenario.

    Have the house auto unlock when getting home on a bicycle, sounds convenient until, as you point out, they could get stolen and now the thief has a convenient way to unlock your house. So you would not want that.

    You would definitely not want the house to STAY unlocked when something like a tag is in range. If your kid is home alone, you want them to be able to re-lock the house (or in general, you want to be able to lock your house while the kid is home).

    Whatever solution you wind up with, you are going to be trading physical security for ease of use (and complicated fun task). Be safe. Make sure the tradeoffs are actually thought through and worth it.

    • @[email protected]OP
      link
      fedilink
      English
      52 months ago

      Very good point that I hadn’t given though to. Thanks!

      • @[email protected]
        link
        fedilink
        English
        12 months ago

        Or you know, he’s gonna brag to friends who are gonna talk about it and backpack is now key (that a lot of people know about) to a house probably filled with expensive gadgets.

  • GreatAlbatrossM
    link
    fedilink
    English
    162 months ago

    Security wise, while I love automating everything, I personally would just give them a physical key to the front door. (Or an RFID keyfob system).
    What you’d be achieving is the equivalent of keyless car entry, with the additional downside that your son can’t choose not to open the door if something sketchy happens.
    And instead of entrusting them with a traditional key that they can treat responsibly, you’re just putting something in their backpack that they don’t have to think about.

    If you really want to do it, basically anything in homeassistant that has wireless capability and a state would probably work.
    A zigbee radio, and pretty much any device doing anything would do it.
    When device_name becomes available, activate door opening.

  • frustrated_phagocytosis
    link
    fedilink
    142 months ago

    So they are old enough to be home alone, but not have phone access in their home? What’s the plan for if they need to call out of the house? Go somewhere else and borrow a rando’s phone?

    • @[email protected]OP
      link
      fedilink
      English
      82 months ago

      We have a “landline” (3rd cell phone). He’ll be going into 5th grade (age 10 for non-Americans). He’s not allowed to have a cell phone at school. I also don’t want it lost. This will be for an hour or so before my wife gets home.

      • @Mouselemming
        link
        English
        22 months ago

        It’s possible that the school would allow him to drop off a phone in the front office every morning and pick it up before walking home. Depends how nice you are to the office ladies, but that’s always a good idea anyway because they’re more powerful than you can imagine. (Some school office staff may not be ladies these days but the principle still applies, and in elementary school most probably still are.)

    • @[email protected]
      link
      fedilink
      English
      32 months ago

      I assume there is a land line in the house, some people still have those.

  • SolidGrue
    link
    fedilink
    English
    122 months ago

    Either an ESP32 BLE proxy via MQTT with a Tile-like beacon in the backpack, or a cipher lock with a Kid Code are probably the most straightforward solutions.

    If you have Frigate NVR set up, there’s a project called Double Take that does facial recognition. Looks like a bit of work and needs training, but it could be a fun project.

    • @[email protected]OP
      link
      fedilink
      English
      22 months ago

      I do run Frigate! I’ll have to check that out. I actually found a project for Frigate that identifies birds. It’s an incredibly powerful program.

  • Odious
    link
    fedilink
    English
    102 months ago

    Are you comfortable with flashing microcontrollers? https://esphome.io/components/bluetooth_proxy.html might be a solution to your BLE beacon idea. buy any esp32 board for like 5$, put it somewhere in your living room or wherever makes sense and have it proxy BLE scans to HomeAssistant.

    • @[email protected]OP
      link
      fedilink
      English
      22 months ago

      While I’ve never messed with an esp board, it’s something I was planning on learning in order to create a few other things, so this might be the best time to start.

    • @Galapagon
      link
      English
      12 months ago

      Would you still use the tile at that point?

      • Odious
        link
        fedilink
        English
        12 months ago

        If you really just want to know if the kid (or better, the ble tag) is at home, then no - I’d probably use any other ble beacon (iBeacons are cheap on Ali)

        Afaik, Tile tags work somewhat like AirTags and are trackable wherever they are. If you want/need more precise location information then I’d stick to Tile.

  • @[email protected]
    link
    fedilink
    English
    92 months ago

    Maybe you can go a bit lower tech. There are “smart” door locks with a keypad that have Bluetooth, but are not otherwise cloud enabled. Then find a small device you can use as a Bluetooth proxy and position it near the front door, to keep tabs on it. Our lock is from Kwikset, and while there is an app to program it, once it is programmed it is pretty much stand-alone and won’t need the app anymore.

    The lock does have Home Assistant integration but I haven’t tried it yet because I haven’t done the Bluetooth Proxy yet.

    • @[email protected]OP
      link
      fedilink
      English
      52 months ago

      Yeah, I have an August lock right now. That one is nice because I can keep the out-facing lock the same, so people like my father-in-law don’t get flustered. Ultimately, I’m trying to solve this in the most complicated way possible for me. I could just give him a key, but where’s the fun in that?

      What you mentioned with the proxy is probably the way I’ll have to go.

      • @[email protected]
        link
        fedilink
        English
        6
        edit-2
        2 months ago

        This lock has a keypad, so the kid just needs to remember that. It has a key also, but if the kid never has the key, they can never lose it.

      • Synestine
        cake
        link
        English
        3
        edit-2
        2 months ago

        Does your August lock allow multiple codes? I’ve got a Quickset keypad deadbolt that does, and that allowed me to set a code I gave my neighbor, and the lock reports which code was used. If yours does something similar, you can give kiddo a separate code, then when that code gets used after school, the house does the needful. No key to lose or tag to track that way.

    • @[email protected]
      link
      fedilink
      English
      42 months ago

      I got the Eufy S330 doorbell/keypad lock. The kids have their own pin and can lock/unlock without a key. I get notifications when they use it and can remotely lock/unlock via my phone. It’s been fantastic for us.

    • @[email protected]
      link
      fedilink
      English
      6
      edit-2
      2 months ago

      Gotta love techno maniacs, suggesting implanting a microchip on your child is somehow a reasonable suggestion. Have people heard of keys? buttons? hell, even Bluetooth tags?

      If the kid is old enough to stay at home alone for a few hours, they’re probably old enough to have and operate a key and push a couple of buttons on a touchscreen or tablet.

        • @[email protected]
          link
          fedilink
          English
          -6
          edit-2
          2 months ago

          No, you see. One of the requisites of jokes is that they have to be funny. Because I assure you, OC isn’t joking.

    • @[email protected]
      link
      fedilink
      English
      52 months ago

      Unless you put the reader in the doorknob, that’s not going to do you any good. The range on those things is a fucking disgrace.

      • Avid Amoeba
        link
        fedilink
        English
        02 months ago

        Maybe go with a longer range RFID and implant it somewhere visible so there’s less signal attention from clothes and such.

        • @[email protected]
          link
          fedilink
          English
          12 months ago

          Yeah, and ideally you would want it up high as well. Maybe like a hat or in the forehead.

          • Avid Amoeba
            link
            fedilink
            English
            11 month ago

            Yeah that would be ideal. Only concern is if there would be enough skin to cover it.

  • @[email protected]
    link
    fedilink
    English
    82 months ago

    Honestly I’d just go low-ish tech and give them a key, or install a lock with a keypad and teach them a number. The security problems with automatic smart locks are too big, in my opinion.

  • @[email protected]
    link
    fedilink
    English
    82 months ago

    I’ve been thinking about exactly the same problem.

    We want to give our near-10yo daughter her first phone, but she’s not allowed to have it at school. She’s also getting to the point where she can be trusted at home for an hour or so before one of us gets home from work, so I also need a presence detection method that doesn’t use a mobile phone.

    My best theoretical solutions are like those already suggested here: an ESP32 BT proxy detecting a homebrew BLE beacon in her school bag, or detect activity on her iPad/the TV. But neither of those are reliable for all scenarios - she obviously doesn’t take her school bag to her friend’s house, and doesn’t always use her iPad or the TV.

    The only other thing I’m pondering is if I could setup facial recognition using our video doorbell. I use Frigate with a Coral TPU, so hoping there’s a project out there that could possibly do that.

  • @VirtualOdour
    link
    English
    52 months ago

    Latchkey kids of the 21century have it worse than the originals, parents not there for them but now they’re also helicopter parents spying on them and controlling their actions remotely. I guess we should call them drone parents.

  • @[email protected]
    link
    fedilink
    English
    4
    edit-2
    2 months ago

    Perhaps don’t do it directly. But have the system assume he is home based on various things. Motion sensors, media playing, lights on or changing states. Things like that.

    • @[email protected]
      link
      fedilink
      English
      42 months ago

      Hard to unlock the house based on media playing if the kid is outside though.

  • @[email protected]
    link
    fedilink
    English
    4
    edit-2
    2 months ago

    A fitness band will have low power Bluetooth you can detect. You can get a miband for $20-30. You can detect it with one or two $5 esp32 boards running espresense.

  • @[email protected]
    link
    fedilink
    English
    4
    edit-2
    2 months ago

    Just get an Apple Airtag and have him carry it around in his pocket (just make sure he doesn’t leave in there it so it doesn’t accidentally get washed). If you need to see if he’s at home just check it’s location with your phone. Place it on a keyring with a house key.

    • @[email protected]
      link
      fedilink
      English
      12 months ago

      But to automate the front door unlocking, it needs to be detectable from HA. Which I believe is possible, but requires a macOS machine to extract the necessary rolling code key information.

  • Rentlar
    link
    fedilink
    English
    2
    edit-2
    2 months ago

    Disclaimer I don’t know the ins and outs of HA nor have I used it.

    I’m not sure if you have the automatic lock/unlock part figured out but that’s the part I can’t help with.

    In terms of detecting when kid comes home, some ideas:

    A low power esp32 board coded to connect to your home network, then if the device name or MAC address is discovered on the network, or have the device send a message every 10 seconds or when a button is pressed.

    NFC card and reader in front of the door, can be “hard wired” rather than over wifi if you prefer. The card doesn’t run out of battery but access still can be assigned or revoked if lost.

    A passcode: many hardware store doorlocks offer this, if the main problem is your kid losing keys. Then just do automation inside the house as you see fit from motion detectors or whatever your heart desires.

    E: a few people ITT don’t like to have fun thinking of ideas how to use home automation, even if it’s unnecessary.