Skip to content

mslycn/my-home-assistant-core-project

Repository files navigation

websitedocscommunityadd-ons

home-assistant core project

Beginners guide to use smart devicesgit with HomeAssistant

从零开始搭建一套HomeAssistant智能家居系统

A Complete Smart Home Solution.It is possible to install Home Assistant Core without Docker. However, it is a more complex process that requires advanced technical knowledge. Users need to install Python, set up a virtual environment, and install Home Assistant Core manually. A step-by-step guide can be found on this doc.

To learn the Home Assistant system from the beginning, it is best to install manually, from a virtualenv!

Home Assistant系统搭建详细教程

树莓派安装操作系统 树莓派安装Home Assistant

Home Assistant配置详细教程

Home assistant integration设备接入详细教程

Home Assistant远程管理详细教程

本项目对应于《HomeAssistant智能家居实战篇》系列内容中的文档。

home-assisant.msly.cn

Contents

Install homeassistant core

  1. home assisant project-install home assisant core 2022.3.0 on Raspberry Pi3b+

  2. Install Home Assistant Docker On Windows Using VMware Workstation 17 Pro series)

  3. Install Home Assistant OS On Windows Using VMware Workstation 17 Pro series)

ssh client

  1. [ssh client]

  2. Docker

Learn to install Docker properly on Raspberry Pi OS in this tutorial.

  1. 组件接入基础篇

    • [让设备发声——朗读文字 小度音箱] edge tts
    • [让设备发声——朗读文字 小爱player]
    • [让设备发声——朗读文字 小爱pro老版] edge tts
    • [让设备发声——朗读文字 小米音箱pro新版]
    • [让设备发声——朗读文字 PC]
    • [让设备发声——朗读文字 android phome]
    • 让设备看到——使用手机摄像头做监控
    • 接入硬件产品——小米多功能网关
    • 接入自定义组件-和风天气
    • 接入Logitech media server
    • [Plex Media Server]
    • [Spotify Connect]
  2. 操作进阶篇

    • 设置地理位置与界面语言
    • 实体显示属性自定义
    • 系统信息 - System Health integration - System Health integration data can be viewed at Settings -> System -> Repairs -> System Information in the overflow menu (top right).
    • 配置目录 - Configuration Directory /home/homeassistant20221103/.homeassistant
  3. 设备位置追踪篇

  4. 自动化篇

  5. 自动化篇

  6. HomeAssistant创建模板实体(Template) 通过代码模拟出各种各样的智能家居设备

  7. 设备接入篇 Light

    • 通断器 不支持凌动,不支持调节亮度和色温;
    • 凌动通断器 不支持调光
    • 3C凌动通断器 不安全
    • [单色温调光驱动] 调色温
    • [双色温调光驱动] 调色温
    • [三色温调光驱动] 调色温
    • [电源驱动]
    • 预留
  8. 设备接入篇(1)

    • 太阳、月亮、季节和潮汐
    • 天气与预报——yr、DarkSky、……
    • 红外遥控——博联RM系列产品
    • 红外遥控——小米万能遥控器
    • 文件夹监测——FolderWatche
    • 云端的自动化——IFTTT(2)
    • 系统性能监控——SystemMonitor
  9. PC接入篇

    • HASS.Agent c#
    • PC RTSP协议摄像头与ffmpeg
    • PC ONVIF协议摄像头
    • PC 麦克风
    • PC 音箱
    • PC 自动开机
  10. Player Providers - DLNA

    • [Android手机DLNA] Android手机:全功能DLNA:安装MirageDLNA
    • PC DLNA Media Renderer Kodi DLNA Media Renderer on pc.Windows Media Player ,Install VLC Media Player,Install Kodi
  11. 各种摄像头接入篇

    • 支持MJPEG的摄像头与图片抓取
    • RTSP协议摄像头与ffmpeg
    • ONVIF协议摄像头
    • 有线树莓派CSI与USB摄像头
    • 小米的大方摄像头
    • 天气预报与交通状况图——另类摄像头
  12. 本地AI摄像头-人脸识别篇

  13. 本地离线语音篇 stt

  14. 本地离线语音篇 stt projects that use Vosk

    • docker wyoming-vosk A standalone container for vosk using the wyoming protocol. for home assistant docker
    • 预留
  15. DIY智能音箱

    • DIY智能音箱(1)——整体架构、硬件安装
    • DIY智能音箱(2)——snowboy、speech_recognition
    • DIY智能音箱(3)——完成主程序架构
    • DIY智能音箱(4)——与HomeAssistant交互
    • Rhasspy Voice Assistant it works with Hermes protocol compatible services (Snips.AI) Home Assistant and Hass.Openhub
    • Wyoming Satellite Wyoming Satellite 是一个使用 Wyoming 协议的远程语音项目,通过ESP32或类似硬件实现本地唤醒词检测和stt功能
    • Wyoming Satellite 远程语音卫星源码工作原理 远程语音智能音箱,使用Wyoming协议,进行本地唤醒词检测和音频增强,接入智能家居系统ha
    • [基于esphome的语音助手]
    • Assist Microphone uses a local USB microphone to control Voice Assist.
    • Atom Echo语音助手教程 Atom Echo语音助手 接入ha教程。
  16. 本地离线语音篇 AI

  17. 本地离线语音篇 mcp

  18. Brand ZigBee网关设备接入篇(2)

  19. 开源Zigbee hub接入篇(Diy Zigbee network)

  20. aqara设备接入篇(2)

  21. Aqara hub M2组件接入基础篇(IOS users)

  22. 使用苹果设备语音控制篇

    • 通过Homekit与苹果Siri连接(1)
    • 通过Homekit与苹果Siri连接(2)
    • 捷径与HA的接口调用
    • 在HA中完成语音文字处理——chrome语音控制
    • 苹果设备语音控制全自由定制
    • esp-homekit-devices
    • c# Homekit.Net 通过c#代码模拟出各种各样的智能家居设备,并添加到苹果手机的家庭app中
  23. 手机接入篇 消息通知 短信 消息到手机 ha app

  24. Midea 接入篇

  25. haier 接入篇

  26. 数据记录篇

    • 历史数据基础概念
    • 数据组件的配置、mysql数据库及其它
  27. AppDaemon与DashBoard

    • 安装、配置与初步运行
    • DashBoard配置(1)
    • DashBoard配置(2)
    • 制作App——一个最简单的样例
    • 制作App——应用callback
    • Picture elements card 2D How to create a floorplan in home assistant
    • Picture elements card 2D Control your house in Home Assistant with a Picture Elements Card
    • Custom Mushroom card 代码使用案例
    • [Auto-entities]

