Giter Site home page Giter Site logo

garage-door-opener-ble's Introduction

Garage Opener

An iOS Swift and Arduino Bluetooth LE experiment. See project homepage at http://tfmalt.github.io/garage-door-opener-ble/

This is a hobby project to learn swift and in the same go create a remote control for my garage door using an arduino uno.

The remote works really well, and is intended to be as simplistic as possible, with only one button as the interface. The app connects automatically to the Arduino controller whenever they are in range of one another.

If you find it interesting or potentially useful, feel free to contribute or ask for features or functionality.

iOS App

Features

  • Connects automatically to a BLE peripheral with the correct device UUID.
  • Scanning for device stops after 30 seconds if a device can't be found.
  • Push button to open door changes color depending on state to communicate visually with the user.
  • Contains both light and dark theme to be equally usable depending on light.
  • Automatic theme switching can be enabled to switch to dark theme during the night. Nice when using the controller from a car.

TODO

DONE

  • Fix crash on iPhone 4s
  • Fix resetting the scan timer when connecting - or for all states
  • Stop scanning after 30s
  • update colors: green and orange
  • Disable spinner when connected.
  • Add activty indicator when scanning.
  • Try new silent image grab algorithm. -- successful.
  • Refactor into separate capture device controller
  • Alert cleanly when camera access is denied
  • Ask for camera access when toggelig auto theme for the first time
  • Stop and start capture device cleanly when:
  • Changing views from settings to main
  • entering or coming back from the background
  • Remember the last theme on startup.
  • Implement dark theme for night time
  • Settings interface to toggle preferred theme
  • Test camera light detection algorithm to toggle theme automatically.
  • Version 1.0 done.
  • set new password on ardinuo over serial.
  • get NSTimer to trigger reading iRRSI properly
  • Send updates to textviews on device discovery
  • Make connecting to devices based on service UUID, not device
  • Send an actual update.
  • password setting dialog on iOS
  • implement wake from sleep event
  • investigate light sensor reading

garage-door-opener-ble's People

Contributors

tfmalt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rateraide

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.