基于 home assistant 的核心运算处理
- mqtt https://mqtt.org/
MQTT is an OASIS standard messaging protocol for the Internet of Things (IoT). It is designed as an extremely lightweight publish/subscribe messaging transport that is ideal for connecting remote devices with a small code footprint and minimal network bandwidth. MQTT today is used in a wide variety of industries, such as automotive, manufacturing, telecommunications, oil and gas, etc.
MQTT is the most commonly used messaging protocol for the Internet of Things (IoT). MQTT stands for MQ Telemetry Transport. The protocol is a set of rules that defines how IoT devices can publish and subscribe to data over the Internet. MQTT is used for messaging and data exchange between IoT and industrial IoT (IIoT) devices, such as embedded devices, sensors, industrial PLCs, etc. The protocol is event driven and connects devices using the publish /subscribe (Pub/Sub) pattern. The sender (Publisher) and the receiver (Subscriber) communicate via Topics and are decoupled from each other. The connection between them is handled by the MQTT broker. The MQTT broker filters all incoming messages and distributes them correctly to the Subscribers.
Building the Foundation and Future of the IoT The Connectivity Standards Alliance is the place where industry professionals across the globe come together, paving the way to a world of seamless interaction that is transforming the way we live, work, and play. We believe all objects can work together to enhance our day-to-day experiences, and together we create the standards, tools, and platforms which make this possible.
https://csa-iot.org/all-solutions/zigbee/ Zigbee is the only complete loT solution — from mesh network to the universal language that allows smart objects to work together.
Matter (formerly Project Connected Home over IP, or Project CHIP) is a new Working Group within the Connectivity Standards Alliance (CSA, formerly Zigbee Alliance). This Working Group plans to develop and promote the adoption of a new, royalty-free connectivity standard to increase compatibility among smart home products, with security as a fundamental design tenet.
The goal of the Matter project is to simplify development for manufacturers and increase compatibility for consumers. The project is built around a shared belief that smart home devices should be secure, reliable, and seamless to use. By building upon Internet Protocol (IP), the project aims to enable communication across smart home devices, mobile apps, and cloud services and to define a specific set of IP-based networking technologies for device certification.
The CSA officially opened the Matter Working Group on January 17, 2020 and is in the process of drafting the specification.
- 官网： https://www.home-assistant.io/
- 仓库： https://github.com/home-assistant
- 官网： https://webthings.io/
- 仓库： https://github.com/WebThingsIO
- 官网： https://www.openhab.org/
- 仓库： https://github.com/openhab
Ubuntu 20.04 focal
基于 Home Assistant Container 的核心大脑
let's encrypt 证书
# 安装 docker-ce 及 docker compose sudo apt-get -y install docker-ce docker-compose-plugin
docker version docker compose version
- Manage Docker as a non-root user，参考文档： https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
# Create the docker group. sudo groupadd docker # Add your user to the docker group. sudo usermod -aG docker $USER