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.
  • bisby@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    7 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.

      • Benaaasaaas@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        7 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.

  • GreatAlbatross@feddit.ukM
    link
    fedilink
    English
    arrow-up
    16
    ·
    7 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@fedia.io
    link
    fedilink
    arrow-up
    18
    arrow-down
    3
    ·
    7 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?

    • meleecrits@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      2
      ·
      7 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@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 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.)

    • Tolookah
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      7 months ago

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

      • DeltaTangoLima@reddrefuge.com
        link
        fedilink
        English
        arrow-up
        9
        ·
        7 months ago

        Don’t be a dick, mate. Engage just a little bit of critical thinking before calling people names like that.

        By law where I am, our kids aren’t allowed to have their phones at school. My daughter’s school’s policy, then, is that phones are left at the school office.

        We want to give our soon-to-be 10yo daughter her first phone later this year (times with a planned family trip, so it can be her new camera as well). But if she takes it to school and has to leave it at the office, I can guarantee she’ll absolutely forget on more than one occasion to pick it up before coming home.

        So, her phone will have to stay home. But we’re also getting to the point where she can be trusted to let herself in and wait for one of us to get home (like OP, maybe an hour or so). So a presence detection option can’t be based on whether the phone has moved into the geo zone in HA.

        This is a legitimate question for modern parents. Denigrating OP without knowing or understanding all the facts certainly does shine a light on ignorance at play here. Just not OP’s ignorance.

  • SolidGrue@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    7 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.

    • meleecrits@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 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.

    • meleecrits@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      7 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.

      • Odious@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 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.

  • dhork@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    7 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.

    • meleecrits@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      7 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.

      • dhork@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        7 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@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        7 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.

    • AstridWipenaugh@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 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.

  • DeltaTangoLima@reddrefuge.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    7 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.

    • dustyData@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      2
      ·
      edit-2
      7 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.

    • vzq@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      7 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@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        7 months ago

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

  • retrieval4558@mander.xyz
    link
    fedilink
    English
    arrow-up
    8
    ·
    7 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.

  • VirtualOdour@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    4
    ·
    7 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.

  • brygphilomena@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    7 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.

    • bisby@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 months ago

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

  • Gork@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    7 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.

    • NightAuthor@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 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.

  • roofuskit@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    7 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.

  • Rentlar@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 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.