Giter Site home page Giter Site logo

homecontrol's Introduction

Home Control

Welcome home!

Home Control is home automation app for iOS, built in Swift. You probably won't have much luck simply forking this project for your own use. There's a lot going on, and it's all built for my own custom hardware and room layout!

Screenshot

I'm working on documenting this project in a series of blog posts, and this repo will be provided as a jumping off point for anyone interested in starting their own app. In the meantime, you can contact me @mbcharbonneau on Twitter.

Services

Parse is the data backend and push notification service that lets the app talk to hardware via the Internet.

IFTTT provides a maker channel for controlling home automation hardware through an HTTP call.

Hardware

Arduino YΓΊn is the house's main controller. It gathers data from several hardware devices on the local network, and sends it up to Parse.

iBeacons provide highly specific indoor positioning. For instance, knowing when you set your phone on the nightstand when it's time for bed.

Belkin WeMo devices allow the app to control lights and appliances.

Building

You'll have to provide a few constants and API keys before you can compile. Here's the format you'll need:

struct Configuration {
    struct Parse {
        static let AppID = "";
        static let ClientKey = "";
    }

    struct IFTTT {
        static let ClientKey = "";
    }

    struct MonsterPit {
        static let Location = CLLocationCoordinate2D(latitude: 0.0, longitude: 0.0)
        static let BeaconUUID = ""
    }
}

... but even then you won't see anything unless you already have data in Parse. Take a look at RoomSensor.swift and SwitchedDevice.swift for more info.

homecontrol's People

Contributors

mbcharbonneau avatar

Stargazers

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