iobroker.zigbee2mqtt
Version:
Zigbee2MQTT adapter for ioBroker
326 lines (325 loc) • 8.2 kB
JSON
{
"i18n": true,
"type": "panel",
"items": {
"connectionHeader": {
"type": "header",
"text": "Select and configure your Zigbee2MQTT connection",
"size": 2,
"newLine": true
},
"connectionType": {
"label": "Select connection to Zigbee2MQTT",
"sm": 5,
"type": "select",
"options": [
{
"label": "Websocket",
"value": "ws"
},
{
"label": "External MQTT-Server",
"value": "exmqtt"
},
{
"label": "Internal MQTT-Server (Experimental)",
"value": "intmqtt"
}
],
"newLine": true
},
"spacer01": {
"type": "staticText",
"text": "",
"newLine": true
},
"wsHeader": {
"type": "staticText",
"text": "Configure your Zigbee2MQTT connection",
"newLine": true
},
"wsScheme": {
"type": "select",
"label": "Scheme",
"options": [
{
"label": "WS",
"value": "ws"
},
{
"label": "WSS (SSL)",
"value": "wss"
}
],
"newLine": true,
"hidden": "data.connectionType != 'ws'"
},
"wsServerIP": {
"type": "text",
"label": "Websocket IP-Address",
"newLine": false,
"hidden": "data.connectionType != 'ws'"
},
"wsServerPort": {
"type": "number",
"label": "Websocket Port",
"newLine": false,
"hidden": "data.connectionType != 'ws'"
},
"wsTokenEnabled": {
"type": "checkbox",
"label": "Use Auth-Token",
"newLine": true,
"hidden": "data.connectionType != 'ws'"
},
"wsToken": {
"type": "password",
"label": "Auth-Token (special characters are not supported)",
"newLine": true,
"lg": 5,
"hidden": "data.wsTokenEnabled != true || data.connectionType != 'ws'"
},
"dummyMqtt": {
"type": "checkbox",
"label": "Create a dummy MQTT-Server for Zigbee2MQTT",
"newLine": true,
"hidden": "data.connectionType != 'ws'"
},
"externalMqttServerIP": {
"type": "text",
"label": "External MQTT-Server IP-Address",
"newLine": true,
"hidden": "data.connectionType != 'exmqtt'"
},
"externalMqttServerPort": {
"type": "number",
"label": "External MQTT-Server Port",
"newLine": false,
"hidden": "data.connectionType != 'exmqtt'"
},
"externalMqttServerCredentials": {
"type": "checkbox",
"label": "Use MQTT Credentials",
"newLine": true,
"hidden": "data.connectionType != 'exmqtt'"
},
"externalMqttServerUsername": {
"type": "text",
"label": "MQTT Username",
"newLine": true,
"hidden": "data.externalMqttServerCredentials != true ||data.connectionType != 'exmqtt'"
},
"externalMqttServerPassword": {
"type": "password",
"label": "MQTT Password",
"newLine": false,
"visible": true,
"hidden": "data.externalMqttServerCredentials != true ||data.connectionType != 'exmqtt'"
},
"mqttServerIPBind": {
"type": "ip",
"label": "MQTT-Server IP-Address bind",
"listenOnAllPorts": true,
"newLine": true,
"hidden": "data.connectionType == 'exmqtt' || data.dummyMqtt == false && data.connectionType == 'ws'"
},
"mqttServerPort": {
"type": "number",
"label": "MQTT-Server Port",
"newLine": false,
"hidden": "data.connectionType == 'exmqtt' || data.dummyMqtt == false && data.connectionType == 'ws'"
},
"spacer02": {
"type": "staticText",
"text": "",
"newLine": true,
"hidden": "data.connectionType == 'ws'"
},
"webUIHeader": {
"type": "header",
"text": "Configure your Zigbee2MQTT WebUi connection",
"size": 2,
"newLine": true
},
"webUIScheme": {
"type": "select",
"label": "Scheme",
"options": [
{
"label": "HTTP",
"value": "http"
},
{
"label": "HTTPS",
"value": "https"
}
],
"newLine": true
},
"webUIServer": {
"type": "text",
"label": "WebUi Address",
"newLine": false
},
"webUIPort": {
"type": "number",
"label": "WebUi Port",
"newLine": false
},
"spacer03": {
"type": "staticText",
"text": "",
"newLine": true
},
"colorHeader": {
"type": "header",
"text": "Color configurations",
"size": 2,
"newLine": true
},
"colorTempSyncColor": {
"type": "checkbox",
"label": "Color temperature sync with color",
"newLine": true
},
"useKelvin": {
"type": "checkbox",
"label": "Use Kelvin instead of mired for the color temps",
"newLine": true
},
"stateHeader": {
"type": "header",
"text": "State configurations",
"size": 2,
"newLine": true
},
"simpleHoldReleaseState": {
"type": "checkbox",
"label": "Generate simple 'Hold' and 'Release' states",
"help": "When enabled, the 'Hold' and 'Release' states are combined and the 'Hold' data point remains true until the 'Release' event arrives.",
"newLine": true
},
"simpleMoveStopState": {
"type": "checkbox",
"label": "Generate simple 'Move' and 'Stop' states",
"help": "When enabled, the 'Move' and 'Stop' states are combined and the 'Move' data point remains true until the 'Stop' event arrives.",
"newLine": true
},
"simplePressReleaseState": {
"type": "checkbox",
"label": "Generate simple 'Press' and 'Release' states",
"help": "When enabled, the 'Press' and 'Release' states are combined and the 'Press' data point remains true until the 'Release' event arrives.",
"newLine": true
},
"brightnessMoveOnOff": {
"type": "checkbox",
"label": "Brightness move should also turn the light on or off",
"newLine": true
},
"brightnessStepOnOff": {
"type": "checkbox",
"label": "Brightness step should also turn the light on or off",
"newLine": true
},
"imageHeader": {
"type": "header",
"text": "Device image configurations",
"size": 2,
"newLine": true
},
"useDeviceIcons": {
"type": "checkbox",
"label": "Download device images from Zigbee2Mqtt and use them as object icons.",
"help": "If the size is later changed to a larger value, the images already downloaded must be deleted. <br> Please note that icons are stored in the object and should therefore not be unnecessarily large!",
"newLine": true
},
"deviceIconsSize": {
"type": "number",
"label": "Size of the object icons in pixels",
"min": 8,
"newLine": true
},
"otherHeader": {
"type": "header",
"text": "Other configurations",
"size": 2,
"newLine": true
},
"coordinatorCheck": {
"type": "checkbox",
"label": "Automatic check for missing routers in the coordinator memory.",
"help": "More information",
"helpLink": "https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html#zigbee2mqtt-bridge-request-coordinator-check",
"newLine": true
},
"coordinatorCheckLogLvl": {
"type": "select",
"sm": 3,
"label": "With which log level should a negative search be logged?",
"options": [
{
"label": {
"en": "Debug"
},
"value": "debug"
},
{
"label": {
"en": "Info"
},
"value": "info"
},
{
"label": {
"en": "Warning"
},
"value": "warn"
},
{
"label": {
"en": "Error"
},
"value": "error"
}
],
"newLine": true,
"hidden": "data.coordinatorCheck != true"
},
"coordinatorCheckCron": {
"type": "cron",
"label": "Time of the automatic check",
"help": "Default: 0 3 * * * (At 03:00 every day)",
"simple": true,
"newLine": true,
"sm": 3,
"hidden": "data.coordinatorCheck != true"
},
"spacer04": {
"type": "staticText",
"text": "",
"newLine": true,
"hidden": "data.coordinatorCheck != true"
},
"proxyZ2MLogs": {
"type": "checkbox",
"label": "Proxy Zigbee2MQTT logs to ioBroker logs",
"newLine": true
},
"useEventInDesc": {
"type": "checkbox",
"label": "The events such as 'Device removed' or 'Disabled' are displayed in the description instead of in the name.",
"newLine": true
},
"expertHeader": {
"type": "header",
"text": "Expert Settings. Please only use if you know what you're doing",
"size": 2,
"newLine": true
},
"allwaysUpdateOccupancyState": {
"type": "checkbox",
"label": "Allways update state for occupancy when message arrives from zigbee2mqtt server (Only for true state). Increases load on ioBroker System",
"newLine": true
}
}
}