Maybe just to add here as I still fall prey to the confusion sometimes, please keep in mind that OH is transitioning from version 1.8 to version 2.0 with a substantial overhaul in file structure and other items. There is no OH1.9 but bindings are available in ver1.9 and will work in both OH1.8 and OH2. Yet they are not fully at the level of 2.0 bindings (for example, the discovery mechanism works only in 2.0 bindings)
Here a few tips:
- you do not have to stop OH when changing the configuration (items, bindings, conf files, things, etc); OH2 picks it up automatically and integrates the changes after a few seconds. Having said that, I saw this mechanism fail occasionally
- watch the OH2 log file a lot of feedback is available there, for example OH2 will tell you if it is reloading files and if it runs into any problems there (open a separate shell window, and type in
tail -f /var/log/openhab2/openhab.log it will print out on the screen any new messages in your logfile, just keep it running
- as already stated MQTT is a separate program, you can install without any interference
- but you will need a binding to have OH2 interact with MQTT
- MQTT is a ver1.9 binding and needs a conf file; newer bindings ver2.0 will not require this and can be configured in the PaperUI
- OH2 has also introduced 'things', the PaperUI is very helpful, but you may want to read up on it
- when checking the forum and the internet, always try to understand whether you receive info for version1.9 or version2.0; not always easy to spot, but critical.
Finally, as you will come across sooner or later, there is a nifty tool out there "Eclipse Smart Home Designer" that makes editing all the items, rules, sitemap, etc files easier; but nothing is perfect, please note that ver0.9 is broken and will give a lot of syntax errors that are in fact no errors, ver0.8 is better, but does not recognize some of the newer developments so it still give you errors that are none....