Skip to content

Commit 7160722

Browse files
feat(video): Create Your Own Zigbee Hub & Network
1 parent d34875c commit 7160722

File tree

3 files changed

+230
-0
lines changed

3 files changed

+230
-0
lines changed
Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
---
2+
layout: post
3+
title: "Create Your Own Zigbee Hub & Network"
4+
date: 2024-08-04 08:00:00 -0500
5+
categories: home-automation hardware
6+
tags: hardware home-automation zigbee home-assistant
7+
image:
8+
path: /assets/img/headers/create-your-own-zigbee-hub-hero.webp
9+
lqip: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAUACgMBEQACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/APk3wx4j8OQS6bqK/Cz4fyXGmrptjPqkt18SofEOr3bQ3FndanfXumfEbTdEtbi5ivZryRNC8NaMJ9YnutU1B795YIbX8/xNPDz/AHP1WhOpioVHVqV3iKsZ/ulDllShXo8sZctKVaFGdGFVwk3GMp80fo8Zi6uFrOVCpUi8ThIyrc0cM41JJY+/tKMcLDDzjOEZRqxlRtUdRyaSp0Y0/tjT/G/iB7CxdJILFHs7ZkstMuvEdvp1mrQoVtdPt7nxFe3EFlbgiK0hnvLuaKBI0luZ3VpX+Lr53icPWrYel7aFOhVqUacKePx8KcIUpuEIwh9ZfJCMYpRjd8qSV3Y/Qsq44ynBZXluDrcK0MTWwmAweGq4iOIyyksRUoYenSnWVKpw9ialNVZRc1TniK84KXLKtVknOX//2Q==
10+
---
11+
12+
This simple but powerful little adapter lets you build your own Zigbee network and easily add and manage it in Home Assistant, no hub required!
13+
14+
{% include embed/youtube.html id='8e4oaUHlMsE' %}
15+
📺 [Watch Video](https://www.youtube.com/watch?v=8e4oaUHlMsE)
16+
17+
## Disclosures
18+
19+
- Nothing in this video was sponsored
20+
21+
## Info
22+
23+
- SMLIGHT homepage: <https://smlight.tech/>
24+
- Zigbee2MQTT: <https://github.com/Koenkk/zigbee2mqtt>
25+
- Mosquitto: <https://github.com/eclipse/mosquitto>
26+
- Home Assistant: <https://github.com/home-assistant/core>
27+
28+
## Hardware
29+
30+
SMLIGHT SLZB-06: <https://amzn.to/4doSJ6B> (affiliate link)
31+
32+
## Code
33+
34+
A simplified Home Assistant Stack with Zigbee2MQTT Support. Don't forget to update your [Zigbee2MQTT configuration!](https://www.zigbee2mqtt.io/guide/installation/01_linux.html#configuring)
35+
36+
```yaml
37+
---
38+
services:
39+
homeassistant:
40+
container_name: homeassistant
41+
image: ghcr.io/home-assistant/home-assistant:stable
42+
depends_on:
43+
- mqtt
44+
- zigbee2mqtt
45+
volumes:
46+
- /etc/localtime:/etc/localtime:ro
47+
- /etc/timezone:/etc/timezone:ro
48+
- ./home-assistant/config:/config
49+
environment:
50+
- PUID=${PUID:-1000}
51+
- PGID=${PGID:-1000}
52+
restart: unless-stopped
53+
ports:
54+
- 8123:8123
55+
mqtt:
56+
container_name: mqtt
57+
environment:
58+
- PUID=${PUID:-1000}
59+
- PGID=${PGID:-1000}
60+
image: eclipse-mosquitto:latest
61+
restart: unless-stopped
62+
volumes:
63+
- /etc/localtime:/etc/localtime:ro
64+
- /etc/timezone:/etc/timezone:ro
65+
- ./mqtt/data:/mosquitto
66+
ports:
67+
- 1883:1883
68+
- 9001:9001
69+
command: mosquitto -c /mosquitto-no-auth.conf
70+
71+
zigbee2mqtt:
72+
container_name: zigbee2mqtt
73+
environment:
74+
- PUID=${PUID:-1000}
75+
- PGID=${PGID:-1000}
76+
restart: unless-stopped
77+
image: koenkk/zigbee2mqtt:latest
78+
restart: unless-stopped
79+
volumes:
80+
- /etc/localtime:/etc/localtime:ro
81+
- /etc/timezone:/etc/timezone:ro
82+
- ./zigbee2mqtt/data:/app/data
83+
ports:
84+
- 8080:8080
85+
```
86+
87+
My Home Assistant Stack:
88+
89+
```yaml
90+
---
91+
services:
92+
homeassistant:
93+
container_name: homeassistant
94+
networks:
95+
iot_macvlan:
96+
ipv4_address: 192.168.20.202
97+
traefik:
98+
image: ghcr.io/home-assistant/home-assistant:stable
99+
depends_on:
100+
- faster-whisper-gpu
101+
- wyoming-piper
102+
- mqtt
103+
- zigbee2mqtt
104+
volumes:
105+
- /etc/localtime:/etc/localtime:ro
106+
- /etc/timezone:/etc/timezone:ro
107+
- ./home-assistant/config:/config
108+
environment:
109+
- PUID=${PUID:-1000}
110+
- PGID=${PGID:-1000}
111+
restart: unless-stopped
112+
labels:
113+
- "traefik.enable=true"
114+
- "traefik.http.routers.homeassistant.rule=Host(`homeassistant.local.techtronic.us`)"
115+
- "traefik.http.routers.homeassistant.entrypoints=https"
116+
- "traefik.http.routers.homeassistant.tls=true"
117+
- "traefik.http.routers.homeassistant.tls.certresolver=cloudflare"
118+
- "traefik.http.routers.homeassistant.middlewares=default-headers@file"
119+
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
120+
- "com.centurylinklabs.watchtower.enable=true"
121+
faster-whisper-gpu:
122+
image: lscr.io/linuxserver/faster-whisper:gpu
123+
container_name: faster-whisper-gpu
124+
networks:
125+
- traefik
126+
environment:
127+
- PUID=${PUID:-1000}
128+
- PGID=${PGID:-1000}
129+
- WHISPER_MODEL=tiny-int8
130+
- WHISPER_BEAM=1 #optional
131+
- WHISPER_LANG=en #optional
132+
volumes:
133+
- /etc/localtime:/etc/localtime:ro
134+
- /etc/timezone:/etc/timezone:ro
135+
- ./faster-whisper/data:/config
136+
restart: unless-stopped
137+
labels:
138+
- "com.centurylinklabs.watchtower.enable=true"
139+
deploy:
140+
resources:
141+
reservations:
142+
devices:
143+
- driver: nvidia
144+
count: 1
145+
capabilities: [gpu]
146+
wyoming-piper:
147+
container_name: wyoming-piper
148+
networks:
149+
- traefik
150+
image: rhasspy/wyoming-piper # no gpu
151+
volumes:
152+
- /etc/localtime:/etc/localtime:ro
153+
- /etc/timezone:/etc/timezone:ro
154+
- ./wyoming-piper/data:/data
155+
environment:
156+
- PUID=${PUID:-1000}
157+
- PGID=${PGID:-1000}
158+
restart: unless-stopped
159+
labels:
160+
- "com.centurylinklabs.watchtower.enable=true"
161+
command: --voice en_US-lessac-medium
162+
deploy:
163+
resources:
164+
reservations:
165+
devices:
166+
- driver: nvidia
167+
count: 1
168+
capabilities: [gpu]
169+
mqtt:
170+
container_name: mqtt
171+
networks:
172+
- traefik
173+
environment:
174+
- PUID=${PUID:-1000}
175+
- PGID=${PGID:-1000}
176+
image: eclipse-mosquitto:latest
177+
restart: unless-stopped
178+
labels:
179+
- "com.centurylinklabs.watchtower.enable=true"
180+
volumes:
181+
- /etc/localtime:/etc/localtime:ro
182+
- /etc/timezone:/etc/timezone:ro
183+
- ./mqtt/data:/mosquitto
184+
command: mosquitto -c /mosquitto-no-auth.conf
185+
186+
zigbee2mqtt:
187+
container_name: zigbee2mqtt
188+
networks:
189+
iot_macvlan:
190+
ipv4_address: 192.168.20.204
191+
traefik:
192+
environment:
193+
- PUID=${PUID:-1000}
194+
- PGID=${PGID:-1000}
195+
restart: unless-stopped
196+
labels:
197+
- "traefik.enable=true"
198+
- "traefik.http.routers.zigbee2mqtt.rule=Host(`zigbee2mqtt.local.techtronic.us`)"
199+
- "traefik.http.routers.zigbee2mqtt.entrypoints=https"
200+
- "traefik.http.routers.zigbee2mqtt.tls=true"
201+
- "traefik.http.routers.zigbee2mqtt.tls.certresolver=cloudflare"
202+
- "traefik.http.routers.zigbee2mqtt.middlewares=default-headers@file"
203+
- "traefik.http.services.zigbee2mqtt.loadbalancer.server.port=8080"
204+
- "com.centurylinklabs.watchtower.enable=true"
205+
image: koenkk/zigbee2mqtt:latest
206+
volumes:
207+
- /etc/localtime:/etc/localtime:ro
208+
- /etc/timezone:/etc/timezone:ro
209+
- ./zigbee2mqtt/data:/app/data
210+
networks:
211+
traefik:
212+
external: true
213+
iot_macvlan:
214+
external: true
215+
216+
```
217+
218+
## Join the conversation
219+
220+
<blockquote class="twitter-tweet" data-dnt="true" data-theme="dark"><p lang="en" dir="ltr">I finished my mini server rack build! I basically shrunk an entire HomeLab into this small rack.<br><br>Check it out! ----&gt;<a href="https://t.co/NPI2YcSZcb">https://t.co/NPI2YcSZcb</a> <a href="https://t.co/xJRmwyXYzP">pic.twitter.com/xJRmwyXYzP</a></p>&mdash; Techno Tim (@TechnoTimLive) <a href="https://twitter.com/TechnoTimLive/status/1816858365676650959?ref_src=twsrc%5Etfw">July 26, 2024</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
221+
222+
## Links
223+
224+
🛍️ Check out the new Merch Shop at <https://l.technotim.live/shop>
225+
226+
⚙️ See all the hardware I recommend at <https://l.technotim.live/gear>
227+
228+
🚀 Don't forget to check out the [🚀Launchpad repo](https://l.technotim.live/quick-start) with all of the quick start source files
229+
230+
🤝 Support me and [help keep this site ad-free!](/sponsor)
Binary file not shown.

0 commit comments

Comments
 (0)