Thanks. I saw that and tried, but I can’t get the whole MQTT thing to work so far.
Although the broker shows as being connected in OpenHab, I do see strange error messages, and checking on the mosquitto log I see it’s actually not subscribed.
I find this quite hard to debug as the documentation is, well, a bit dispersed.
2019-02-05 18:44:01.251 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to '192.168.1.111' with clientid paho269378389658284 and file store '/openhab/userdata/mqtt/192.168.1.111'
2019-02-05 18:44:01.406 [ERROR] [g.discovery.AbstractDiscoveryService] - An error occurred while calling the discovery listener org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.
java.lang.NullPointerException: null
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.thingRemoved(DiscoveryServiceRegistryImpl.java:278) ~[?:?]
at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.thingRemoved(AbstractDiscoveryService.java:300) ~[?:?]
at org.eclipse.smarthome.binding.mqtt.generic.internal.discovery.HomeAssistantDiscovery.receivedMessage(HomeAssistantDiscovery.java:164) ~[?:?]