mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
fix: zigbee2mqtt usb config
This commit is contained in:
@@ -27,14 +27,14 @@ spec:
|
|||||||
homeassistant: true
|
homeassistant: true
|
||||||
device_options:
|
device_options:
|
||||||
retain: true
|
retain: true
|
||||||
permit_join: true
|
permit_join: false
|
||||||
mqtt:
|
mqtt:
|
||||||
base_topic: zigbee2mqtt
|
base_topic: zigbee2mqtt
|
||||||
server: "mqtt://vernemq"
|
server: "mqtt://vernemq"
|
||||||
user: "${SECRET_MQTT_USERNAME}"
|
user: "${SECRET_MQTT_USERNAME}"
|
||||||
password: "${SECRET_MQTT_PASSWORD}"
|
password: "${SECRET_MQTT_PASSWORD}"
|
||||||
serial:
|
serial:
|
||||||
port: /dev/ttyUSB0
|
port: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
|
||||||
advanced:
|
advanced:
|
||||||
log_output:
|
log_output:
|
||||||
- console
|
- console
|
||||||
@@ -86,14 +86,19 @@ spec:
|
|||||||
mountPath: "/data"
|
mountPath: "/data"
|
||||||
additionalVolumeMounts:
|
additionalVolumeMounts:
|
||||||
- name: usb
|
- name: usb
|
||||||
mountPath: /dev/ttyUSB0
|
mountPath: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
|
||||||
additionalVolumes:
|
additionalVolumes:
|
||||||
- name: usb
|
- name: usb
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev/ttyUSB0
|
path: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
|
||||||
|
type: CharDevice
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- {key: "feature.node.kubernetes.io/custom-zigbee", operator: In, values: ["true"]}
|
- {
|
||||||
|
key: "feature.node.kubernetes.io/custom-zigbee",
|
||||||
|
operator: In,
|
||||||
|
values: ["true"],
|
||||||
|
}
|
||||||
|
@@ -50,6 +50,7 @@ spec:
|
|||||||
- name: usb
|
- name: usb
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev/serial/by-id/usb-0658_0200-if00
|
path: /dev/serial/by-id/usb-0658_0200-if00
|
||||||
|
type: CharDevice
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
Reference in New Issue
Block a user