This configuration works but is still under development.

The project documentation covers beginner to advanced topics around the installation, setup, configuration, and usage of Home Assistant.

 

This is my first post here. I just got my HA installed for the first time. So zero experience with it. 

I use a mixture of xiaomi, aqara and yeelight devices connected to ha, all running on an rpi 3b+. 

Links below may contain affiliate links. If you click a link and make a purchase on Amazon within 24 hours, I may receive a small commission at no additional cost to you. It’s a great way to support bloggers if you found their content helpful.

 

 

 

2021.12 - home assistant core 32bit

32bit

# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

 

 

Hardware Requirements

I’m using the following hardware for my setup:

Raspberry Pi 3b+
Micro SD Card 20G
Power Supply
Bluetooth Adapter On Pi3b+
Ethernet Cable 
keyboard
Mouse
Monitor
Bluetooth Speaker:mode  NewMine BT73
 

OS

~# lsb_release -a
No LSB modules are available.
Distributor ID:  Raspbian
Description:  Raspbian GNU/Linux 9.4 (stretch)
Release:  9.4
Codename:  stretch
 

Environment

Version  core-2022.3.0
Installation Type  Home Assistant Core
Development  false
Supervisor  false
Docker  false
User  homeassistant
Virtual Environment  true
Python Version  3.9.2
Operating System Family  Linux
Operating System Version  4.19.66-v7+
CPU Architecture  armv7l
Timezone  UTC
 
# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
 

Installation methods

The configuration is based on a Home Assistant Core installation.

Python3.9 virtual environment + Home Assistant Core
 

server

https://www.msly.cn/boards/topic/11346/beginners-guide-to-home-assistant-core-architecture#16597

sub devices

 

 

 

 

Part 1: all for ssh login to SSHserver On RP(First) 

Hardware -树莓派硬件连接

https://www.msly.cn/boards/topic/57/installing-home-assistant-core-on-raspberry-pi-3b-step-by-step#140

 

Enable Raspberry local root Login

Follow the steps below:

1.Login in your Raspberry Pi as the default user – pi  password:raspberry
2.Change password for the user ‘root’
3.unlock the root account

https://www.msly.cn/boards/topic/57/installing-home-assistant-core-202230-on-raspberry-pi-3b-step-by-step#1207

 

 

enable SSHserver  On Raspberry Pi 3b+ default

ssh login fails due to SSHserver  disabled  On RP default

Can't SSH into Raspberry Pi 3b+ from Windows 10

https://www.msly.cn/boards/topic/57/installing-home-assistant-core-202230-on-raspberry-pi-3b-step-by-step#1204

 

Part 2:SSH client

 

 

Part 3:Install Home Assistant Core(first)

 

查看树莓派操作系统版本

https://www.msly.cn/boards/topic/57/installing-home-assistant-core-202230-on-raspberry-pi-3b-step-by-step/page/1#1203

 

Install OS  or update OS

Debian operating system

How to Update Debian operating system

https://www.msly.cn/boards/topic/57/installing-home-assistant-core-202230-on-raspberry-pi-3b-step-by-step/page/3#18828

 

How to Update Debian Kernel version

https://www.msly.cn/boards/topic/57/installing-home-assistant-core-202230-on-raspberry-pi-3b-step-by-step/page/3#18932

 

 

Install software

   Initial configuration

 

My home assistant core series on Raspberry 3b+ Step by Step

https://www.msly.cn/boards/topic/3189/my-home-assistant-core-series-on-raspberry-3b-step-by-step

 

project.jpg

 

History

2022.12 - Home Assistant core

I am running Home Assistant core on a Raspberry Pi 3B+ connected to my network via ethernet.

I started using Home Assistant core from version 2022.3.0 installed on a RPi 3B+ in the beginning of Dec 2021.

My personal setup of Home Assistant works for over 3 years and I have over 50 devices integrated to my RPI 3b+ with Home Assistant that I run on Home assistant core 2022.11.3.

My current set-up is debian 11  running on a RPI P3b+ with Home Assistant Core 2022.3  running in Python virtual environment .

 

 

I followed JuanMTech’s tutorial on how to do it.

I have quite a lot of smart devices in my home which I plan to add to HA and would like to ask your help to determine what is possible and what not, and if and how much I would need to further invest to make everything work; to choose on the right direction from the beginning.

These are the devices in scope which I have:

Xiaomi:

China Mainland server only compatible:

-Philips ZhiRui bedside lamp (with BLE gateway)

 

Europe server only compatible:

-two Xiaomi Mi v2 gateways

-several zigbee smart-plugs

-Air Purifier

-Roborock vacuum (this one probably makes no sense to integrate)

 

Compatible with all servers:

 

door/window sensors

motion sensors

vibration sensors

Aqara wireless switch

Mi wireless switch

Yeelight strip

Mi Bedside lamp v2

Mi Bluetooth temp/humidity sensor

Meross (zigbee):

-Hub

-Smart thermostat valve

 

The two gateways are used as night lights triggered motion sensors and security alarms triggered by door/window, vibration and motion sensors. At the same time the Mi bedside lamp and Yeelight strip turn on if certain sensors are triggered during the night.

 

2023.02 -  debian 11 OS -  Home Assistant Core 

Server Components

Operating System: debian 11 OS

 

Feb 3, 2023 

Installing Home Assistant Core 2023.2.2 in a Python vEnv on Raspberry Pi 3B+ step by step

https://community.home-assistant.io/t/installing-home-assistant-core-2023-2-2-in-a-python-venv-on-raspberry-pi-3b-step-by-step/529311

 

Jun 4, 2023 

Installing Home Assistant Core 2023.5.4 in a Python 3.11 vEnv on Raspberry Pi 3B+ step by step

