Wilson Mar bio photo

Wilson Mar


Calendar YouTube Github


Control a wide range of IoT devices using Python on Raspberry Pi, iOS, and Android

US (English)   Norsk (Norwegian)   Español (Spanish)   Français (French)   Deutsch (German)   Italiano   Português   Estonian   اَلْعَرَبِيَّةُ (Egypt Arabic)   Napali   中文 (简体) Chinese (Simplified)   日本語 Japanese   한국어 Korean


Home Assistant automates homes with rules such as “turn on the porch lights when the sun sets”, etc.


At https://demo.home-assistant.io Home Assistant presents a clickable dashboard such as:





Home Assistant consists of custom Python 3 scripts running on a Raspberry Pi machine board powered by HassOS (instead of Raspian) operating system. Hass is Docker-based, so one-click update is available.

It’s open sourced since 2016 by Paulus Schoutsen, founder, at https://github.com/home-assistant/home-assistant.

Unlike Samsung’s SmartThings Hub and other cloud-based services, Home Assistant does not send data out to the internet. So you have total data privacy and less lag while watching Netflix, perhaps in a home on wheels.

  • “Presence detection is a big input … There’s a lot of things that you don’t want to happen if you’re not at home” [13:10] in No Privacy Compromise Home Automation Jun 9, 2017 by Jupiter Broadcasting. “Wi-Fi router can detect your location”

Home Assistant uses the MQTT protocol and supports over 1,400 devices – just about every type of Smart Home device from Google Home, Alexa, Apple HomeKit, Nest, Ecobee, Z-Wave, Hue, Lifx, Belkin WeMo, IKEA Trådfri, Sonos, etc.

  • HomeBridge to integrate with Apple HomeKit.
  • To communicate with Z-Wave devices, plug in a USB stick that talks that protocol.
  • Lifx responds with status, where Phillips devices need to be polled.

Most IOT projects that use the ESP8266 or ESP32 can be tied into this system as easily as connecting to Adafruit.io, IFTTT, or Samsung Smart Hub.

But Home Assistant’s Smart Home Hub also eliminates the (annoying) need to installing multiple apps to control devices.

The iOS & Watch app by Robert Trencheny uses the Home Assistant Cloud. But alas, Apple does not allow it within the US.

Paulus Schoutsen https://www.youtube.com/watch?v=Cfasc9EgbMU at Pycon 2016

Install on Raspberry Pi

Home Assistant is not “plug-and-play” software.

  1. Review my article IoT Raspberry Install

  2. Download from https://www.home-assistant.io/hassio/installation the latest version, such as:


  3. Instead of going to https://www.balena.io/etcher

    brew install --cask balenaetcher
  4. Burn 64GB chip using Etcher.
  5. Power up the Pi.
  6. http://hassio.local:8123

Alternately, https://github.com/home-assistant/hassio-installer

How to set up Automations in Home Assistant tutorial

Getting Started with Home Assistant Part 7 Customising the UI by Hive Mind Automation

HomeAssitant Dashboard Creation by misperry using the Lovelace UI: https://www.youtube.com/watch?v=QEtX0uboxQA

Data Science

Use JupyterLab to analyze your data at https://data.home-assistant.io/docs/quick_start_index using https://github.com/home-assistant/home-assistant-notebooks



JuanMTech YouTube video channel

https://github.com/geekofweek/homeassistant who also has a fork of Nolan Gilley’s https://github.com/geekofweek/python-ecobee-api

Interview with Paulus Schoutsen on Home Assistant

VIDEO: Home Assistant Beginners Guide: Installation, Addons, Integrations, Scripts, Scenes, and Automations by The Hook Up


https://uriotnews.com/iot-around-the-house-sensors-mongodb-and-rest-api-on-the-onesait-platform-part-2/ from Spain https://github.com/onesaitplatform

ioBroker, but its available only in Germany!

https://www.youtube.com/watch?v=rXc_zGRYhLo “I found an Excellent Raspberry Pi Replacement for Home Assistant / IOTstack (incl. Proxmox)” by Andreas Spiess

More on IoT

This is one of a series on IoT:

  1. IoT Acronymns and Abbreviations on Quizlet

  2. IoT Home Assistant system

  3. IoT Apprentice school curriculum
  4. IoT use cases
  5. IoT reminders prevent dead mobile battery
  6. IoT barn feeder

  7. IoT text to speech synthesis
  8. IoT AWS button
  9. Intel IoT
  10. IoT Raspberry hardware
  11. IoT Raspberry installation

  12. IoT Clouds
  13. Samsung IoT Cloud

NOTE: Pages about GE’s Predix have been removed.