Building a Home Assistant Custom project Part 1: Project Structure and Basics
Building a Home Assistant Custom project Part 1: Project Structure and Basics
商品库存单位(SKU): NK_TLS_RS-copy
my home assistant project
This is the first part of a multi-part tutorial to create a Home Assistant custom project.
Part 1 - Project Structure and Basics (Reading Now!)
Part 2 - Unit Testing and Continuous Integration
Part 3 - Config Flow
Part 4 - Options Flow
Part 5 - Debugging
Building a Home Assistant Custom project Part 1: Project Structure and Basics
Hardware
Hardware for home assistant
Hardware for mijia
Hardware for aqara
Hardware for Yeelight
Software
Debain 11 OS on rpi p3b+
Py 3.10 on Debain 11 OS
Ha core on Py 3.10 env
Project structure - Hardware
.
+-- rpi p3b+
| +-- Debain 11 -> Runing Debain 11 OS on rpi p3b+
| +-- Py 3.10 ->Runing Py 3.10 on Debain 11 OS
| +-- Ha core -> Runing Ha core on Py 3.10 env
|
+-- Aqara Hub M1S gen1 -> connetc zigbee sub devices to zigbee hub via zigbee
| +-- sensor
| +-- light
| +-- ...
|+-- mijia home hub -> connetc ble ble mesh sub devices to ble mesh hub via ble mesh
| +-- sensor
| +-- light
| +-- ...
|
+-- Wifi router -> connetc Wifi sub devices to Wifi hub via Wifi
| +-- light
| +-- plug
| +-- washer
| +-- ...
|
+-- pair mijia hub and sub device in mi home app
+-- pair aqara hub and sub device in aqara home app
+-- pair wifi sub device in itself own app
source:https://github.com/openhab/openhab-addons
Useful links
Building a Home Assistant Custom Component Part 1: Project Structure and Basics
https://aarongodfrey.dev/home%20automation/building_a_home_assistant_custom_component_part_1/