Missing openhab.cfg - New OH2 installation on rpi2

Hi @garvord,

In OH2, there is no openhab.cfg file anymore.

You configure your system via the Paper UI (install bindings, add things, etc) and you can also modify the text based config files in /etc/openhab2/ (e.g. /etc/openhab2/services/mqtt.cfg or /etc/openhab2/items/default.items)

To manage logging, take a look here: http://docs.openhab.org/administration/logging.html & Taming openHAB 2 Logging

Example: to set log level to TRACE to the MQTT binding:

  1. Enter into the Karaf console (ssh openhab@localhost -p 8101 with password habopen)
  2. log:list
  3. log:set TRACE org.openhab.mqtt
  4. log:set TRACE org.openhab.io.transport.mqtt

In general, take a look at http://docs.openhab.org to see how OH2 works
For migration info: Migration from OH 1.x to OH 2 Tutorial

Good Luck,
Dim

2 Likes