TomaxMe
(Tomax Me)
1
I found in the log that there are few more MQTT brokers started (created previously in the development phase). Now I do not need it anymore.
In “mqtt” file (openhab/services) I found the only one broker I’m using actually. So, in wich file are stored the others?
sihui
(SiHui)
2
You can safely delete mqtt.config, after an openHAB restart the file will be re-created with correct contents.
TomaxMe
(Tomax Me)
3
Sihui, could you confirm, please, the corect command to do that:
sudo rm -f /var/lib/openhab2/config/org/openhab/mqtt.config
?
sihui
(SiHui)
4
If you are not very familiar with Linux I would not use the -f
(force) command. Without the -f
you need to confirm deletion of that file …
TomaxMe
(Tomax Me)
5
Indeed, I’ve used this command to delete mqtt.config. After reboot the Pi it the file it was recreated without old MQTT brokers.
sudo rm /var/lib/openhab2/config/org/openhab/mqtt.config
Thanks Sihui.
1 Like