Git Product home page Git Product logo

bbx10node's Introduction

Experiment in Beagle Bone X10 Home Automation using node.js

== Install mochad and connect an X10 controller ==

mochad is a TCP gateway to X10 home automation controllers including the
CM15A (US), CM19A (US), CM15Pro (EU), and CM19Pro (EU).

See http://sourceforge.net/apps/mediawiki/mochad/index.php?title=BeagleBone_running_Angstrom_Linux
for details on building and running mochad.

== Control panel webapp ==

This Hello World home automation control panel for X10 house/unit codes
A1..A16. All connected clients should see the same result. Clicking on a X10
address (for example, A3) will change the background color to yellow for ON
well as send the "pl A3 on" command to mochad to turn the light on. All other
client control panels will also see the background color for A3 change to
yellow for ON.

To run the control panel web app do the following on your Beaglebone.

    # Get the nodejs code
    git clone git://github.com/bbx10/bbx10node.git
    cd bbx10node
    # Skip this if npm is installed on your system
    # curl http://npmjs.org/install.sh | sh
    # Skip this if socket.io is installed on your system
    # npm install socket.io
    node app.js

On a web browser connect to beaglebone:8080. Use the IP address of your
Beaglebone.

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.