The only entries in my Thing file are for time and weather. I do not have any MQTT 1 bindings loaded.
I have a relay I’m working with, run by a ESP8266 with Tasmota, that “works”. If I switch it ON/OFF in the Control tab in Paper UI it works like it suppose to. If I do the same on the Basic UI, the graphics for the switch tends to bounce on and off, not always following the actual ON/OFF motion like in the Control tab. That probably has something to do with the MQTT I’m guessing.
Something else I noticed when I commented out all the entries in the mqtt.cfg file and rebooted, the MQTT entry under Configuration > Services is gone in the Paper UI.
Here is what is in the Thing.json file.
{
"mqtt:topic:b7afda60": {
"class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
"value": {
"label": "Dining Room",
"bridgeUID": {
"segments": [
"mqtt",
"broker",
"fe9b4b69"
]
},
"channels": [
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"mqtt",
"topic",
"b7afda60",
"DHT11"
]
},
"channelTypeUID": {
"segments": [
"mqtt",
"number"
]
},
"configuration": {
"properties": {
"commandTopic": "cmnd/DHT11/POWER",
"stateTopic": "tele/DHT11/SENSOR",
"transformationPattern": "JSONPATH:$.DHT11.Temperature"
}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"mqtt",
"topic",
"b7afda60",
"DHT11H"
]
},
"channelTypeUID": {
"segments": [
"mqtt",
"number"
]
},
"configuration": {
"properties": {
"commandTopic": "cmnd/DHT11/POWER",
"stateTopic": "tele/DHT11/SENSOR",
"transformationPattern": "JSONPATH:$.DHT11.Humidity"
}
},
"properties": {},
"defaultTags": []
}
],
"configuration": {
"properties": {}
},
"properties": {},
"uid": {
"segments": [
"mqtt",
"topic",
"b7afda60"
]
},
"thingTypeUID": {
"segments": [
"mqtt",
"topic"
]
}
}
},
"mqtt:topic:a6379cde": {
"class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
"value": {
"label": "Office Comfort",
"bridgeUID": {
"segments": [
"mqtt",
"broker",
"fe9b4b69"
]
},
"channels": [
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"mqtt",
"topic",
"a6379cde",
"BME280T"
]
},
"channelTypeUID": {
"segments": [
"mqtt",
"number"
]
},
"configuration": {
"properties": {
"commandTopic": "cmnd/BME280-1/POWER",
"stateTopic": "tele/BME280-1/SENSOR",
"transformationPattern": "JSONPATH:$.BME280.Temperature"
}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"mqtt",
"topic",
"a6379cde",
"BME280-1H"
]
},
"channelTypeUID": {
"segments": [
"mqtt",
"number"
]
},
"configuration": {
"properties": {
"commandTopic": "cmnd/BME-1/POWER",
"stateTopic": "tele/BME280-1/SENSOR",
"transformationPattern": "JSONPATH:$.BME280.Humidity"
}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"mqtt",
"topic",
"a6379cde",
"BME280-1P"
]
},
"channelTypeUID": {
"segments": [
"mqtt",
"number"
]
},
"configuration": {
"properties": {
"commandTopic": "cmnd/BME280-1/POWER",
"stateTopic": "tele/BME280-1/SENSOR",
"transformationPattern": "JSONPATH:$.BME280.Pressure"
}
},
"properties": {},
"defaultTags": []
}
],
"configuration": {
"properties": {}
},
"properties": {},
"uid": {
"segments": [
"mqtt",
"topic",
"a6379cde"
]
},
"thingTypeUID": {
"segments": [
"mqtt",
"topic"
]
}
}
},
"mqtt:broker:fe9b4b69": {
"class": "org.eclipse.smarthome.core.thing.internal.BridgeImpl",
"value": {
"label": "MQTT Broker",
"channels": [],
"configuration": {
"properties": {
"publickeypin": true,
"password": "################",
"clientid": "################",
"lastwill_qos": 0,
"qos": 0,
"retain": true,
"host": "192.168.###.###",
"secure": false,
"certificatepin": true,
"keep_alive_time": 60000,
"reconnect_time": 60000,
"username": "openhabian"
}
},
"properties": {},
"uid": {
"segments": [
"mqtt",
"broker",
"fe9b4b69"
]
},
"thingTypeUID": {
"segments": [
"mqtt",
"broker"
]
}
}
},
"ntp:ntp:local": {
"class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
"value": {
"label": "Local Time",
"channels": [
{
"acceptedItemType": "DateTime",
"kind": "STATE",
"uid": {
"segments": [
"ntp",
"ntp",
"local",
"dateTime"
]
},
"channelTypeUID": {
"segments": [
"ntp",
"dateTime-channel"
]
},
"label": "Date",
"description": "NTP refreshed date \u0026 time",
"configuration": {
"properties": {}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "String",
"kind": "STATE",
"uid": {
"segments": [
"ntp",
"ntp",
"local",
"string"
]
},
"channelTypeUID": {
"segments": [
"ntp",
"string-channel"
]
},
"label": "Date",
"description": "NTP refreshed date \u0026 time",
"configuration": {
"properties": {
"DateTimeFormat": "MM-dd-yyyy HH:mm:ss z"
}
},
"properties": {},
"defaultTags": []
}
],
"configuration": {
"properties": {
"timeZone": "America/New_York",
"hostname": "0.pool.ntp.org",
"serverPort": 123,
"refreshInterval": 60,
"refreshNtp": 30
}
},
"properties": {},
"uid": {
"segments": [
"ntp",
"ntp",
"local"
]
},
"thingTypeUID": {
"segments": [
"ntp",
"ntp"
]
}
}
},
"mqtt:topic:b27a43be": {
"class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
"value": {
"label": "Generic MQTT Thing",
"bridgeUID": {
"segments": [
"mqtt",
"broker",
"fe9b4b69"
]
},
"channels": [
{
"acceptedItemType": "Switch",
"kind": "STATE",
"uid": {
"segments": [
"mqtt",
"topic",
"b27a43be",
"OL01"
]
},
"channelTypeUID": {
"segments": [
"mqtt",
"switch"
]
},
"configuration": {
"properties": {
"commandTopic": "cmnd/Office_Light/POWER",
"stateTopic": "stat/Office_Light/POWER"
}
},
"properties": {},
"defaultTags": []
}
],
"configuration": {
"properties": {}
},
"properties": {},
"uid": {
"segments": [
"mqtt",
"topic",
"b27a43be"
]
},
"thingTypeUID": {
"segments": [
"mqtt",
"topic"
]
}
}
},
"mqtt:topic:5117baec": {
"class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
"value": {
"label": "Basement",
"bridgeUID": {
"segments": [
"mqtt",
"broker",
"fe9b4b69"
]
},
"channels": [
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"mqtt",
"topic",
"5117baec",
"BME280-2T"
]
},
"channelTypeUID": {
"segments": [
"mqtt",
"number"
]
},
"configuration": {
"properties": {
"commandTopic": "cmnd/BME280-2/POWER",
"stateTopic": "tele/BME280-2/SENSOR",
"transformationPattern": "JSONPATH:$.BME280.Temperature"
}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"mqtt",
"topic",
"5117baec",
"BME280-2H"
]
},
"channelTypeUID": {
"segments": [
"mqtt",
"number"
]
},
"configuration": {
"properties": {
"commandTopic": "cmnd/BME280-2/POWER",
"stateTopic": "tele/BME280-2/SENSOR",
"transformationPattern": "JSONPATH:$.BME280.Humidity"
}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"mqtt",
"topic",
"5117baec",
"BME280-2P"
]
},
"channelTypeUID": {
"segments": [
"mqtt",
"number"
]
},
"configuration": {
"properties": {
"commandTopic": "cmnd/BME280-2/POWER",
"stateTopic": "tele/BME280-2/SENSOR",
"transformationPattern": "JSONPATH:$.BME280.Pressure"
}
},
"properties": {},
"defaultTags": []
}
],
"configuration": {
"properties": {}
},
"properties": {},
"uid": {
"segments": [
"mqtt",
"topic",
"5117baec"
]
},
"thingTypeUID": {
"segments": [
"mqtt",
"topic"
]
}
}
}
}