This page is part of archived documentation for openHAB 2.5. Go to the current stable version
# Smartthings Binding Troubleshooting Guidelines
Below are some recommendations on resolving issues with things not working as expected
# Device specific issues
If the binding is working for some devices but there is one device that doesn't seem to work then verify that the device is supported by checking the following in the PaperUI:
- Open the PaperUI webpage
- Select Configuration -> Bindings -> Smartthings
- Verify that the thing you want to use is included in the list of Supported Things
If the device is listed then create a new topic in the openHAB Community Add-ons -> Bindings (opens new window) website.
# Setting openHAB logs to Debug
You will need to edit the logging configuration file and set the log level for the Smartthings binding to debug.
The following assumes you are running on Linux or Raspbian
Follow these steps on your openHAB server:
- If logged on to the server: cd /var/lib/openhab2/etc or if using Samba open file explorer to \\OPENHABIANPI\openHAB-userdata\etc
- Edit the file org.ops4j.pax.logging.cfg
- Just ** before ** the line "log4j2.logger.openhab.name (opens new window) = org.openhab" add the following lines:
- log4j2.logger.smartthings.name=org.openhab.binding.smartthings
- log4j2.logger.smartthings.level=DEBUG
- Save the file
- Restart the server (i.e. sudo systemctl restart openhab2.service)
# Viewing the openHAB logs
Viewing the logs is best done on the openHAB server where you can using the linux command "tail -f" to watch the log messages as they are created
Follow these steps on your openHAB server:
- cd /var/log/openhab2 or if using Samba open file explorer to \OPENHABIANPI\openHAB-log
- The log file you want to see is openhab.log
- Using unix "tail -f openhab.log"
- Try the device that isn't working and look for log messages related to the device you are using
# Viewing Smartthings logs
On the Smartthings hub all of the incoming messages and the responses are logged. Looking at these logs can be very informative.
To view these logs perform the following steps:
- Using the Smartthings developers IDE (opens new window):
- Logon, if you are not logged on
- Select Live Logging from the top menu bar.
- Try the device that isn't working and look for log messages related to the device you are having troubles with