USB1 not USB0

This commit is contained in:
2026-08-01 11:21:14 -07:00
parent 97c30acfdd
commit 9e85a6d538
2 changed files with 27 additions and 17 deletions
+14 -4
View File
@@ -11,7 +11,19 @@ services:
- ./mosquitto/data:/mosquitto/data
- ./mosquitto/log:/mosquitto/log
healthcheck:
test: ["CMD", "mosquitto_pub", "-p", "1883", "-t", "healthcheck", "-m", "ok", "-r", "--quiet"]
test:
[
"CMD",
"mosquitto_pub",
"-p",
"1883",
"-t",
"healthcheck",
"-m",
"ok",
"-r",
"--quiet",
]
interval: 30s
timeout: 5s
retries: 3
@@ -29,7 +41,7 @@ services:
- ./zigbee2mqtt:/app/data
devices:
- source: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.2:1.0-port0
target: /dev/ttyUSB0
target: /dev/ttyUSB1
permissions: rw
entrypoint: ["/app/data/scripts/entrypoint.sh"]
command: ["/sbin/tini", "--", "node", "index.js"]
@@ -170,5 +182,3 @@ services:
volumes:
librespot_cache:
+7 -7
View File
@@ -3,7 +3,7 @@ mqtt:
base_topic: zigbee2mqtt
server: mqtt://mosquitto:1883
serial:
port: /dev/ttyUSB0
port: /dev/ttyUSB1
adapter: blz
baudrate: 2000000
rtscts: false
@@ -42,20 +42,20 @@ frontend:
port: 8080
permit_join: false
groups:
'1':
"1":
friendly_name: all_plugs
devices:
- Squiggle
- Sideboard Lamp
- Bamboo Lights
devices:
'0xffffb40e0604fbd0':
"0xffffb40e0604fbd0":
friendly_name: Squiggle
'0xffffb40e06065536':
"0xffffb40e06065536":
friendly_name: Door Button
'0xffffb40e0603c9e4':
"0xffffb40e0603c9e4":
friendly_name: Sideboard Lamp
'0xffffb40e06050af6':
"0xffffb40e06050af6":
friendly_name: Bamboo Lights
'0xffffb40e0603ef11':
"0xffffb40e0603ef11":
friendly_name: DJ Booth