Install Node red

  1. Installing Node red for Home Assistant Core

Install Homebridge Integration

  1. Installing Homebridge for Apple Home app

Install matter server Integration

  1. Installing matter server for for Home Assistant Core

Install OTBR Integration

  1. Installing Open Thread Border Router for for Home Assistant Core

Install MatterBridge Integration

  1. Installing MatterBridge for for Home Assistant Core

  2. 树莓派GPIO口设备连接篇

    • 直连树莓派的LED(1)——NodeRED接入/HA中rpi_gpio_pwm组件
    • 直连树莓派的LED(2)——HA 中的shell_command/binary_sensor.command_line/light.template
    • 直连树莓派的温湿度传感器
  3. MQTT Integration篇

  4. 成为HomeAssistant开发者

  5. IOS App的使用

  6. Home Assistant Companion App的使用

  7. Lovelace定制界面

    • 理解Lovelace页面的结构
    • Lovelace中的卡片
    • 使用自定义lovelace卡片
  8. 抓取Internet信息作为传感器

    • 即时股票行情——使用sensor.rest
    • 各种网站页面元素——sensor.scrape组件
  9. 音乐灯带

    • 音乐灯带——硬件连接与基本使用
    • Arduino与ESP硬件
    • 音乐灯带——音频处理过程与Arduino平台编译
    • 雷特驱动查询网址
  10. 远程麦克风

  11. 485总线

    • 实现485总线通讯
    • 接入自定义ascii码指令集的设备
    • 接入modbus设备
    • 自定义二进制命令设备的接入
  12. KNX

    • 家庭总线部署方案与KNX
    • 使用IPRouter接入HomeAssistant
    • 使用ncn5120模块-USB连接模式
    • 使用ncn5120模块-WIFI连接模式
  13. 室外物联网

    • 全球卫星定位
    • [GPS定位Traccar使用教程]
    • NB-IOT
    • 车载定位(1)—traccar安装与配置
    • 车载定位(2)—车载设备diy
    • [Gpslogger app]
    • [Owntracks app]
  14. docker

  15. DIY红外与433转发设备 ir

