42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"id": "zigbee2mqtt",
|
|
"name": "Zigbee2MQTT",
|
|
"description": "Dockerized Zigbee gateway (secubox-app-zigbee2mqtt + LuCI UI).",
|
|
"type": "docker",
|
|
"version": "1.0.0",
|
|
"source": "https://www.zigbee2mqtt.io/",
|
|
"packages": [
|
|
"secubox-app-zigbee2mqtt",
|
|
"luci-app-zigbee2mqtt"
|
|
],
|
|
"ports": [
|
|
{ "name": "frontend", "protocol": "http", "port": 8080, "expose": true }
|
|
],
|
|
"volumes": ["/srv/zigbee2mqtt"],
|
|
"network": {
|
|
"default_mode": "lan",
|
|
"dmz_supported": true
|
|
],
|
|
"wizard": {
|
|
"uci": {
|
|
"config": "zigbee2mqtt",
|
|
"section": "main"
|
|
},
|
|
"fields": [
|
|
{ "id": "serial_port", "label": "Serial Port", "type": "text", "uci_option": "serial_port", "placeholder": "/dev/ttyACM0" },
|
|
{ "id": "mqtt_host", "label": "MQTT Host", "type": "text", "uci_option": "mqtt_host", "placeholder": "mqtt://127.0.0.1:1883" },
|
|
{ "id": "mqtt_username", "label": "MQTT Username", "type": "text", "uci_option": "mqtt_username" },
|
|
{ "id": "mqtt_password", "label": "MQTT Password", "type": "password", "uci_option": "mqtt_password" },
|
|
{ "id": "base_topic", "label": "Base Topic", "type": "text", "uci_option": "base_topic", "placeholder": "zigbee2mqtt" },
|
|
{ "id": "frontend_port", "label": "Frontend Port", "type": "number", "uci_option": "frontend_port", "placeholder": "8080" }
|
|
]
|
|
},
|
|
"profiles": ["home", "lab"],
|
|
"actions": {
|
|
"install": "zigbee2mqttctl install",
|
|
"check": "zigbee2mqttctl check",
|
|
"update": "zigbee2mqttctl update",
|
|
"status": "/etc/init.d/zigbee2mqtt status"
|
|
}
|
|
}
|