SlideShare a Scribd company logo
HOME AUTOMATION
BY
ESP8266
GLEB VINNIKOV
I AM
• Many years in IT :)
• FullStack Developer
• JavaScript, NodeJS, AngularJS, etc …
• Independent contractor/IT Expert/CTO
• Pet projects: IoT, Arduino, Hardware, etc …
PLAN
• Already finished
• Habits
• Standard tasks
PRODUCTION
• A lot of communications
• Constant changes
• Interference
???
• Beginners
• Documentations
• Examples on github/stackoverflow
• Ready projects
• Easy toolchains, IDE
• Large community
• Cheap
• Wide specifications
• Flexible
ESP8266
• http://espressif.com
• http://bbs.espressif.com/
• CPU: Tensilica L106 32-bit
micro controller
• Operating Voltage: 3.0 ~
3.6V
• Operating Current: ~80mA
ESP8266 FAMILY
• ESP01 - 12
• Form factors
• Diff. antennas
• Flash memory 512K-4M
WI-FI
• Wi-Fi: 802.11 b/g/n
• Wi-Fi mode: station/softAP/
SoftAP+station, WPA/WPA2,
WEP/TKIP/AES
• Types of Antenna: PCB Trace,
External, IPEX Connector,
Ceramic Chip
NETWORK PROTOCOLS
• IPv4
• TCP
• UDP
• HTTP/HTTPS
• FTP
PERIPHERAL BUS
• UART
• SDIO
• SPI
• I2C
• I2S
• GPIO
• ADC
• PWM
ESPRESSIF
FIRMWARES
• http://bbs.espressif.com
• AT commands
• SDK
> AT
> OK
> AT+GMR
> AT version:0.60.0.0(Feb 2 2016 18:43:31)
SDK version:1.5.2(80914727)
compile time:Feb 2 2016 18:59:50
OK
NODEMCU
FIRMWARES
• http://nodemcu.com/
• LUA
• NodeMCU DevKit
• http://esp8266.ru/esplorer/
• Libs <
• need much more memory
• upload by file
ARDUINO
FIRMWARES
• Arduino IDE
• C/C++
• Libs >
• https://github.com/esp8266/
Arduino
• gitter community!
• load common bundle
FIRMWARES
• MicroPython
• https://github.com/
micropython/micropython
• cesanta/mongoose-iot
TOOLCHAINS
• esptool.py
• https://github.com/nodemcu/
nodemcu-flasher
• Espressif
TOOLCHAINS
• Arduino IDE
• http://platformio.org/
• http://codebender.cc
• http://www.blynk.cc/
FIRMWARE UPGRADE
• UART Download
• OTA (via network if 2x RAM)
DEV BOARDS
• ready dev boards
• adapters
• FDTI
DARK SIDE
• Power consumptions: up to
170Ma
• Stability
• Range distance
WHAT’S NEXT?
• Work without i-net
• Network, routing , VPN, port
forwarding
• Heterogeneous env
• Device management (DHCP, DNS,
Provisioning)
• Automatization
• Visualization
• Access from inside/outside
• Web/mobile
HA SERVERS
• create IoT network
• home-assistant.io
• openhab.org
• http://freedomotic.com/
HOME ASSISTANT
• http://home-assistant.io
• Opensource
• Python
• Win, Mac, Ubuntu, RPI, …
• Components >
• Mobile, Desktop
• Automate
COMMUNICATION
MQTT
• MQ Telemetry Transport
• Lightweight
• PubSub
• QoS
• TCP based
HTTP VS MQTT
HTTP
• Overhead
• No QoS
MQTT
• Lightweight
• QoS
• TCP based
http://stephendnicholas.com/posts/power-profiling-mqtt-vs-https
MQTT SOFT
• Mosquitto - Open Source
MQTT
• Clients for all langs
• Mob. apps
• Browser extensions`
• cloudmqtt.com
• https://thingmq.com/
MORE EXAMPLES!
THANKS!
• http://www.slideshare.net/glebvinnikov
• gleb.vinnikov@gmail.com
• https://twitter.com/Gleb_V

More Related Content

What's hot (19)

PDF
WiFi SoC ESP8266
Devesh Samaiya
 
PDF
How to Install ESP8266 WiFi Web Server using Arduino IDE
Naoto MATSUMOTO
 
KEY
Internet of Things
Andy Gelme
 
PDF
Hacking Meatspace with Arduino and pyFirmata
Ches Martin
 
PDF
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
Zoltan Balazs
 
PDF
Polstra 44con2012
Philip Polstra
 
PDF
Adafruit Huzzah Esp8266 WiFi Board
Biagio Botticelli
 
PPTX
Uncommon MiTM in uncommon conditions
HeadLightSecurity
 
ODP
Debian & the BeagleBone Black
Raju Vindane
 
PPTX
Hacking routers as Web Hacker
HeadLightSecurity
 
PDF
Intro To Gentoo Embedded Cclug
Steve Arnold
 
PDF
Taking the BeagleBone Cookbook recipes beyond BeagleBone Black
Drew Fustini
 
PPTX
Exploring the abc's of raspberry pi and python(day 2)
Shahed Mehbub
 
ODP
Deauthentication Attack with Node MCU & Esp8266
Akash Thakur
 
PPTX
Exploring the ABC's of Raspberry Pi with Python
Shahed Mehbub
 
ODP
Connecting Hardware to the Web with the BeagleBone
Frank Hunleth
 
PPTX
Up and running with Raspberry Pi
Shahed Mehbub
 
PPT
[ENG] IPv6 shipworm + My little Windows domain pwnie
Zoltan Balazs
 
PDF
BeagleBone Workshop
Chirag Nagpal
 
WiFi SoC ESP8266
Devesh Samaiya
 
How to Install ESP8266 WiFi Web Server using Arduino IDE
Naoto MATSUMOTO
 
Internet of Things
Andy Gelme
 
Hacking Meatspace with Arduino and pyFirmata
Ches Martin
 
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
Zoltan Balazs
 
Polstra 44con2012
Philip Polstra
 
Adafruit Huzzah Esp8266 WiFi Board
Biagio Botticelli
 
Uncommon MiTM in uncommon conditions
HeadLightSecurity
 
Debian & the BeagleBone Black
Raju Vindane
 
Hacking routers as Web Hacker
HeadLightSecurity
 
Intro To Gentoo Embedded Cclug
Steve Arnold
 
Taking the BeagleBone Cookbook recipes beyond BeagleBone Black
Drew Fustini
 
Exploring the abc's of raspberry pi and python(day 2)
Shahed Mehbub
 
Deauthentication Attack with Node MCU & Esp8266
Akash Thakur
 
Exploring the ABC's of Raspberry Pi with Python
Shahed Mehbub
 
Connecting Hardware to the Web with the BeagleBone
Frank Hunleth
 
Up and running with Raspberry Pi
Shahed Mehbub
 
[ENG] IPv6 shipworm + My little Windows domain pwnie
Zoltan Balazs
 
BeagleBone Workshop
Chirag Nagpal
 

Similar to R0boCamp2016 Гліб Вінніков Home automation by ESP8266 (20)

PDF
Home Automation by ESP8266 #iotconfua
Andy Shutka
 
PPTX
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
Alec Tucker
 
PPTX
A brief introduction to making your own (Internet of Things) Thing
TinamousSteve
 
PPTX
Robots conf microcontroller and iot survey
Matt Haines
 
PDF
2.2. Introduction to Arduino
defconmoscow
 
PDF
SIGFOX Makers Tour - Madrid
Nicolas Lesconnec
 
PDF
Unifi'd Ownage
Tim N
 
PPTX
Internet of Things 101 - Part II
Yoonseok Hur
 
PDF
Deploying to Ubuntu on Linode
WO Community
 
PDF
Esp8266 hack sonoma county 4/8/2015
mycal1
 
PPTX
Getting started with Intel IoT Developer Kit
Sulamita Garcia
 
PPT
Single chip computer for iot application
iotleague
 
PPTX
What is Arduino
SKUGme
 
PPTX
Esp8266 NodeMCU
roadster43
 
PPTX
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Mif Masterz
 
PPTX
Parallel Rendering of Webpages
Langtech
 
PDF
D1 t1 t. yunusov k. nesterov - bootkit via sms
qqlan
 
PDF
WOver
WO Community
 
PDF
Opensource 是人生的好朋友 2016-07-21
CQD
 
PDF
SIGFOX Makers Tour - Barcelona
Nicolas Lesconnec
 
Home Automation by ESP8266 #iotconfua
Andy Shutka
 
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
Alec Tucker
 
A brief introduction to making your own (Internet of Things) Thing
TinamousSteve
 
Robots conf microcontroller and iot survey
Matt Haines
 
2.2. Introduction to Arduino
defconmoscow
 
SIGFOX Makers Tour - Madrid
Nicolas Lesconnec
 
Unifi'd Ownage
Tim N
 
Internet of Things 101 - Part II
Yoonseok Hur
 
Deploying to Ubuntu on Linode
WO Community
 
Esp8266 hack sonoma county 4/8/2015
mycal1
 
Getting started with Intel IoT Developer Kit
Sulamita Garcia
 
Single chip computer for iot application
iotleague
 
What is Arduino
SKUGme
 
Esp8266 NodeMCU
roadster43
 
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Mif Masterz
 
Parallel Rendering of Webpages
Langtech
 
D1 t1 t. yunusov k. nesterov - bootkit via sms
qqlan
 
Opensource 是人生的好朋友 2016-07-21
CQD
 
SIGFOX Makers Tour - Barcelona
Nicolas Lesconnec
 
Ad

More from Lviv Startup Club (20)

PDF
Oleksandr Osypenko: Поради щодо іспиту та закриття курсу (UA)
Lviv Startup Club
 
PDF
Oleksandr Osypenko: Пробний іспит + аналіз (UA)
Lviv Startup Club
 
PDF
Oleksandr Osypenko: Agile / Hybrid Delivery (UA)
Lviv Startup Club
 
PDF
Oleksandr Osypenko: Стейкхолдери та їх вплив (UA)
Lviv Startup Club
 
PDF
Rostyslav Chayka: Prompt Engineering для проєктного менеджменту (Advanced) (UA)
Lviv Startup Club
 
PPTX
Dmytro Liesov: PMO Tools and Technologies (UA)
Lviv Startup Club
 
PDF
Rostyslav Chayka: Управління командою за допомогою AI (UA)
Lviv Startup Club
 
PDF
Oleksandr Osypenko: Tailoring + Change Management (UA)
Lviv Startup Club
 
PDF
Maksym Vyshnivetskyi: Управління закупівлями (UA)
Lviv Startup Club
 
PDF
Oleksandr Osypenko: Управління ризиками (UA)
Lviv Startup Club
 
PPTX
Dmytro Zubkov: PMO Resource Management (UA)
Lviv Startup Club
 
PPTX
Rostyslav Chayka: Комунікація за допомогою AI (UA)
Lviv Startup Club
 
PDF
Ihor Pavlenko: Комунікація за допомогою AI (UA)
Lviv Startup Club
 
PDF
Maksym Vyshnivetskyi: Управління якістю (UA)
Lviv Startup Club
 
PDF
Ihor Pavlenko: Робота зі стейкхолдерами за допомогою AI (UA)
Lviv Startup Club
 
PDF
Maksym Vyshnivetskyi: Управління вартістю (Cost) (UA)
Lviv Startup Club
 
PDF
Oleksandr Osypenko: Управління часом та ресурсами (UA)
Lviv Startup Club
 
PPTX
Dmytro Liesov: Developing PMO Services and Functions (UA)
Lviv Startup Club
 
PDF
Igor Dumbur: Інженерна досконалість та DevOps (UA)
Lviv Startup Club
 
PDF
Ihor Pavlenko: Управління ризиками за допомогою AI (UA)
Lviv Startup Club
 
Oleksandr Osypenko: Поради щодо іспиту та закриття курсу (UA)
Lviv Startup Club
 
Oleksandr Osypenko: Пробний іспит + аналіз (UA)
Lviv Startup Club
 
Oleksandr Osypenko: Agile / Hybrid Delivery (UA)
Lviv Startup Club
 
Oleksandr Osypenko: Стейкхолдери та їх вплив (UA)
Lviv Startup Club
 
Rostyslav Chayka: Prompt Engineering для проєктного менеджменту (Advanced) (UA)
Lviv Startup Club
 
Dmytro Liesov: PMO Tools and Technologies (UA)
Lviv Startup Club
 
Rostyslav Chayka: Управління командою за допомогою AI (UA)
Lviv Startup Club
 
Oleksandr Osypenko: Tailoring + Change Management (UA)
Lviv Startup Club
 
Maksym Vyshnivetskyi: Управління закупівлями (UA)
Lviv Startup Club
 
Oleksandr Osypenko: Управління ризиками (UA)
Lviv Startup Club
 
Dmytro Zubkov: PMO Resource Management (UA)
Lviv Startup Club
 
Rostyslav Chayka: Комунікація за допомогою AI (UA)
Lviv Startup Club
 
Ihor Pavlenko: Комунікація за допомогою AI (UA)
Lviv Startup Club
 
Maksym Vyshnivetskyi: Управління якістю (UA)
Lviv Startup Club
 
Ihor Pavlenko: Робота зі стейкхолдерами за допомогою AI (UA)
Lviv Startup Club
 
Maksym Vyshnivetskyi: Управління вартістю (Cost) (UA)
Lviv Startup Club
 
Oleksandr Osypenko: Управління часом та ресурсами (UA)
Lviv Startup Club
 
Dmytro Liesov: Developing PMO Services and Functions (UA)
Lviv Startup Club
 
Igor Dumbur: Інженерна досконалість та DevOps (UA)
Lviv Startup Club
 
Ihor Pavlenko: Управління ризиками за допомогою AI (UA)
Lviv Startup Club
 
Ad

Recently uploaded (20)

PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 

R0boCamp2016 Гліб Вінніков Home automation by ESP8266