OH2 MQTT standalone server with text file config

This is for Things files. For some, restarting openHAB is a huge pain in the backside. Perhaps try the following first:

  1. Deliberately corrupt your Things file, by making a deliberate syntactical error: remove a { somewhere.
  2. Save the corrupted Things file. If you’re watching the logs you will see openHAB complain and unload all the Things defined in that file.
  3. Un-corrupt the Things file by fixing the syntax: put the { back.
  4. Save the fixed Things file. If you’re watching the logs you’ll see all the Things loading back!
7 Likes