⬆️ zigbee2mqtt app template v2

This commit is contained in:
auricom
2023-10-28 16:20:49 +02:00
parent 7ce1a9b5ca
commit b0d53bed08
9 changed files with 96 additions and 175 deletions

View File

@@ -52,18 +52,6 @@ spec:
- vendor
- device
custom:
- name: "zwave"
matchOn:
- usbId:
class: ["02"]
vendor: ["0658"]
device: ["0200"]
- name: "zigbee"
matchOn:
- usbId:
class: ["ff"]
vendor: ["1a86"]
device: ["7523"]
- name: "rflink"
matchOn:
- usbId:

View File

@@ -6,3 +6,4 @@ namespace: kube-system
resources:
- ./aeotec-zwave-device.yaml
- ./google-coral-device.yaml
- ./zzh-zigbee-device.yaml

View File

@@ -0,0 +1,18 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json
apiVersion: nfd.k8s-sigs.io/v1alpha1
kind: NodeFeatureRule
metadata:
name: zzh-zigbee-device
spec:
rules:
- # zzh! CC2652R Multiprotocol RF Stick
name: zzh.zigbee
labels:
zzh.feature.node.kubernetes.io/zigbee: "true"
matchFeatures:
- feature: usb.device
matchExpressions:
class: { op: In, value: ["ff"] }
vendor: { op: In, value: ["1a86"] }
device: { op: In, value: ["7523"] }