Code Monkey home page Code Monkey logo

fireplace_switch's Introduction

Since the beggining of time, people have been mesmerized by fire. It's enchanting, entertaining and stories are told around them. People also have wanted to control fire - so began my journey of turning on/off my fireplace from my iphone.

I could have just used some smartplug from amazon and a crusty iPhone app that I had to open...but what kind of control would that ever provide my inner neolithic man-urges? Not much. Cool to show and use it once.

Also it's not very non-technical partner friendly. My wife doesn't want to open an app to turn on the fireplace. She wants a button or remote control that she can rest her fingers upon. Not some virtual button. The fireplace already has a remote - and she likes it. I just want to be able to also do this from my iPhone though....

To take it to the next level - I got it to work with homekit using a project called Homebridge that lets you connect a LOT of different IoT type-stuff into Apple's homekit. Homekit certification is expensive so many products only work with Alexa/Google - not HomeKit. Bummer, but Homebridge lets you overcome that. So yeah - I can turn on my fireplace from a shortcut on the iphone control center. Trés Cool.

The next part that I'm working on will provide a homekit enabled button (Single Click - turns on fireplace, Double Click - turns off) that is next to my couch. Using particle.io devices makes it easy to trigger events in other arduino devices and web APIs. The code here is designed for Particle.io devices, but can be slightly modified to work on a regular arduino.

This is a side-project of mine. I wanted to learn about Arduinos and ultimately, be able to control fire. I am not responsible for you using this code to accidentally burn down your house. Seriously, be careful. use at your own risk.

What I've got here

  • Some terrible code that is a result of me not knowing how to code yet
  • Some pictures of my setup
  • A few screenshots of my phone and Macbook controls

Image of Fireplace Switch

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.