iobroker.mqtt-client
Version:
Client to connect states to MQTT Broker
176 lines • 3.27 kB
JSON
{
"i18n": true,
"type": "panel",
"items": {
"topic": {
"type": "text",
"label": "Topic",
"help": "(without prefix)",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"_publish": {
"newLine": true,
"type": "header",
"size": 2,
"text": "publish",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"publish": {
"newLine": true,
"label": "enabled",
"type": "checkbox",
"default": false,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"pubChangesOnly": {
"disabled": "!data.publish",
"label": "changes only",
"type": "checkbox",
"default": false,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"pubAsObject": {
"disabled": "!data.publish",
"label": "as object",
"type": "checkbox",
"default": false,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"qos": {
"disabled": "!data.publish",
"label": "QoS",
"type": "select",
"default": false,
"options": [
{
"label": "At most once - 0",
"value": 0
},
{
"label": "At least once - 1",
"value": 1
},
{
"label": "Exactly once - 2",
"value": 2
}
],
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"retain": {
"disabled": "!data.publish",
"label": "retain",
"type": "checkbox",
"default": false,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"_subscribe": {
"newLine": true,
"type": "header",
"size": 2,
"text": "subscribe",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"subscribe": {
"newLine": true,
"label": "enabled",
"type": "checkbox",
"default": false,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"subChangesOnly": {
"disabled": "!data.subscribe",
"label": "changes only",
"type": "checkbox",
"default": false,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"subAsObject": {
"disabled": "!data.subscribe",
"label": "as object",
"type": "checkbox",
"default": false,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"subQos": {
"disabled": "!data.subscribe",
"label": "QoS",
"type": "select",
"default": false,
"options": [
{
"label": "At most once - 0",
"value": 0
},
{
"label": "At least once - 1",
"value": 1
},
{
"label": "Exactly once - 2",
"value": 2
}
],
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
},
"setAck": {
"disabled": "!data.subscribe",
"label": "ack",
"type": "checkbox",
"default": false,
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4
}
}
}