Giter Club home page Giter Club logo

perlautomation's Introduction

PerlAutomation

Simple Home Automation Running on AnyEvent Twiggy with Dancer and Socket.io.js

What is it?

This is an example of a event driven home automation program with a real time web interface. Websockets are used to provide real time updates to the web page, but if they are not available (for instance, on the Android browsers) the program falls back on other transport methods suchs as long-polling Ajax.

Currently this is at more of a tech demo level, only the Vera home automation controllers is supported, and that support is partial (Vera Binary, Dimmable, and Security Sensors are handled, and errors in fetching data from Vera are not handled at all).

All other device support is incomplete (Denon receivers, X10, ...)

Instructions

This depends on quite a few packages from CPAN (Moose, AnyEvent, Dancer, etc).

Once those are installed modify the IP address of Vera in bin/PerlAutomation.pl

Run with: the bin/run script or:

plackup --server Twiggy -p 5000 PerlAutomation.pl

perlautomation's People

Contributors

naething avatar

Stargazers

 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.