pimatic

A home automation server and framework for the raspberry pi running on node.js

npm install pimatic
47 downloads in the last day
139 downloads in the last week
294 downloads in the last month

pimatic

Build Status NPM version Gittip donate button PayPal donate button

pimatic is a home automation framework that runs on node.js. It provides a common extensible platform for home control and automation tasks.

Read more at pimatic.org.

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

Motivation - Why Node.js?

Why not just using php with apache, nginx or C++?
Because Node.js is fancy and cool and javaScript is the language of the internet of things. No, to be seriously: Because Node.js with its event loop, asynchronously and non-blocking programming model is well suited for home automation tasks. Have you ever tryed implementing a cron like job in php? In addition there are tons of easy to use packages and libs.

But the Raspberry Pi ist not very powerful, won't JavaScript be very slow?
Yes and No, JavaScript is surely slower than C, but its getting faster and faster and runs very well on arm devices. Because disk access and network latency should be the real bottleneck of the pi, Node.js could perform well better than c++ because of its non blocking nature.

Getting Started

Install instuction can be found on pimatic.org.

Documentation

pimatics source files are annotated with literate programming style comments and docs. You can browse the self generated documentation with the source code side by side.

Extensions and Hacking

The framework is built to be extendable by plugins. If you have devices that are currently not supported please add a plugin for your devices. As well, if you have a nice Ideas for plugins or need support for specials actuators you are welcome to create a issue or submit a patch.

For plugin development take a look at the development guide and plugin template.

Feel free to ask development questions at the plugin template repository.

npm loves you