Giter Club home page Giter Club logo

Comments (1)

BobRak avatar BobRak commented on August 22, 2024

Here are some things I recommended you check to start with:

  1. On the Smartthings side, usings the developers console, have you verified the IP and mac point back to your openHAB server.
  2. On your server (which I assumes is Windows) have you as a minimum created a .things file with the Smartthings Bridge definition in it and does that IP point to you Smartthings hub.
  3. Are your openHAB server and the Smartthings hub on the same network?

If all of that seems OK then check the openhab log file on your openHAB server and verify that the Smartthings binding is getting loaded. You should see things like the following in the openHAB log file:

2017-05-25 16:48:42.008 [DEBUG] [org.openhab.binding.smartthings     ] - BundleEvent STARTING - org.openhab.binding.smartthings
2017-05-25 16:48:42.021 [DEBUG] [org.openhab.binding.smartthings     ] - BundleEvent STARTED - org.openhab.binding.smartthings
2017-05-25 16:48:42.081 [DEBUG] [org.openhab.binding.smartthings     ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory, org.osgi.service.event.EventHandler}={event.topics=org/openhab/binding/smartthings/state, component.name=binding.smartthings, component.id=2, service.id=122, service.bundleid=183, service.scope=bundle} - org.openhab.binding.smartthings
2017-05-25 16:48:42.115 [DEBUG] [org.openhab.binding.smartthings     ] - ServiceEvent REGISTERED - {javax.servlet.http.HttpServlet}={service.pid=org.openhab.smartthings, service.config.category=binding, service.config.label=Smartthings Servlet, component.name=org.openhab.binding.smartthings, component.id=3, service.config.description.uri=binding:smartthings, service.id=123, service.bundleid=183, service.scope=bundle} - org.openhab.binding.smartthings
2017-05-25 16:48:42.226 [DEBUG] [org.openhab.binding.smartthings     ] - ServiceEvent REGISTERED - {javax.servlet.ServletContext}={osgi.web.symbolicname=org.openhab.binding.smartthings, osgi.web.version=2.1.0.201705041728, osgi.web.contextpath=/, service.id=124, service.bundleid=183, service.scope=singleton} - org.openhab.binding.smartthings
2017-05-25 16:48:42.231 [INFO ] [rtthings.internal.SmartthingsServlet] - Started Smartthings servlet at /smartthings
...
2017-05-25 16:48:56.746 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:smartthings
2017-05-25 16:48:56.757 [DEBUG] [iscovery.SmartthingsDiscoveryService] - initialize discovery service
2017-05-25 16:48:56.759 [DEBUG] [iscovery.SmartthingsDiscoveryService] - SmartthingsDiscoveryService.activate() called
2017-05-25 16:48:56.763 [DEBUG] [org.openhab.binding.smartthings     ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=235, service.bundleid=183, service.scope=singleton} - org.openhab.binding.smartthings
2017-05-25 16:48:56.769 [DEBUG] [org.openhab.binding.smartthings     ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler}={event.topics=org/openhab/binding/smartthings/discovery, service.id=236, service.bundleid=183, service.scope=singleton} - org.openhab.binding.smartthings

Are you using the PaperUI? If so, If you go to Configuration > Things are you seeing the Smartthings binding. If not there is a problem with the configuration.

Also you can look at the logs in the smartthings developers console and see what messages are flowing between the hub and your server. Start the smartthings developers console, open the log window and then start you openHAB server. You should see a discovery message.

Bob

from openhab-smartthings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.