First time setup of MQTT [solved]

Much better! MQTT is online now. Thanks!

If anyone is reading the thread:

  • First start mosquitto MQTT broker with sudo openhabian-config Its located in Optional components then select Mosquitto
  • Remember user password (user is openhabian)
  • In the openhab GUI install in addons mqtt
  • Then follow Migrating MQTT1 items to MQTT2.4 items
  • you will need to add your user / password combination. I disabled secure connection (TLS)
  • if anything goes wrong, uninstall on PaperUI and clean the cache:
    sudo systemctl stop openhab2
    sudo openhab-cli clean-cache
Summary

sudo systemctl start openhab2

  • redo the steps above.

Next step for me: Bring my sonoff into the GUI