Home assistant
Who am I?
● Chief System Architect of
● I teach Network Security and Linux System
Administration
● Why am I talking about home-assistant.io ?
● DEMO
● I was showing off my interface upgrades in the
office
Home assistant
Home assistant
Home assistant
● Told me about a software he had been using at
home, that:
– connects all of his switches
– connects all of his video cameras
– have motion detection
– have vacation mode
– have modules for everything he uses
● I was like...
– OK I have interface for my lighting and heating
– I have ZoneMinder for video..
– I DON'T have a nice interface... and my phone
experience was NON-EXISTENT
● So I MUST check this out :)
● Welcome to Home Assistant:
Home assistant
Home assistant
Installation
Install Hassbian on your
Rapsberry Pi 3
Install Home Assistant
in your home directory
home folder setup
$ pip3 install homeassistant
$ hass --open-ui
● Home Assistent runs in Python VirtualEnv
Hassbian
http://hassbian.local:8123/
/home/homeassistant/.homeassistant/
configuration.yaml
YUP its YAML configuration file
homeassistant:
# Name of the location where Home Assistant is running
name: Sara
# Location required to calculate the time the sun rises and sets
latitude: 00.00
longitude: 00.00
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 542
# metric for Metric, imperial for Imperial
unit_system: metric
time_zone: Europe/Sofia
frontend:
http:
updater:
discovery:
# Enables support for tracking state changes over time.
history:
logbook:
Let me show you MY additional configuration :)
# Track the sun
sun:
sensor:
# Weather Prediction
- platform: yr
# house temperatures
- platform: command_line
name: Kitchen temp
command: curl -s http://10.2.2.195/arduino/digital/8 2>&1|awk '{gsub(/C/,"",$2);print $2}'
unit_of_measurement: "°C"
# Text to speech
tts:
platform: google
light:
- platform: lifx
broadcast: 10.2.2.255
media_player:
- platform: kodi
name: Bedroom
host: 10.2.2.245
- platform: kodi
name: Livingroom
host: 10.2.2.246
switch:
platform: command_line
switches:
kitchen_light:
friendly_name: Kitchen
command_on: curl http://10.2.2.177/1/2
command_off: curl http://10.2.2.177/1/2
kitchen_table:
friendly_name: Kitchen table
command_on: curl http://10.2.2.177/2/2
command_off: curl http://10.2.2.177/2/2
livingroom_walls:
friendly_name: Livingroom walls
command_on: curl http://10.2.2.177/3/2
command_off: curl http://10.2.2.177/3/2
livingroom_table:
friendly_name: Livingroom table
command_on: curl http://10.2.2.177/4/2
command_off: curl http://10.2.2.177/4/2
stairs:
friendly_name: Stairs
command_on: curl http://10.2.2.177/5/2
command_off: curl http://10.2.2.177/5/2
heating:
friendly_name: Heating
command_on: curl http://10.2.2.195/arduino/digital/7/0
command_off: curl http://10.2.2.195/arduino/digital/7/1
command_state: curl -q http://10.2.2.195/arduino/digital/7 | grep -q on
underfloor_pump:
friendly_name: Heating underfloor pump
command_on: curl http://10.2.2.195/arduino/digital/6/0
command_off: curl http://10.2.2.195/arduino/digital/6/1
command_state: curl -q http://10.2.2.195/arduino/digital/6 | grep -q on
Management
● systemd shit...
– when restarted via the web interface, with broken config,
systemd does not detect that :(
● some helpful commands:
– systemctl reset-failed home-
assistant@homeassistant.service
– systemctl stop home-assistant@homeassistant.service
– systemctl start home-assistant@homeassistant.service
Management - via web
Management - via web
Management - via web
● Grouping switches and/or lights
● Triggering actions, based on sensors
● Scheduling actions
Problems
● Almost everything requires a state
– the state takes too much time to be verified(if at all
possible)
● There is no button functionality
● The kodi component has extremely basic
functionality
● Broken configuration crashes the hass daemon
● No native app for phone or tablet
● I'm currently
– adding powered window blinds
– moving the video cameras to HA
– adding more temperature sensors
– adding the water heating controls
Thank yoU!

More Related Content

PDF
Smart Things + Home Assistant: build your own smart home
PDF
Introduction to Raspberry PI
PDF
Smart Homes: becoming a reality
PPT
Smart home
PPTX
Home automation using IOT
PPTX
Home automation ppt
ODP
Home automation - SMART HOME
PPTX
Home automation & security system
Smart Things + Home Assistant: build your own smart home
Introduction to Raspberry PI
Smart Homes: becoming a reality
Smart home
Home automation using IOT
Home automation ppt
Home automation - SMART HOME
Home automation & security system

What's hot (20)

PPTX
Smart homes presentation
PPTX
Simple Presentation On Raspberry pi
PPTX
IOT Based Home Automation using Raspberry Pi-3
PPT
1g,2g,3g,4g and 5g
PPTX
Internet of things for Smart Home
PPTX
Home Automation using Android Phones-Project first phase
PPTX
Home appliance control system (2)
PPTX
WIRELESS ROBOT PPT
PPTX
Zigbee Presentation
PPTX
Home automation using arduino
PPT
Gi fi Technology
PPTX
IoT Based Home Automation System Presantation
PPTX
Home automation using iot
PPTX
basic ppt on IOT
PPTX
Home automation- An Iot application
PPT
Electronics Projects List for Engineering Students
PPTX
Wireless network
PPTX
Advanced Wireless Technologies
PDF
Fundamentals of IoT Security
PPTX
lifi technology light feadility animated presentation
Smart homes presentation
Simple Presentation On Raspberry pi
IOT Based Home Automation using Raspberry Pi-3
1g,2g,3g,4g and 5g
Internet of things for Smart Home
Home Automation using Android Phones-Project first phase
Home appliance control system (2)
WIRELESS ROBOT PPT
Zigbee Presentation
Home automation using arduino
Gi fi Technology
IoT Based Home Automation System Presantation
Home automation using iot
basic ppt on IOT
Home automation- An Iot application
Electronics Projects List for Engineering Students
Wireless network
Advanced Wireless Technologies
Fundamentals of IoT Security
lifi technology light feadility animated presentation
Ad

Similar to Home assistant (20)

PPTX
Coffee & Pi - Intro to Home Automation
PDF
Start Building Your Smart Home With Home Assistant
PPTX
Home Assistant Presentation smart living for fun
PDF
Command Your IoT Projects from the Terminal
PPTX
Reviving an Old Computer for Home Automation
PPTX
IoT for data science Module 5 - Raspberry Pi.pptx
PDF
Advanced view of projects raspberry pi list raspberry pi projects
PDF
Projects list raspberry pi projects complete 1480 projects
PPTX
Raspberry pi home automation idea
PPTX
Up and running with Raspberry Pi
PDF
Raspberry pi overview
PDF
Raspi_TOR_Access_Point_BenMoore
PDF
Open_IoT_Summit-Europe-2016-Building_an_IoT-class_Device_0
PDF
Mac OSX Terminal 101
PPTX
IOT BASED SYSTEM DESIGN
PPTX
PPT on Weather Monitoring System-converted (1).pptx
PDF
IOT: Home Automation using Android Application
PDF
IoT: Internet of Things with Python
PPTX
Ultimate Unix Meetup Presentation
PDF
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Coffee & Pi - Intro to Home Automation
Start Building Your Smart Home With Home Assistant
Home Assistant Presentation smart living for fun
Command Your IoT Projects from the Terminal
Reviving an Old Computer for Home Automation
IoT for data science Module 5 - Raspberry Pi.pptx
Advanced view of projects raspberry pi list raspberry pi projects
Projects list raspberry pi projects complete 1480 projects
Raspberry pi home automation idea
Up and running with Raspberry Pi
Raspberry pi overview
Raspi_TOR_Access_Point_BenMoore
Open_IoT_Summit-Europe-2016-Building_an_IoT-class_Device_0
Mac OSX Terminal 101
IOT BASED SYSTEM DESIGN
PPT on Weather Monitoring System-converted (1).pptx
IOT: Home Automation using Android Application
IoT: Internet of Things with Python
Ultimate Unix Meetup Presentation
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Ad

More from Marian Marinov (20)

PDF
How to start and then move forward in IT
PDF
Thinking about highly-available systems and their setup
PDF
Understanding your memory usage under Linux
PDF
How to implement PassKeys in your application
PDF
Dev.bg DevOps March 2024 Monitoring & Logging
PDF
Basic presentation of cryptography mechanisms
PDF
Microservices: Benefits, drawbacks and are they for me?
PDF
Introduction and replication to DragonflyDB
PDF
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
PDF
How to successfully migrate to DevOps .pdf
PDF
How to survive in the work from home era
PDF
Managing sysadmins
PDF
Improve your storage with bcachefs
PDF
Control your service resources with systemd
PDF
Comparison of-foss-distributed-storage
PDF
Защо и как да обогатяваме знанията си?
PDF
Securing your MySQL server
PDF
Sysadmin vs. dev ops
PDF
DoS and DDoS mitigations with eBPF, XDP and DPDK
PDF
Challenges with high density networks
How to start and then move forward in IT
Thinking about highly-available systems and their setup
Understanding your memory usage under Linux
How to implement PassKeys in your application
Dev.bg DevOps March 2024 Monitoring & Logging
Basic presentation of cryptography mechanisms
Microservices: Benefits, drawbacks and are they for me?
Introduction and replication to DragonflyDB
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
How to successfully migrate to DevOps .pdf
How to survive in the work from home era
Managing sysadmins
Improve your storage with bcachefs
Control your service resources with systemd
Comparison of-foss-distributed-storage
Защо и как да обогатяваме знанията си?
Securing your MySQL server
Sysadmin vs. dev ops
DoS and DDoS mitigations with eBPF, XDP and DPDK
Challenges with high density networks

Recently uploaded (20)

PPTX
Agentic Artificial Intelligence (Agentic AI).pptx
PDF
Designing Fault-Tolerant Architectures for Resilient Oracle Cloud ERP and HCM...
PPTX
MAD Unit - 3 User Interface and Data Management (Diploma IT)
PPTX
Cisco Network Behaviour dibuywvdsvdtdstydsdsa
PPTX
Principal presentation for NAAC (1).pptx
PPTX
WN UNIT-II CH4_MKaruna_BapatlaEngineeringCollege.pptx
PPTX
chapter 1.pptx dotnet technology introduction
PPTX
CT Generations and Image Reconstruction methods
PDF
Principles of operation, construction, theory, advantages and disadvantages, ...
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PDF
MLpara ingenieira CIVIL, meca Y AMBIENTAL
PPTX
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
PDF
Unit1 - AIML Chapter 1 concept and ethics
PPTX
Micro1New.ppt.pptx the mai themes of micfrobiology
PPTX
Solar energy pdf of gitam songa hemant k
PDF
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
PPTX
Design ,Art Across Digital Realities and eXtended Reality
PDF
Lesson 3 .pdf
PPTX
CS6006 - CLOUD COMPUTING - Module - 1.pptx
PDF
electrical machines course file-anna university
Agentic Artificial Intelligence (Agentic AI).pptx
Designing Fault-Tolerant Architectures for Resilient Oracle Cloud ERP and HCM...
MAD Unit - 3 User Interface and Data Management (Diploma IT)
Cisco Network Behaviour dibuywvdsvdtdstydsdsa
Principal presentation for NAAC (1).pptx
WN UNIT-II CH4_MKaruna_BapatlaEngineeringCollege.pptx
chapter 1.pptx dotnet technology introduction
CT Generations and Image Reconstruction methods
Principles of operation, construction, theory, advantages and disadvantages, ...
August -2025_Top10 Read_Articles_ijait.pdf
MLpara ingenieira CIVIL, meca Y AMBIENTAL
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
Unit1 - AIML Chapter 1 concept and ethics
Micro1New.ppt.pptx the mai themes of micfrobiology
Solar energy pdf of gitam songa hemant k
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
Design ,Art Across Digital Realities and eXtended Reality
Lesson 3 .pdf
CS6006 - CLOUD COMPUTING - Module - 1.pptx
electrical machines course file-anna university

Home assistant

  • 2. Who am I? ● Chief System Architect of ● I teach Network Security and Linux System Administration
  • 3. ● Why am I talking about home-assistant.io ?
  • 5. ● I was showing off my interface upgrades in the office
  • 9. ● Told me about a software he had been using at home, that: – connects all of his switches – connects all of his video cameras – have motion detection – have vacation mode – have modules for everything he uses
  • 10. ● I was like... – OK I have interface for my lighting and heating – I have ZoneMinder for video.. – I DON'T have a nice interface... and my phone experience was NON-EXISTENT ● So I MUST check this out :)
  • 11. ● Welcome to Home Assistant:
  • 14. Installation Install Hassbian on your Rapsberry Pi 3 Install Home Assistant in your home directory
  • 15. home folder setup $ pip3 install homeassistant $ hass --open-ui ● Home Assistent runs in Python VirtualEnv
  • 17. homeassistant: # Name of the location where Home Assistant is running name: Sara # Location required to calculate the time the sun rises and sets latitude: 00.00 longitude: 00.00 # Impacts weather/sunrise data (altitude above sea level in meters) elevation: 542 # metric for Metric, imperial for Imperial unit_system: metric time_zone: Europe/Sofia frontend: http: updater: discovery: # Enables support for tracking state changes over time. history: logbook:
  • 18. Let me show you MY additional configuration :)
  • 19. # Track the sun sun: sensor: # Weather Prediction - platform: yr # house temperatures - platform: command_line name: Kitchen temp command: curl -s http://10.2.2.195/arduino/digital/8 2>&1|awk '{gsub(/C/,"",$2);print $2}' unit_of_measurement: "°C" # Text to speech tts: platform: google light: - platform: lifx broadcast: 10.2.2.255 media_player: - platform: kodi name: Bedroom host: 10.2.2.245 - platform: kodi name: Livingroom host: 10.2.2.246
  • 20. switch: platform: command_line switches: kitchen_light: friendly_name: Kitchen command_on: curl http://10.2.2.177/1/2 command_off: curl http://10.2.2.177/1/2 kitchen_table: friendly_name: Kitchen table command_on: curl http://10.2.2.177/2/2 command_off: curl http://10.2.2.177/2/2 livingroom_walls: friendly_name: Livingroom walls command_on: curl http://10.2.2.177/3/2 command_off: curl http://10.2.2.177/3/2 livingroom_table: friendly_name: Livingroom table command_on: curl http://10.2.2.177/4/2 command_off: curl http://10.2.2.177/4/2 stairs: friendly_name: Stairs command_on: curl http://10.2.2.177/5/2 command_off: curl http://10.2.2.177/5/2
  • 21. heating: friendly_name: Heating command_on: curl http://10.2.2.195/arduino/digital/7/0 command_off: curl http://10.2.2.195/arduino/digital/7/1 command_state: curl -q http://10.2.2.195/arduino/digital/7 | grep -q on underfloor_pump: friendly_name: Heating underfloor pump command_on: curl http://10.2.2.195/arduino/digital/6/0 command_off: curl http://10.2.2.195/arduino/digital/6/1 command_state: curl -q http://10.2.2.195/arduino/digital/6 | grep -q on
  • 22. Management ● systemd shit... – when restarted via the web interface, with broken config, systemd does not detect that :( ● some helpful commands: – systemctl reset-failed home- [email protected] – systemctl stop [email protected] – systemctl start [email protected]
  • 26. ● Grouping switches and/or lights ● Triggering actions, based on sensors ● Scheduling actions
  • 27. Problems ● Almost everything requires a state – the state takes too much time to be verified(if at all possible) ● There is no button functionality ● The kodi component has extremely basic functionality ● Broken configuration crashes the hass daemon ● No native app for phone or tablet
  • 28. ● I'm currently – adding powered window blinds – moving the video cameras to HA – adding more temperature sensors – adding the water heating controls