Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PiHome – home automation done with Raspberry PI...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Wojciech Sznapka
May 26, 2015
Programming
410
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PiHome – home automation done with Raspberry PI and Python
Presented at PyWaw Summit in Warsaw
Wojciech Sznapka
May 26, 2015
More Decks by Wojciech Sznapka
See All by Wojciech Sznapka
Getting started with Firebase in Angular
sznapka
1
110
PiHome – home automation done with Raspberry PI and Python
sznapka
0
460
Big data in the trenches
sznapka
1
450
Domain-Driven Design in PHP
sznapka
4
2.2k
Map-Reduce patterns
sznapka
3
330
An introduction to AngularJS
sznapka
0
270
Achieving wise architecture with Symfony2 @ SPUG#5
sznapka
2
280
Smart development environments
sznapka
2
1.6k
Automated tests - facts and myths
sznapka
1
1.8k
Other Decks in Programming
See All in Programming
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
690
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
190
スマート反転とウェブアクセシビリティ
camiha
0
170
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
160
RSSとCodexを使ってX投稿自動化してみた
ochtum
0
110
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
260
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
420
AIとGame Jamで、ゲームを完成させた話
takahirosaeki
0
110
【DroidKaigi 2026】「アクセシビリティを利用するとき、 アクセシビリティもまたこちらを利用している」 〜マルウェアによる攻撃と防衛について〜
halunoyo
0
420
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
220
ALB ログから Trace を気合で繋げる技術
fohte
7
880
週末にAI-DLCを本気で回したら$1,600溶けた
hbashimizu
0
130
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.8k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
880
Site-Speed That Sticks
csswizardry
13
1.5k
Skip the Path - Find Your Career Trail
mkilby
1
220
Practical Orchestrator
shlominoach
191
12k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Un-Boring Meetings
codingconduct
0
410
Marketing to machines
jonoalderson
1
5.8k
The untapped power of vector embeddings
frankvandijk
2
1.9k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
260
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Transcript
PiHome – home automation done with Raspberry PI and Python
Wojciech Sznapka Head of Development @ Cherry Poland Twitter: @sznapka PyWaw Summit. Warsaw 2015
None
Features • Steering (switches): – Floor heating steering (on /
off / delayed) – Hot water pump steering – Lights • Sensors: – Current temperature – Draw charts • History: – switches state – temperatures
Hardware • Raspberry PI B • Switches module (230V) controlled
via Ethernet (ready-made board) • Dallas ds18b20 one wire temperature sensors • Bread-board and bunch of wires
None
None
None
Software • Raspbian – with GPIO modules – Supervisord –
Apache + WSGI • Pihome-api – Python – Flask – JSON • PiHome – AngularJS as a SPA frontend – Twitter Bootstrap – optimized for mobile – Grunt, Bower, Yeoman • CLI tasks – Queue consumers – Celery tasks
Software • RabbitMQ – relay “store” requests (failover) • Celery
- “delayed” on / off • MongoDB (hosted at compose.io) – history of sensors and switches • Memcached
None
Future • Predict time when user wants to use hot
water* • More switches (door, window blinds) • Connect to alarm to know where users are (PIR sensors) * Machine learning
Lesson learned • Don't rely much on WiFi (have fallback
/ queue) • Don't play around with higher voltages unless you're pretty sure what're you doing... • Be prepared for frequent and random restarts • There plenty of ready made components, soldering is often last thing, if you want to get things fast
Thanks :-) https://github.com/wowo/pihome https://github.com/wowo/pihome-api
[email protected]