zigbee2mqtt: set stable usb serial path

This commit is contained in:
nyanloutre 2025-01-08 22:24:19 +01:00
parent 053455054d
commit 025c5aa148

View File

@ -183,6 +183,7 @@ in
zigbee2mqtt = { zigbee2mqtt = {
enable = true; enable = true;
settings = { settings = {
serial.port = "/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D97058-if00";
mqtt = { mqtt = {
server = "mqtt://${(head config.services.mosquitto.listeners).address}:${toString (head config.services.mosquitto.listeners).port}"; server = "mqtt://${(head config.services.mosquitto.listeners).address}:${toString (head config.services.mosquitto.listeners).port}";
}; };