Git Product home page Git Product logo

smair's Introduction

In order to prevent my home from getting robbed, I want to create a app which displays my windows and if they are opened, closed or angled. 

Smair_server:
  This is the server application, in my case running on a raspberry pi 3B+ on Ubuntu-Server 20.10.
  The server is a flask application which saves all windows, and window states to a mongoDB database. The data transfer uses the JSON format.
  
Smair_arduino_client:
  As the name says, is this the program running on the Arduino. On the first power up the Arduino sends a /heyThere/ request to the Server, which initialises a window object on the server.
  After that the Arduino sends every 2 seconds an update of its opening status to the server via the /updateStatus/ request. If the arduino misses out 5 updates, the server will mark the window with an Error
  That could be cause by low power of the Arduino for example.
  
  Hardware: 
  I use a arduino nano with an ESP8226-01 Wifi chip and a 6Y-521 Gyroscope
  
Smair_mobile_client:
  This is the iOS Application which serves as the user interface. It requests the information about all windows via the /windows/ request and displays it in a list. 

smair's People

Contributors

ericmiddelhove avatar iankirsch 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.