https://blog.matterxiaomi.com/blog/install-home-assistant-core-debian-server-part2/

 

October 9, 2023

How To upgrade Home Assistant Core in a Python vEnv on Raspbian (Raspberry Pi 3B+)

https://www.msly.cn/home-assistant-core-upgrade

 

20231130

Install Homebridge on Raspbian( Raspberry Pi PB+)

https://blog.matterxiaomi.com/blog/Install-uninstall-reinstall-Homebridge-Raspbian-part1/

 

2024 - Raspberry Pi OS Lite (64-bit) Home Assistant Docker

Raspberry Pi has many linux image files available for the operating system. I selected the Raspberry Pi OS Lite (64-bit). 

Hardware

Raspberry Pi Model 3B+
20gb SD Card
Ethernet cable

 

 

OS

Raspberry Pi OS Lite (64-bit)

# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm

Installation Type

Version	core-2024.1.5
Installation Type	Home Assistant Container
Development	false
Supervisor	false
Docker	true
User	root
Virtual Environment	false
Python Version	3.11.6
Operating System Family	Linux
Operating System Version	6.1.0-rpi7-rpi-v8
CPU Architecture	aarch64
Timezone	Asia/Shanghai
Configuration Directory	/config

 

Software

PC on local network with  xshell for setup via SSH.

 

20240118

install Raspberry Pi OS Lite (64-bit) with an SD card reader

https://www.matterxiaomi.com/boards/topic/20870/how-to-install-raspberry-pi-os-lite-64-bit-with-an-sd-card-reader/page/1

20240120

Enable SSH on Raspberry Pi

https://blog.matterxiaomi.com/blog/Raspberry-Pi-ssh-server-part1/

 

20240121

Install docker on Raspberry Pi 3b+

https://www.matterxiaomi.com/boards/topic/14618/install-docker-on-raspberry-pi

 

20240122

Docker run with docker discover

https://www.matterxiaomi.com/boards/topic/15671/docker-cli/page/2#28426

20240122

move git from ha core to ha docker

https://www.matterxiaomi.com/boards/topic/20879/move-git-from-ha-core-to-home-assistant-with-docker-on-raspberry-pi-3b-raspberry-pi-os-lite-64-bit#28388

20240122

add yeelight integration for yeelight wifi devices

https://www.matterxiaomi.com/boards/topic/14463/instructions-on-how-to-setup-yeelight-wifi-devices-within-home-assistant

add broadlink integration

https://www.matterxiaomi.com/boards/topic/14518/smart-plug-broadlink-sp4lcn-discovered-by-broadlink-integration

 

20240128

move devices data to new ha

https://www.msly.cn/boards/topic/20880/4init-first/page/2#28440

 

add m1s with homekit controller(aqara home mode)

https://blog.matterxiaomi.com/blog/Configure-Aqara-M1S-Gateway-HomeAssistant-part3/

 

20240129

move third part integration,*.ymal to new ha

https://blog.matterxiaomi.com/boards/topic/20880/4init-first/page/2#28441

 

20240130

move automatic.ymal to new  ha 

 

 

 

 

20240130

move old lovelace dashboard new data to new first core 2024.1.5

https://blog.matterxiaomi.com/boards/topic/14497/default-dashboard-changed/page/2

 

 

20240202

modify hosts on windows because of git to slow

ping github.com on vultr multi times

get two diffrent ip address

modify hosts file

20240202

enable mi ai speaker pro dlna on mi home app

discover

test edge tts run ok

https://blog.matterxiaomi.com/boards/topic/14488/microsoft-edge-tts-for-home-assistantno-need-to-apply-for-app_key-dlna#28464

20240202

Start docker run ha containers automatically

https://blog.matterxiaomi.com/boards/topic/15671/docker-cli/page/2#28468

 

20240203

Home Assistant Remote access - Raspberry Pi OS Lite (64-bit) ha docker

https://blog.matterxiaomi.com/blog/home-assistant-remote-access-part-2/

http://www.matterxiaomi.com/boards/topic/3224/how-to-install-and-uninstall-reinstall-nginx-on-raspberry-pialiyun-vps-server-frpraspberry-pi-3bhow-

 

 

20240210

add holiday intrgration(build-in)

add workday integration(build-in)

 

20241102 - update to docker ha  core 2024.10.4

update to docker ha  core 2024.10.4

upate to XiaomiGateway3-4.0.6, v4.0.6 - 2024-09-04 detail

update hacs to version 2.01   detail

update xiaomi miot auto to v0.7.22 - 2024-11-04  detail

 

docker pull nodered/node-red

docker pull rhasspy/wyoming-whisper

docker pull rhasspy/wyoming-piper

docker pull homebridge/homebridge

 

In this post I will cover the following devices:

 

 

 

 

Below we have included a list of the equipment that you will need to set up your Raspberry Pi powered Bluetooth speakers.

Step 1: Prepare SD for Base Operating System

Step 2: Login to the PI Through a Monitor/keyboard or Network SSH https://www.msly.cn/boards/topic/57/installing-home-assistant-core-on-raspberry-pi-3b/page/2#2324

Restart hass

Track Home/Away Status for Your Household Using Home Assistant

way 1:detect presence is by checking which devices are connected to the network.

way 2: run an app on your phone to provide detailed location information to your Home Assistant instance.

 

 

M1S  - aqara home app

aqara home app  cn version

china server

chinese

 

 

Aqara brand

 

mijia  brand

RTCGQ01LM    zigbee 1.2

WXKG01LM     zigbee 1.2

MCCGQ01LM   zigbee 1.2

 

Local Voice Assistant In Home Assistant Using USB Microphone - Docker Container

https://smarthomecircle.com/setup-voice-assistant-with-home-assistant-using-docker-usb-microphone

Comments


Comments are closed