Giter VIP home page Giter VIP logo

fakeu.js's Introduction

fakeu.js

A simple implementation of a web interface to heyu, the X10 controller, implemented with Node.js. (See my other project, fakeu, for the initial PHP version of this web app.)

Table of Contents

Motivation

I have a Linux box (a Raspberry Pi, actually) running heyu, which automatically controls some of the lights in my house. I would sometimes like to override that - to turn a light on or off immediately. There are solutions for that, such as domus.Link, but I thought I'd have some fun and make my own solution. (Besides, I couldn't entirely get domus.Link to work.)

Operation

I created a Node.js script that presents a very simple - but pretty! - GUI, using JavaScript buttons from Saran Chamling at Codepen, JQuery, and AJAX.

Pressing a button on the GUI posts a GET to this same script, which is handled and exec'ed.

Anyway, enjoy! Feel free to re-use, to ask me questions, etc.

Screen shot

screen shot

Requirements

Node.js (I'm using v0.10.31) and of course 'heyu' (mine is 2.10). In order to run this as a service on Linux, I used the Node utility "forever".

/rob

The table of contents for this page were generated with DocToc.

fakeu.js's People

Contributors

robcranfill avatar

Stargazers

 avatar

Watchers

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