Coder Social home page Coder Social logo

homeautomation's Introduction

Home automation

My Coffee/NodeJS + 0MQ home automation setup. See my blog for more details: blagg.tadkom.net

It consists of multiple services connected via a bus (zeromq):

  • Broker - Push/pull + pub/sub message hub. Message central.
  • Logger - Logs sensor data to cosm.com
  • Event-Triggers - Triggers events based on certain sensor data situations
  • MCU-Relay - Microcontroller relay - receives sensor data from jeenodes
  • Notification - Sends notifications to iOS devices (prowl) and to email
  • Powercontrol - Controls and receives events from 433 mhz receivers/transmitter (RFXtrx433)
  • Heating - Time based thermostat service (Todo: PID + motion sensors)

They can be launched using pm2. pm2 start homeautomation-pm2.json

The system also contains some microcontroller-code for arduino-compatible controllers (Jeenode) with RFM12b radios.

  • MasterNode - Receives sensors readings from slavenodes, controls Pioneer Home-Cinema Receiver via SR-bus. Acts as a simple serial bridge.
  • SlaveNode - Sleeps, wakes once every minute, gather sensor data, transmits wirelessly to masternode.

Other hardware used:

  • Raspberry Pi - I have everything running on this little linux capable ARM board. It's connected via serial/TTL to a Jeenode.
  • RFXtrx433 - 433 mhz transceiver, from RFXcom. Controls Nexa power-relays, etc.
  • Jeenode - Small arduino-compatible AVR boards with HopeRF rfm12b radios on them.

homeautomation's People

Contributors

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