Your SlideShare is downloading. ×
0
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 functio...
What is Redis
▪ An advanced in-memory key-value data store.

▪ FAST!!
▪ Durable (configurable disk-write)
▪ Single-threade...
What is Logstash
▪ A tool for managing events and logs

▪ Primarily an interface - between sources (redis, files, pipes, …...
What is Elasticsearch
▪ Elasticsearch is a search server based on Lucene

▪ Very easy to set up
▪ Very horizontally scalab...
The costs (so far…)
Device

Unit cost

Total

RPi + Power + SD card

50

50

COC 868MHz

75

75

JeeLink v3 868MHz

32

32...
Concerns
▪ Security for actuators

▪ Social implications – Big Brother
▪ Catastrophic Corner Cases
Questions…?
Links
▪ FHEM

http://fhem.de/fhem.html

▪ Redis

http://redis.io/ (The little Redis book)

▪ Logstash

http://logstash.net...
Home Automation with perl
Upcoming SlideShare
Loading in...5
×

Home Automation with perl

693

Published on

Home automation with Perl (FHEM).
I've used a Raspberry Pi with 868MHz technology to gather data about my home, and view/analyse this with Logstash, Elasticsearch and Kibana.

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Do you have more detailed information about setup and linking these technologies together? I would be very interested.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
693
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
8
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Home Automation with perl"

  1. 1. monitoring Home automation with Perl Raspberry Pi, 868MHz, FHEM, Redis, Logstash , Kibana and Elasticsearch
  2. 2. The hardware ▪ Raspberry Pi ▪ COC (868MHz) ▪ JeeLink ▪ FS20 ▪ Homematic
  3. 3. The software stack ▪ FHEM (perl!) ▪ Redis ▪ Logstash ▪ Elasticsearch ▪ Kibana
  4. 4. What is FHEM ▪ Home automation system ▪ Written in Perl ▪ Badly documented (mostly German) ▪ Great auto-configure functionality ▪ Has web interface and Android app
  5. 5. 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
  6. 6. 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”
  7. 7. 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….. :-/
  8. 8. 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
  9. 9. Concerns ▪ Security for actuators ▪ Social implications – Big Brother ▪ Catastrophic Corner Cases
  10. 10. Questions…?
  11. 11. 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/
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×