Published on March 5, 2014
monitoring Home automation with Perl Raspberry Pi, 868MHz, FHEM, Redis, Logstash , Kibana and Elasticsearch
The hardware ▪ Raspberry Pi ▪ COC (868MHz) ▪ JeeLink ▪ FS20 ▪ Homematic
The software stack ▪ FHEM (perl!) ▪ Redis ▪ Logstash ▪ Elasticsearch ▪ Kibana
What is FHEM ▪ Home automation system ▪ Written in Perl ▪ Badly documented (mostly German) ▪ Great auto-configure functionality ▪ Has web interface and Android app
What is Redis ▪ An advanced in-memory key-value data store. ▪ FAST!! ▪ Durable (configurable disk-write) ▪ Single-threaded ▪ Lots of fancy features (lists, hashes, sets) ▪ Very well documented ▪ Great perl module ▪ Not very scalable… master-slave possible
What is Logstash ▪ A tool for managing events and logs ▪ Primarily an interface - between sources (redis, files, pipes, …) and storage (elasticsearch, mongodb, email, …) ▪ Lots of very helpful filters (date, grok, geoip, …) ▪ Horizontally scalable ▪ Fantastic community “If a newbie has a bad time, it’s a bug”
What is Elasticsearch ▪ Elasticsearch is a search server based on Lucene ▪ Very easy to set up ▪ Very horizontally scalable ▪ Written in Java… ▪ Great RESTful API ▪ Great perl module written by the developers themselves ▪ Needs BIG hardware (500 million events/day: 132GB RAM, 16 cores) ▪ Stability….. :-/
The costs (so far…) Device Unit cost Total RPi + Power + SD card 50 50 COC 868MHz 75 75 JeeLink v3 868MHz 32 32 EM1000 power monitor 34 68 PCA301 remote socket with power monitor 34 34 HMS100TF remote thermometer/hydrometer 25 50 Total 309
Concerns ▪ Security for actuators ▪ Social implications – Big Brother ▪ Catastrophic Corner Cases
Links ▪ FHEM http://fhem.de/fhem.html ▪ Redis http://redis.io/ (The little Redis book) ▪ Logstash http://logstash.net/ ▪ Elasticsearch http://www.elasticsearch.org/ ▪ ELV Elektronik http://www.elv.de/ ▪ Busware http://busware.de/ ▪ Raspberry Pi http://www.raspberrypi.org/
MisterHouse: Home Automation with Perl download. MisterHouse: Home Automation with Perl 2016-02-25 19:57:07 free download. MisterHouse: Home ...
In this talk I will show you how I have programmed my z-wave based home automation system with Perl Well ... unfortunately not quite. Let's try ...
Paul. I have been having similar problems with my Perl 5.80 installation. I did a check and found that the perl directory that I have in the perl path ...
Home Automation with Perl and X10 Mike Schilli, Yahoo! 06/25/2007 What’s X10? Sender sends signals over power lines Receiver switches electrical devices ...
Description. FHEM (TM) is a GPL'd perl server for house automation. It is used to automate some common tasks in the household like switching lamps ...
Home automation with FHEM, Raspberry Pi, Logstash, Elasticsearch and Redis
Home Automation with Perl and X10 - perlmeister：家庭自动化与perlmeister.ppt.
Perl powered home automation Robin Clarke. Subscribe Subscribed ... 82% of What You Need to Be a Competent Perl Tester - Duration: ...
Home Automation with Perl and X10 YAPC Houston, TX, 06/25/2007. Slides for this talk are available here. Looking for a plant watering system that checks ...