Home Assistant Remote access

  1. Home Assistant Remote access - frp
  2. home assisant project-remote access on Raspberry Pi3b+
  • Home Assistant Remote access - The Possible Solutions
  • 加餐
    • 使用TensorFlow进行物体识别
    • 使用NFC识别不同的ID卡
    • ESPHome中的自动化
    • 制作树莓派镜像文件(1)
    • 制作树莓派镜像文件(2)
  1. Multi-Room Music Solution works with home assistant 实现音乐服务器

_I was able to cook up a fun audio setup controlled and automated with Home Assistant! It features Multiple room synchronised audio speakers (fixed/analog, portable Bluetooth devices and via app on phone or tablet) Playback of internet radio, Spotify streaming and local audio files. Sound notifications for Doorbell, garden gate and other sensors and home alarm events.

Install Plex, Jellyfin, Kodi, or Universal Media Server.Many different media servers support DLNA.

Options for Multi-Room Music Solution

Snapcast 是一个开源的多房间音频同步播放系统._

专业音频:与AirPlay/Spotify Connect - Mopidy Server a music server that can play local files, or connect to streaming music services like Spotify. - Logitech Media Server Logitech Media Server服务器,通过安装插件,LMS可以将局域网内支持airplay、Chromecast、DLNA等协议的设备进行统一管理,统一控制; - [synchronous multiroom audio with Snapcast] Snapcast 是一个开源的多房间音频同步播放系统,.服务器端:需安装 snapserver 客户端:需安装 snapclient - Snapcast Server which enables synchronized audio streaming across your network. Snapcast is a multi-room client-server audio player, where all clients are time synchronized with the server to play perfectly synced audio. Snapcast Client是一个接收并同步播放来自Snapcast Server音频流的客户端程序,支持多平台和设备,允许构建低延迟同步的多房间音频系统It's not a standalone player, but an extension that turns your existing audio player into a Sonos-like multi-room solution. - Plex Media Server 树莓派Raspberry Pi 安装Plex Media Server并挂载USB硬盘打造微型家庭影音服务器 - Music Assistant Server How to Setup Music Assistant in Home Assistant - Music Assistant Server-Add Player Provider Add Player Provider(squeezelite) - [Spotify Connect] Spotify Connect is a feature that allows you to stream music from Spotify to compatible devices (like speakers, TVs, or gaming consoles) over Wi-Fi or a local network, using your phone, tablet, or computer as a remote control. - picoreplayer Recommended hardware for multi room audio

- [Set Up Windows 10 as DLNA Renderer]   Intall Kodi,vlc as DLNA Renderer
  1. 影音系统 实现影音服务器
  2. 镜像投屏 Mirror Iphone to TV

一般投屏的协议通道,三种。 DLNA最常用,爱奇艺优酷腾讯哔哩哔哩等视频投屏都是用DLNA投屏协议。 MIRACAST协议,这个主要用于镜像,比较少用。 Airplay协议苹果手机的屏幕镜像功能,视频APP里的airplay入口都是airplay投屏协议, 最后是lelink协议

