Giter Site home page Giter Site logo

gatekeynotifier's Introduction

GateKeyNotifier

This is the repository for a companion notification device for my GateKey system. GateKey sends notifications to my phone when people enter the complex gate, but I'm not always with my phone. The notifier runs on an ESP32 with a connected speaker and RGB LED and makes noises to make sure I notice visitors.

Check out this video for a demo:
Text

Getting started

You'll need:

Solder up the speaker to any pins that support analog output. When the two were wired to the same ground pin, I encountered some audio interference, so I'd recommend using separate pins.

In main.cpp configure:

  • The three LED pin numbers
  • The speaker pin number
  • Your GateKey server's address (if you're using managed GateKey, that'll be http://brydonleonard.com/register_device)
  • Your WiFi name
  • Your WiFi password

That's it! Once plugged in, the device will begin the handshake with GateKey.

Built with

Mosquitto Arduino Espressif

Connecting devices to GateKey

See the GateKey README for more info on the device registration flow and API.

GateKey uses passworldess device registration to add devices to households. Once connected to the internet, this code will make requests to the configured GateKey server to register the device. A user in the desired household then requests the device via their Telegram app, closing the registration loop. The device is then issued with a set of credentials and an MQTT topic to which notifications are published whenever the gate opens.

License

Distributed under the MIT License. See LICENSE for more information.

gatekeynotifier's People

Contributors

brydonleonard avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.