Category:Official’
Useful Home Assistant resources
- by joerg
Developer resources
https://developers.home-assistant.io/docs/core/entity/climate/
Developer docs for the core modules
Bosch Smart home
https://github.com/tschamm/boschshc-hass
Bosch Home Assistant integration
https://github.com/BoschSmartHome/bosch-shc-api-docs
Bosch Smart Home rest-api documentation
Installing Home Assistant with Arch Linux on a Raspberry pi zero w
- by joerg
Prepare and boot Arch
Follow this guide to prepare boot medium for arch:
https://mplx.eu/de/tech/raspberry-pi-zero-rp0w-headless-archlinux/
https://archlinuxarm.org/platforms/armv6/raspberry-pi
Add bluetooth kernel parameter to load bluetooth firmware:
/boot/config.txt
dtparam=krnbt=on
Please not that the Raspberry pi w can only use 2.4 based wlans, so make sure the 2.4 ghz band is enabled on router.
Prepare system for manual package installations
pacman -S base-devel git
Install yay (to install aur packages)
https://github.com/Jguer/yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Bluetooth installation
Add bluetooth kernel parameter to load bluetooth firmware:
/boot/config.txt
dtparam=krnbt=on
Ensure that in the same file enable_uart=0
(default) and /dev/ttyAMA0 is not used in/boot/cmdline.txt
for the console
yay -S bluez bluez-utils-compat
we need the compat tools (hcitool / hciconfig) for room-assistant
/etc/bluetooth/main.conf
[Policy]
AutoEnable=true
Install Home Assistant & Co.
Follow the installation guide of home assistant, but instead of using the ubuntu installation package use this one for arch:
pacman -S home-assistant
Hacs installation with the homeassisant user:
wget -q -O – https://hacs.xyz/install | bash –
Install, enable and start the Mosquitto MQTT Broker as the IOT message broker:
pacman -S mosquitto
systemctl enable mosquitto
systemctl start mosquitto
Install and configure Room Assistant:
pacman -S nodejs npm
npm i –global –unsafe-perm room-assistant# to run without root rights as root:
setcap cap_net_raw+eip $(eval readlink -fwhich hcitool
)
setcap cap_net_admin+eip $(eval readlink -fwhich hciconfig
)
You find detailed installation instructions for installation and configuration here.
Deprecated Linux networking commands and their replacements
- by joerg
Good introduction and sample replacement commands by Doug Vital Tech Blog
Hello world!
- by joerg
7thbit starting with a classic opening