- [RPiPlay 项目](https://github.com/FD-/RPiPlay) RPiPlay项目暂只适合播放PPT,卡得要死
- [balena-rpiplay 项目](https://sspai.com/post/70302)  balena-rpiplay 可以把你的树莓派变成 Airplay Server,用户把苹果设备的屏幕镜像串流到树莓派上,而树莓派则通过 HDMI 连接电视/显示器/投影仪,部署了这个项目以后算是 Apple TV 盒子中 Airplay 功能的平替。
- [Shairport-sync]( https://github.com/mikebrady/shairport-sync) broadcast an audio stream from your phone to the main device. The broadcast will be via Airplay
- [How to Setup a Raspberry Pi as an AirPlay Receiver](https://fleetstack.io/blog/raspberry-pi-airplay-receiver) 使用树莓派安装shairport-sync使老音响变身AirPlay音响	
- [iPhone镜像投屏到电视](https://www.apeaksoft.com/zh-CN/mirror-screen/mirror-iphone-to-tv/)	 如何将 iPhone 镜像到 Apple TV;将 iPhone 镜像到支持AirPlay电视
  1. NAS - Synology
  2. NAS - 飞牛fnos
  3. NAS - TrueNAS

Install ESPHome Integration

  1. DIY智能硬件ESP32篇
  2. 成为ESPHome开发者
  • 精彩众创教程
    • 魔镜系列——魔镜安装(by JonnyWong)
    • 魔镜系列:天气组件openweather(by JonnyWong)
    • 魔镜系列:第三方组件WeeklySchedule(by JonnyWong)
    • 魔镜系列:获取HomeAssistant中实体状态(by JonnyWong)
    • 魔镜系列:联动智能音箱(by JonnyWong)
    • 在群晖中安装ESPHome(by Bobo)
    • ESPHome-SonoffBasic完整接入过程(by Bobo)
    • ESPHome-接入SonoffRF(by Bobo)
    • ESPHome-接入SonoffPow(by Bobo)
    • ESPHome-接入Sonoff4CH4路继电器(by Bobo)
    • ESPHome-H801玩转RGB+冷暖光(by Bobo)
    • Esphome-空气质量传感器(by Bobo)
    • EspHome-DIY小屏幕(by Bobo)
    • 设计与制作PCB板(by Zack-Xu)
    • 树莓派安装HASS.IO(by Zack-Xu)
    • HASSIO.IO与常规运行环境区别(by Zack-Xu)
    • x86下ubuntu虚机及HomeAssistant安装(by 猛将兄)
    • dfrobot sensor diy sensor via dfrobot brand
  1. matterxiaomi

  2. CloudFlare

  • Home assistant training course
    • Home assistant online course for developers

树莓派

Useful links

  1. 全屋智能的HA配置 真实案例 share configuration
    My heartfelt thanks to:

https://github.com/sl041400/Home-assistant

https://github.com/matt8707/hass-config

https://github.com/relliky/Tais_Home_Assistant_Config

  1. 小米有品
    https://www.xiaomiyoupin.com/

  2. 小米商城 https://www.mi.com/index.html

https://linptech.tmall.com/

https://linptech.jd.com/

https://opple.tmall.com/

  1. awesome-ha
    https://www.awesome-ha.com

  2. yeelight forum
    yeelight forum

  3. bbs
    https://www.mydigit.cn/thread-475884-1-1.html

https://www.right.com.cn/

https://bbs.eeworld.com.cn/

https://www.chiphell.com/

https://ngabbs.com/

https://www.chinadsl.net/

  1. blog
    https://post.smzdm.com/

https://blog.iin0.cn/

  1. web
    https://neiltw.com/

  2. project https://oshwhub.com/

立创商城 https://www.szlcsc.com/

三色灯带

https://item.szlcsc.com/546079.html

  1. web search https://www.aipan.me/

  2. web ai search

https://chat.deepseek.com/

https://yuanbao.tencent.com/

  1. Only for china user
  • Home Assistant OS 极速版

https://www.hasscn.top/about.html

  • HassBox

https://hassbox.cn/

  • 冬瓜HAOS

http://hasshome.net/

https://www.wghaos.com/

About

A Complete Smart Home Solution for matterxiaomi.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •