Coder Social home page Coder Social logo

davidgatti / iot-home-automation Goto Github PK

View Code? Open in Web Editor NEW
17.0 4.0 8.0 38.4 MB

๐Ÿ…ฟ๏ธ A simple project that uses a Particle to control a garage remote over the internet

Home Page: https://david.gatti.io

License: Apache License 2.0

Swift 23.70% Objective-C 75.93% C 0.37%
home-automation garage internet garage-door-opener

iot-home-automation's Introduction

Alt text

IoT-Garage-Opener

The problem: many people under on roof and just one remote for the garage. Solution? Connect the remote to the internets and write an iOS app to trigger the remote over the internet.

It started as a simple project ;) and now you can:

  • Store the whole history of open and closes thanks to Parse.com
  • Store the amount of uses
  • Store the state of the door
  • Detect if the physical remote was used, not yet saved on Parse.com

URLs

How to add seecrets to the project

Alt text

In this project we are usign Particle and Parse. Two products that have cloud based services. For authntication they use tokesn and IDs. For safte reasons I can't attach thoes secrets to the proejct. Thus the requirment of the Secrets.plist file.

The gif above shows you how to add key to the plist file.

For Particle you will need the following keys

  • ParticleToken
  • ParticleDeviceID

For Parse you will need the following keys

  • ParseAppID
  • ParseClientID

Save, compile and enjoy :)

The End

If you enjoyed this project, please consider giving it a ๐ŸŒŸ. And check out my GitHub account, where you'll find additional resources you might find useful or interesting.

Sponsor ๐ŸŽŠ

This project is brought to you by 0x4447 LLC, a software company specializing in building custom solutions on top of AWS. Follow this link to learn more: https://0x4447.com. Alternatively, send an email to [email protected].

iot-home-automation's People

Contributors

davidgatti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iot-home-automation's Issues

Convert Date String to NSDate

Displaying a raw string is lame, it is time to convert the string in to proper object so the app can display the date based on the system locale.

Add button press detection

We need to detect the physical button press on the remote to make sure we can have the most up to date state of the door garage.

The only missing part would be to detect if someone open the door manually, but right now this will be impossible with this configuration.

Make a Better Launch Screen

Make sure the launch screen is mimicking the actual working screen so the user thinks the app is launching way faster.

ID missing after registration

When the user registers for the firs time the idea wasn't saved because of the when the AppSettings singleton was fired the first time.

Store data in the cloud with Parse

Replace Particle storage with Parse storage to have permanent storage and also allow us to store the whole history of the garage door.

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.