Skip to content

Commit

Permalink
add zigbee 2 mqtt
Browse files Browse the repository at this point in the history
  • Loading branch information
nolte committed Nov 1, 2023
1 parent 5d54165 commit a076fe9
Show file tree
Hide file tree
Showing 6 changed files with 115 additions and 1 deletion.
28 changes: 28 additions & 0 deletions docs/services/zigbee2mqtt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# zigbee2mqtt

{%
include-markdown "../../src/applications/zigbee2mqtt/README.md"
start="<!--description-start-->"
end="<!--description-end-->"
%}

---

{%
include-markdown "../../src/applications/zigbee2mqtt/README.md"
start="<!--header-start-->"
end="<!--header-end-->"
%}

---


## Useful Commands

??? example "Start port forward"
{%
include-markdown "../../src/applications/zigbee2mqtt/README.md"
start="<!--port-forward-start-->"
end="<!--port-forward-end-->"
%}

4 changes: 4 additions & 0 deletions src/applications/arangodb/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# arangodb (GraphDB)

[arangodb](https://www.arangodb.com/)

32 changes: 32 additions & 0 deletions src/applications/zigbee2mqtt/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Zigbee2Mqtt (Zigbee Gateway)



<!--description-start-->
Self build Zigbee Gateway, for integrate without Vendor, like Ikea or Philips Hue.
<!--description-end-->


<!--header-start-->
**Namespace:** `zigbee2mqtt`
**Deployment:** [truecharts/zigbee2mqtt](https://github.com/truecharts/charts/blob/master/charts/stable/zigbee2mqtt/values.yaml)
**Web:** [Zigbee2Mqtt](https://www.zigbee2mqtt.io/)
<!--header-end-->

## User Access



## Useful Commands

**Port Forward**
<!--port-forward-start-->
```sh
kubectl -n zigbee2mqtt port-forward svc/zigbee2mqtt 10103
```
<!--port-forward-end-->





44 changes: 44 additions & 0 deletions src/applications/zigbee2mqtt/deploy/argocd/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: zigbee2mqtt
spec:
destination:
name: in-cluster
namespace: zigbee2mqtt
project: default
source:
chart: zigbee2mqtt
repoURL: https://charts.truecharts.org/
targetRevision: 8.0.3
helm:
releaseName: zigbee2mqtt
# https://github.com/arangodb/kube-arangodb/blob/1.2.32/chart/kube-arangodb/values.yaml
values: |
deviceList:
- name: zigbee
enabled: true
type: device
hostPath: /dev/ttyACM0 # /dev/ttyUSB0
# readOnly: true
securityContext:
container:
privileged: true
workload:
main:
podSpec:
containers:
main:
env:
ZIGBEE2MQTT_DATA: "/data"
ZIGBEE2MQTT_CONFIG_FRONTEND_PORT: "{{ .Values.service.main.ports.main.port }}"
# User defined
USE_CUSTOM_CONFIG_FILE: false
# This values are required for the autogenerated file to work.
ZIGBEE2MQTT_CONFIG_EXPIRIMENTAL_NEW_API: true
ZIGBEE2MQTT_CONFIG_PERMIT_JOIN: true
ZIGBEE2MQTT_CONFIG_MQTT_SERVER: "mqtt://192.168.178.23:31883"
ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC: "zigbee2mqtt"
ZIGBEE2MQTT_CONFIG_SERIAL_PORT: "/dev/ttyACM0"
ZIGBEE2MQTT_CONFIG_SERIAL_ADAPTER: "ezsp"
ZIGBEE2MQTT_CONFIG_HOMEASSISTANT: true
5 changes: 5 additions & 0 deletions src/applications/zigbee2mqtt/deploy/argocd/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- application.yaml
3 changes: 2 additions & 1 deletion src/bundles/smart-home/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ resources:
- ../../../src/applications/mosquitto/deploy/argocd
- ../../../src/applications/esphome/deploy/argocd
- ../../../src/applications/home-assistant/deploy/argocd
- ../../../src/applications/rest980/deploy/argocd
# - ../../../src/applications/rest980/deploy/argocd
- ../../../src/applications/zigbee2mqtt/deploy/argocd

0 comments on commit a076fe9

Please sign in to comment.