Photon Door Lock Swaps Keys for a POST Request

At this point we’re all well aware of the fact that there is some inherent danger involved when bringing “things” onto the Internet. Nobody wants to come home to a smoldering pile of ruble because their Internet connected toaster oven decided to get stuck on “Hades.” But even with the risks, occasionally we see projects that prove at least some intrepid hackers are managing to navigate the Internet of Things to solve real-world problems.

[Daniel Andrade] writes in to tell us about the Internet controlled entry system he’s setup at his new apartment, and while we imagine it’s not for everyone, we can’t deny it seems like it has improved his quality of life. Rather than giving all of his friends a copy of his key, he’s setup a system where anyone who has the appropriate link can “buzz” themselves in through the building’s existing intercom system.

Thanks to the old-school intercom setup, the hardware for this project is simple in the extreme. All [Daniel] needed was a relay to close the circuit on the door buzzer, and a way to fire it off. For his controller he chose the Photon from Particle, which is perhaps a bit overkill, but we all tend to work with what we’re personally comfortable with.

Most of the work went into the software, as [Daniel] ended up coming with two distinct ways to control the door lock over the Internet. The first method uses Blynk, which allows you to create slick visual interfaces for mobile devices. His second version is controlled with a POST request to a specific URL, which he likes because it gives him more flexibility as to how he can interact with the lock. Currently he has a simple web page setup that lets friends and family open the door by just clicking a button.

We’ve seen a similar setup using the Photon to open a garage door, and plenty of people have taken to using Blynk to control their home automation setups. All the tools are available for you to roll your own IoT gadgets, you just need to figure out what to do with the things…

18 thoughts on “Photon Door Lock Swaps Keys for a POST Request

  1. ” Rather than giving all of his friends a copy of his key” – who does this???? One close family member, apart from my spouse, has a spare set of keys for my house. If they used them regularly I would ask them not to. Ring the bell or knock; ring me first if you want to make sure I’m in.

    1. “” Rather than giving all of his friends a copy of his key” – who does this????” I do this. We have close friends that we trust. They also have the Alarm code to disarm the security system. We know they will not use it unless we ask them to do so and it comes in handy when we are going to be away from the house for longer than expected (for the pets) or if we go out of town.

      We have considered getting an electronic locking system, but they are too insecure at the moment to be trusted.

      1. Well I’d add specific certificates for each “friend” so that it can authenticate the request.
        Also add a notification that the system has unlocked
        How is he opening his door? as well.
        You could add a timer to set off another notice if someone enters building via his system but fails to enter his apartment in x time.

    2. He explains it in the video.
      He has a lot of friends coming to visit him during the summer, and there’s an issue with the lock so that it’s difficult to unlock if you don’t know the lock.

      It will also remove the hazel of handing out keys and remembering to get them back.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.