net begonnen met
Home Assistant
by Peter Martin /
db8.nl
slides:
https://slides.db8.nl
---
Onze inductie oven
---- ### Onze
inductie oven
20 maart 2017: Etna FIV760RVS
februari 2023 -
oven kapot
7 maart 2023: ETNA FIV760WIT
3 juni 2023 -
Beng!
-
Inductie kapot
16 november 2023 -
Pats!
-
Pannen?
31 maart 2024 -
Plof!
-
Netspanning?
***
22 juni 2024 -
Boem!
27 juni 2024: Ander merk
---- ### Oorzaak? - Inductie pannen? - Zonnepanelen? - Piekspanning? -> meten... ---- ###
Domotica
oplossingen
Cloud:
Google Home
(Google Nest en meer)
Alexa Smart Home
Apple Home App
Self Hosted / Open Source:
OpenHAB (Open Home Automation Bus)
Domoticz
/
github.com/domoticz
Home Assistant
/
github.com/home-assistant
***
---- ### Dell Wyse 5070 - Thin client
---
Home Assistant
issues
---- ### Issues
ISO versie:
generic-x86-64
Problemen bij installatie
Start niet door
Docker versie:
install-home-assistant-container
Werkt goed!
Installatie van
Addons niet mogelijk
Nieuwe ISO versie:
toch weer
generic-x86-64
Installatie gaat goed
Start nu wel op
---
Home Assistant
Menu
---- ### Menu -
Overview
- dashboard
-
Map
- locaties voor triggers
-
Energy
- energieverbruik
-
Logbook
- logs
-
History
- statistieken verbruik etc
-
Media
- plaatjes
-
To-do lists
-
Developer tools
- check config wijzigingen
-
Settings
- alle settings
-
Notifications
- updates etc
-
(Name)
- account instellingen
---
Home Assistant
Settings
---- ### Settings -
Home Assistant Cloud
-
Devices & services
-
Automations & scenes
-
Areas, labels & zones
-
Add-ons
-
Dashboards
-
Voice assistants
-
Tags
-
People
-
System
-
About
---- ### Home Assistant
Cloud
- Cloud service van Nabu Casa (bedrijf oprichter HA) - Abonnement - Connect met cloud-only services: Amazon Alexa en Google Assistant ---- ###
Devices
& services - Geinstalleerde addons - Gevonden apparaten - "Entities" - specifieke "onderdelen" van devices - "Helpers" ---- ###
Automations
& scenes
Automations
- Triggers, Conditions, Actions
zon onder? alleen als iemand thuis is: licht woonkamer aan
Scenes
- groep apparaten complexere taken, trigger handmatig of via Automations
filmavond scene: licht dimmen, gordijnen dicht, TV aan
Scripts
- complexere taken, trigger handmatig of via Automations
volgorde van aan/uitzetten van apparaten
Blueprints
- kant en klare integraties
door community gedeelde Automations
---- ###
Areas
, labels & zones - Indelen van ruimtes ---- ###
Add-ons
- Uitbreidingen - File edit, Uptime Kuma, etc ---- ###
Dashboards
- Overzichtspagina's ---- ###
Voice
assistants - Spraak besturing - Wyoming Protocol (peer-to-peer protocol for voice assistants) ---- ###
Tags
- NFC tags / QR codes ---- ###
People
- Accounts van gebruikers ---- ###
System
- Backups / logs ---- ###
About
- Version info - Changelog - Contributors ---
Addon:
Router stats
---- ### router stats -
UPnP Addon
(Universal Plug and Play) - UPnP in router activeren - mbt veiligheid: geen authenticatie, automatische portforwarding, network discovery/info exposure. ---
Addon:
Energie meten
---- ### Energie meten -
HA Addon
DSMR Slimme Meter
(Dutch Smart Meter Requirements)
---- ### Energie meten - "Slimme" meter
P1 poort op Slimme Meter
---- ### Energie meten - Slimmelezer
P1 reader via Ethernet:
zuidwijk.com
---
Addon:
Uptime
---- ###
Uptime Kuma
- Port: 3001 - Zie:
Uptime Kuma presentatie
---
Addon:
File editor
---- ###
File editor
- Om aanpassing in configuratie bestanden te doen, bijv ``/homeassistant/configuration.yaml`` ---
Config:
Extern Toegang
---- ###
Extern Toegang
Dynamisch
IP Adres
duck DNS
gratis dynamische DNS (DynDNS or DDNS) service
Let's Encrypt support
configureren
op
duckDNS.org
jouwnaam.duckdns.org
Je router IP (automatisch)
een token
In router:
Portforwarding
Bron:
smarthomeaddict.co.uk
---- ### Extern Toegang -
port forwarding
- Port forwarding - first - IP address Home Assistant Router: 192.168.1.42 - Protocol: TCP - Start/End Port: 443 - Start/End Mapping Port: 8123 - second - IP address Home Assistant Router: 192.168.1.42 - Protocol: TCP - Start/End Port: 8123 - Start/End Mapping Port: 8123 ---- ### Addon:
DuckDNS
- Free Dynamic DNS (DynDNS or DDNS) service with Let's Encrypt support. -
github.com/home-assistant/addons/tree/master/duckdns
---- ### Extern Toegang -
TLS/SSL
in ``/homeassistant/configuration.yaml`` add ```yaml http: ssl_certificate: /ssl/fullchain.pem ssl_key: /ssl/privkey.pem ``` ---
Addon:
Terminal
---- ###
Terminal
- Enable SSH access - Addon: Terminal & SSH:
SSH server
---- ###
SSH access
- Geen RSA public/private keypair mogelijk! - Create
ed25519
```bash $ ssh-keygen -t ed25519 -C "email@example.com" ``` - Enable: Network > SSH port 22 ```bash $ ssh root@local-ip-address ``` ---
Addon:
Voice Assistant
---- ###
Voice Assistant
-
Wyoming Protocol
- communicatie IoT devices - openWakeWord - start voice assistant commando - Piper - text-to-speech - Whisper - automatic speech recognition (ASR) - Raspberry Pi Zero W + Keyestudio 5V Respeaker 2-mic Pi Hat V1.0 ---
Addon:
ESPHome
---- ###
ESPHome
- ESP32 (opvolger van ESP8266) - Sensors - Switches ---
Addon:
DNSMasq
---- ##
DNSMasq
- Internally same domain - Internally yourname.duckdns.org goes to local IP ---
Questions?
---- ## Photo Credits
https://unsplash.com/photos/laptop-computer-on-glass-top-table-hpjSkU2UYSU
https://unsplash.com/photos/man-covering-face-with-both-hands-while-sitting-on-bench-sxQz2VfoFBE
https://unsplash.com/photos/black-and-brown-wooden-frame-LMGBUJwtf3k
https://unsplash.com/photos/a-close-up-of-a-sound-board-with-many-knobs-qEEQ5wkggCE
https://unsplash.com/photos/black-corded-electronic-device-tN344soypQM
https://unsplash.com/photos/photo-of-truss-towers-yETqkLnhsUI
https://unsplash.com/photos/selective-focus-photo-of-brown-and-blue-hourglass-on-stones-BXOXnQ26B7o
https://unsplash.com/photos/person-holding-red-pencil-writing-on-white-paper-Plso5cHu9w0
https://unsplash.com/photos/selective-focus-photography-of-gray-metal-padlock-XUJcmgEhpjA
https://unsplash.com/photos/a-close-up-of-an-old-fashioned-typewriter-eHLCamXTGMY
https://unsplash.com/photos/white-and-gray-google-smart-speaker-and-two-black-speakers-Fh3Dtg6QX4Q
https://unsplash.com/photos/a-white-board-with-a-bunch-of-wires-attached-to-it-r98pDCvbcfM
https://unsplash.com/photos/woman-wearing-red-mask-ka4wDQPFm2c
https://unsplash.com/photos/question-mark-neon-signage-8xAA0f9yQnE