BobRak / OpenHAB-Smartthings

53 stars 54 forks source link

Problems with Binding Method #1

Closed andreasschraeder closed 6 years ago

andreasschraeder commented 7 years ago

Hi BobRak, thanks for putting this together. It overall looks great. I only stumbled upon two minor points in the description of the SmartThings installation, but then could not get the whole thing working, because the Bridge is not recognised. The OpenHAB log says:

19:27:51.818 [ERROR] [org.openhab.binding.smartthings ] - [binding.smartthings(221)] bind method [setThingTypeRegistry] not found; Component will fail 19:27:51.820 [ERROR] [org.openhab.binding.smartthings ] - [binding.smartthings(221)] bind method [setThingTypeRegistry] not found

I don't think it's relevant, but here is the starting fragment of my .things file:

Bridge smartthings:smartthings:Home [ smartthingsIp="10.0.0.25", smartthingsPort=39500 ] { Thing battery SireneAussen [ smartthingsName="Sirene aussen" ]

Can you help me resolving this issue?

The two minor points mentioned above:

1) In the installation instructions for SmartThings in the first paragraph about the DeviceHandler you reference the SmartApp (instead of the device handler):

  1. Locate OpenHabAppV2.groovy in the /target/smartthings/DeviceHandlers Directory.

2) In the installation instructions for SmartThings in the paragraph „Create the Device“ steps 10 and 11 are not necessary.

Thanks again for putting this together - I hope we can get it work for me, so I can share feedback on several device types.

Best regards, Andreas

BobRak commented 7 years ago

@andreasschraeder First of all, thanks for the feedback on my documentation. I have incorporated your changes.

Second, thanks for testing.

Now about the problem you reported getting it to run: I looked at the log of my own OpenHAB server and discovered I had the same message. I figured out where this was coming from and have made a code correction and that error is now gone. But, as much as the message seems like a fatal error it as not and the binding runs fine. I think you problem is coming elsewhere. I would recommend installing the update I made today, just to make sure you are using the latest code. Then restart and see what you log looks like. Below is the startup from my log. Do the first 11 lines look the same as your log? They should. The remaining lines reflect my devices which are different but you should see similar lines for your devices

2017-05-04 11:18:42.903 [DEBUG] [org.openhab.binding.smartthings     ] - BundleEvent STARTING - org.openhab.binding.smartthings
2017-05-04 11:18:42.905 [DEBUG] [org.openhab.binding.smartthings     ] - BundleEvent STARTED - org.openhab.binding.smartthings
2017-05-04 11:18:42.947 [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=152, service.id=280, service.bundleid=183, service.scope=bundle} - org.openhab.binding.smartthings
2017-05-04 11:18:43.024 [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=282, service.bundleid=183, service.scope=singleton} - org.openhab.binding.smartthings
2017-05-04 11:18:43.028 [INFO ] [rtthings.internal.SmartthingsServlet] - Started Smartthings servlet at /smartthings
2017-05-04 11:18:43.029 [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=153, service.config.description.uri=binding:smartthings, service.id=281, service.bundleid=183, service.scope=bundle} - org.openhab.binding.smartthings
2017-05-04 11:18:49.968 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:smartthings
2017-05-04 11:18:49.980 [DEBUG] [iscovery.SmartthingsDiscoveryService] - initialize discovery service
2017-05-04 11:18:49.982 [DEBUG] [iscovery.SmartthingsDiscoveryService] - SmartthingsDiscoveryService.activate() called
2017-05-04 11:18:49.991 [DEBUG] [org.openhab.binding.smartthings     ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=293, service.bundleid=183, service.scope=singleton} - org.openhab.binding.smartthings
2017-05-04 11:18:49.995 [DEBUG] [org.openhab.binding.smartthings     ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler}={event.topics=org/openhab/binding/smartthings/discovery, service.id=294, service.bundleid=183, service.scope=singleton} - org.openhab.binding.smartthings
2017-05-04 11:18:50.049 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:contactSensor
2017-05-04 11:18:50.050 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:contactSensor
2017-05-04 11:18:50.074 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:indicator
2017-05-04 11:18:50.075 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:indicator
2017-05-04 11:18:50.090 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:switchLevel
2017-05-04 11:18:50.091 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:switchLevel
2017-05-04 11:18:50.095 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:temperatureMeasurement
2017-05-04 11:18:50.096 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:temperatureMeasurement
2017-05-04 11:18:50.134 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:battery
2017-05-04 11:18:50.136 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:battery
2017-05-04 11:18:50.151 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:contactSensor
2017-05-04 11:18:50.153 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:contactSensor
2017-05-04 11:18:50.171 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:temperatureMeasurement
2017-05-04 11:18:50.172 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:temperatureMeasurement
2017-05-04 11:18:50.586 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "contactSensor", "deviceDisplayName": "Garage Door Open Sensor", "capabilityAttribute": "contact"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:50.588 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:battery
2017-05-04 11:18:50.589 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:battery
2017-05-04 11:18:50.606 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:switch
2017-05-04 11:18:50.607 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:switch
2017-05-04 11:18:50.621 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:powerMeter
2017-05-04 11:18:50.622 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:powerMeter
2017-05-04 11:18:50.701 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state
2017-05-04 11:18:50.702 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST
2017-05-04 11:18:50.705 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Garage Door Open Sensor","value":"closed","capabilityKey":"contactSensor","capabilityAttribute":"contact"}
2017-05-04 11:18:50.967 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "contactSensor", "deviceDisplayName": "Garage Door Open Sensor", "capabilityAttribute": "contact"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:51.256 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "switchLevel", "deviceDisplayName": "Kitchen lights", "capabilityAttribute": "level"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:51.596 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "indicator", "deviceDisplayName": "Kitchen lights", "capabilityAttribute": "indicatorStatus"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:51.876 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "battery", "deviceDisplayName": "Back Garage Door Sensor", "capabilityAttribute": "battery"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:52.179 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "temperatureMeasurement", "deviceDisplayName": "Garage Door Open Sensor", "capabilityAttribute": "temperature"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:52.470 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "switch", "deviceDisplayName": "Family Room", "capabilityAttribute": "switch"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:52.762 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "battery", "deviceDisplayName": "Garage Door Open Sensor", "capabilityAttribute": "battery"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:53.053 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "powerMeter", "deviceDisplayName": "Family Room", "capabilityAttribute": "power"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:53.057 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state
2017-05-04 11:18:53.060 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub
2017-05-04 11:18:53.065 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Garage Door Open Sensor - contact to CLOSED
2017-05-04 11:18:53.382 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "contactSensor", "deviceDisplayName": "Back Garage Door Sensor", "capabilityAttribute": "contact"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:53.671 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "temperatureMeasurement", "deviceDisplayName": "Back Garage Door Sensor", "capabilityAttribute": "temperature"}" with path "/state" to the Smartthings hub, recieved HTTP status 202
2017-05-04 11:18:58.834 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state
2017-05-04 11:18:58.836 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST
2017-05-04 11:18:58.840 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Garage Door Open Sensor","value":"closed","capabilityKey":"contactSensor","capabilityAttribute":"contact"}
2017-05-04 11:18:58.842 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state
2017-05-04 11:18:58.846 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub
2017-05-04 11:18:58.851 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Garage Door Open Sensor - contact to CLOSED
2017-05-04 11:19:06.980 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state
2017-05-04 11:19:06.982 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST
2017-05-04 11:19:06.986 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Kitchen lights","value":45,"capabilityKey":"switchLevel","capabilityAttribute":"level"}
2017-05-04 11:19:06.988 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state
2017-05-04 11:19:06.990 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub
2017-05-04 11:19:06.997 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Kitchen lights - level to 45
2017-05-04 11:19:15.117 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state
2017-05-04 11:19:15.119 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST
2017-05-04 11:19:15.125 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Kitchen lights","value":"when off","capabilityKey":"indicator","capabilityAttribute":"indicatorStatus"}
2017-05-04 11:19:15.127 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state
2017-05-04 11:19:15.129 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub
2017-05-04 11:19:15.133 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Kitchen lights - indicatorStatus to when off
2017-05-04 11:19:23.277 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state
2017-05-04 11:19:23.279 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST
2017-05-04 11:19:23.286 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Back Garage Door Sensor","value":100,"capabilityKey":"battery","capabilityAttribute":"battery"}
2017-05-04 11:19:23.288 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state
2017-05-04 11:19:23.292 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub
2017-05-04 11:19:23.301 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Back Garage Door Sensor - battery to 100
2017-05-04 11:19:31.424 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state
2017-05-04 11:19:31.427 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST
2017-05-04 11:19:31.435 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Family Room","value":"off","capabilityKey":"switch","capabilityAttribute":"switch"}
2017-05-04 11:19:31.438 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state
2017-05-04 11:19:31.440 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub

Thanks for testing. Please keep me posted.

Bob

andreasschraeder commented 7 years ago

Hi BobRak,

the error message does no longer show. The problem however - as you had expected - was a different one: the .things file had not been loaded. After fixing that issue, the bridge showed.

I went through the discovery process where I was shown only four things: Door control Motion Sensor Battery status ImageCapture I added these four and then went to the things chapter of HAMmin and there I found all the declared things plus four more: the four that I had accepted from the discovery. They were named after their type ("Door control“, „Battery status“ etc.)

Out of the two battery things, the original one (with the correct name „Sirene aussen“) shows a link towards the other one, but has no actual value - whereas the other one with the name „Battery status“ shows the correct value.

Same thing for the door control. One is only linked to the other and the other shows the correct status. I’m however unsure how I could trigger the „open“ or „close“ command through openHAB?

ImageCapture shows that the channel has no associated elements. Not sure how I could trigger the „take“ command or eventually access the picture in openHAB?

With the motion sensors it’s a bit strange: out of the three I had included into the test scope, two seem two work as expected and the third one is the one that has been „duplicated“ through the discovery process. That latter one does not show any status - neither in the „original“ ting nor in the „duplicate“ one.

Presence sensors and switches work as expected - except for that these things are named „Presence sensor“ and „Switch“ instead of their real names.

The window shades do not work: none shows a status and when I trigger a command, nothing happens. All channels have no associated elements.

Please let me know if you need logs or config file extracts to better understand these issues. Once we are done with these, I am happy to expand the scope and add new things.

Best regards,

Andreas

Am 04.05.2017 um 20:42 schrieb BobRak notifications@github.com:

@andreasschraeder https://github.com/andreasschraeder First of all, thanks for the feedback on my documentation. I have incorporated your changes.

Second, thanks for testing.

Now about the problem you reported getting it to run: I looked at the log of my own OpenHAB server and discovered I had the same message. I figured out where this was coming from and have made a code correction and that error is now gone. But, as much as the message seems like a fatal error it as not and the binding runs fine. I think you problem is coming elsewhere. I would recommend installing the update I made today, just to make sure you are using the latest code. Then restart and see what you log looks like. Below is the startup from my log. Do the first 11 lines look the same as your log? They should. The remaining lines reflect my devices which are different but you should see similar lines for your devices

2017-05-04 11:18:42.903 [DEBUG] [org.openhab.binding.smartthings ] - BundleEvent STARTING - org.openhab.binding.smartthings 2017-05-04 11:18:42.905 [DEBUG] [org.openhab.binding.smartthings ] - BundleEvent STARTED - org.openhab.binding.smartthings 2017-05-04 11:18:42.947 [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=152, service.id=280, service.bundleid=183, service.scope=bundle} - org.openhab.binding.smartthings 2017-05-04 11:18:43.024 [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=282, service.bundleid=183, service.scope=singleton} - org.openhab.binding.smartthings 2017-05-04 11:18:43.028 [INFO ] [rtthings.internal.SmartthingsServlet] - Started Smartthings servlet at /smartthings 2017-05-04 11:18:43.029 [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=153, service.config.description.uri=binding:smartthings, service.id=281, service.bundleid=183, service.scope=bundle} - org.openhab.binding.smartthings 2017-05-04 11:18:49.968 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:smartthings 2017-05-04 11:18:49.980 [DEBUG] [iscovery.SmartthingsDiscoveryService] - initialize discovery service 2017-05-04 11:18:49.982 [DEBUG] [iscovery.SmartthingsDiscoveryService] - SmartthingsDiscoveryService.activate() called 2017-05-04 11:18:49.991 [DEBUG] [org.openhab.binding.smartthings ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=293, service.bundleid=183, service.scope=singleton} - org.openhab.binding.smartthings 2017-05-04 11:18:49.995 [DEBUG] [org.openhab.binding.smartthings ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler}={event.topics=org/openhab/binding/smartthings/discovery, service.id=294, service.bundleid=183, service.scope=singleton} - org.openhab.binding.smartthings 2017-05-04 11:18:50.049 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:contactSensor 2017-05-04 11:18:50.050 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:contactSensor 2017-05-04 11:18:50.074 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:indicator 2017-05-04 11:18:50.075 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:indicator 2017-05-04 11:18:50.090 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:switchLevel 2017-05-04 11:18:50.091 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:switchLevel 2017-05-04 11:18:50.095 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:temperatureMeasurement 2017-05-04 11:18:50.096 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:temperatureMeasurement 2017-05-04 11:18:50.134 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:battery 2017-05-04 11:18:50.136 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:battery 2017-05-04 11:18:50.151 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:contactSensor 2017-05-04 11:18:50.153 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:contactSensor 2017-05-04 11:18:50.171 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:temperatureMeasurement 2017-05-04 11:18:50.172 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:temperatureMeasurement 2017-05-04 11:18:50.586 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "contactSensor", "deviceDisplayName": "Garage Door Open Sensor", "capabilityAttribute": "contact"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:50.588 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:battery 2017-05-04 11:18:50.589 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:battery 2017-05-04 11:18:50.606 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:switch 2017-05-04 11:18:50.607 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:switch 2017-05-04 11:18:50.621 [DEBUG] [s.internal.SmartthingsHandlerFactory] - SmartthingsHandlerFactory is now processing ThingTypeUID smartthings:powerMeter 2017-05-04 11:18:50.622 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Creating thing handler for smartthings:powerMeter 2017-05-04 11:18:50.701 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state 2017-05-04 11:18:50.702 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST 2017-05-04 11:18:50.705 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Garage Door Open Sensor","value":"closed","capabilityKey":"contactSensor","capabilityAttribute":"contact"} 2017-05-04 11:18:50.967 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "contactSensor", "deviceDisplayName": "Garage Door Open Sensor", "capabilityAttribute": "contact"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:51.256 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "switchLevel", "deviceDisplayName": "Kitchen lights", "capabilityAttribute": "level"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:51.596 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "indicator", "deviceDisplayName": "Kitchen lights", "capabilityAttribute": "indicatorStatus"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:51.876 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "battery", "deviceDisplayName": "Back Garage Door Sensor", "capabilityAttribute": "battery"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:52.179 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "temperatureMeasurement", "deviceDisplayName": "Garage Door Open Sensor", "capabilityAttribute": "temperature"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:52.470 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "switch", "deviceDisplayName": "Family Room", "capabilityAttribute": "switch"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:52.762 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "battery", "deviceDisplayName": "Garage Door Open Sensor", "capabilityAttribute": "battery"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:53.053 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "powerMeter", "deviceDisplayName": "Family Room", "capabilityAttribute": "power"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:53.057 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state 2017-05-04 11:18:53.060 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub 2017-05-04 11:18:53.065 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Garage Door Open Sensor - contact to CLOSED 2017-05-04 11:18:53.382 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "contactSensor", "deviceDisplayName": "Back Garage Door Sensor", "capabilityAttribute": "contact"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:53.671 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "temperatureMeasurement", "deviceDisplayName": "Back Garage Door Sensor", "capabilityAttribute": "temperature"}" with path "/state" to the Smartthings hub, recieved HTTP status 202 2017-05-04 11:18:58.834 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state 2017-05-04 11:18:58.836 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST 2017-05-04 11:18:58.840 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Garage Door Open Sensor","value":"closed","capabilityKey":"contactSensor","capabilityAttribute":"contact"} 2017-05-04 11:18:58.842 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state 2017-05-04 11:18:58.846 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub 2017-05-04 11:18:58.851 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Garage Door Open Sensor - contact to CLOSED 2017-05-04 11:19:06.980 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state 2017-05-04 11:19:06.982 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST 2017-05-04 11:19:06.986 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Kitchen lights","value":45,"capabilityKey":"switchLevel","capabilityAttribute":"level"} 2017-05-04 11:19:06.988 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state 2017-05-04 11:19:06.990 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub 2017-05-04 11:19:06.997 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Kitchen lights - level to 45 2017-05-04 11:19:15.117 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state 2017-05-04 11:19:15.119 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST 2017-05-04 11:19:15.125 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Kitchen lights","value":"when off","capabilityKey":"indicator","capabilityAttribute":"indicatorStatus"} 2017-05-04 11:19:15.127 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state 2017-05-04 11:19:15.129 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub 2017-05-04 11:19:15.133 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Kitchen lights - indicatorStatus to when off 2017-05-04 11:19:23.277 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state 2017-05-04 11:19:23.279 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST 2017-05-04 11:19:23.286 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Back Garage Door Sensor","value":100,"capabilityKey":"battery","capabilityAttribute":"battery"} 2017-05-04 11:19:23.288 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state 2017-05-04 11:19:23.292 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub 2017-05-04 11:19:23.301 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Back Garage Door Sensor - battery to 100 2017-05-04 11:19:31.424 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state 2017-05-04 11:19:31.427 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST 2017-05-04 11:19:31.435 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Family Room","value":"off","capabilityKey":"switch","capabilityAttribute":"switch"} 2017-05-04 11:19:31.438 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state 2017-05-04 11:19:31.440 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub

Thanks for testing. Please keep me posted.

Bob

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BobRak/OpenHAB-Smartthings/issues/1#issuecomment-299273802, or mute the thread https://github.com/notifications/unsubscribe-auth/AZAm44WOilDHyquzTkC3l0773FoYinx1ks5r2hwSgaJpZM4NPws6.

BobRak commented 7 years ago

@andreasschraeder I had hoped to have an hour or two this afternoon to read through you email and make sure I understood everything and could do some research if necessary. Unfortunately I am only going to have 30 minutes. Sorry.

You said:

I went through the discovery process where I was shown only four things:
Door control
Motion Sensor
Battery status
ImageCapture
I added these four and then went to the things chapter of HAMmin and there I found all the declared things plus four more: the four that I had accepted from the discovery. They were named after their type ("Door control“, „Battery status“ etc.)

I haven't used HABmin until this afternoon. When I use the Paper UI I think it figures out what has been added in the things file definition and removes those from the discovered results.. I'll look into this.

Out of the two battery things, the original one (with the correct name „Sirene aussen“) shows a link towards the other one, but has no actual value - whereas the other one with the name „Battery status“ shows the correct value.

Same thing for the door control. One is only linked to the other and the other shows the correct status. I’m however unsure how I could trigger the „open“ or „close“ command through openHAB?

I don't understand what is going on here. I'll investigate

Much of the rest of your comments are about changing the state of devices. Right now I only support that for a limited number of devices. I really need to look at the design and do some redesign. That will take a while but I will start on that and let you know when I have made enough progress that it is worth you testing.

It is great that you have a large number of devices. Thanks again for testing with me.

Bob

andreasschraeder commented 7 years ago

Hi Bob,

I realised that OpenHAB stopped updating the status of switches in SmartThings two days ago. I don’t know what exactly triggered the change. Looking at the logs it appears as if OpenHAB would still send updates to SmartThings and even get an „accepted“ response (202), but looking at the SmartThings logs, it appears as if no messages have been received. Updating the other way round (changing status in SmatThings and by that triggering the change in OpenHAB) still works.

Please see below the relevant logs and let me know if you have any idea of how I can fix the issue.

Thanks and best regards,

Andreas

OpenHAB log:

13:31:17.363 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: DoorBird Bewegungsschalter - switch to ON 13:31:17.364 [INFO ] [marthome.event.ItemStateChangedEvent] - DoorBirdBewegungsschalter changed from OFF to ON 13:31:25.491 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Doorbird Bewegungsmelder - motion to active 13:31:33.612 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Could not map the message from the Smartthings hub: capabilityKey="null" with device name="DoorBird", capabilityAttribute="image", into an OpenHAB thing/channel, maybe this isn't configured in OpenHAB 13:32:17.461 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: DoorBird Bewegungsschalter - switch to OFF 13:32:17.463 [INFO ] [marthome.event.ItemStateChangedEvent] - DoorBirdBewegungsschalter changed from ON to OFF 13:32:17.463 [INFO ] [smarthome.event.RuleStatusInfoEvent ] - rule_2 updated: RUNNING 13:32:17.465 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'DoorBird_MotionSensor' received command OFF 13:32:17.466 [INFO ] [smarthome.event.RuleStatusInfoEvent ] - rule_2 updated: IDLE 13:32:25.566 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Doorbird Bewegungsmelder - motion to inactive 13:34:48.610 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "switch", "deviceDisplayName": "DoorBird Bewegungsschalter", "value": "on"}" with path "/update" to the Smartthings hub, recieved HTTP status 202 13:34:48.788 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'DoorBirdBewegungsschalter' received command ON 13:34:48.791 [INFO ] [marthome.event.ItemStateChangedEvent] - DoorBirdBewegungsschalter changed from OFF to ON

SmartThings log OpenHAB SmartApp:

da817fc4-6c0a-4e52-b57e-d38d3e32a204 13:32:17: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","body":{"deviceDisplayName":"Doorbird Bewegungsmelder","value":"inactive","capabilityAttribute":"motion"}} da817fc4-6c0a-4e52-b57e-d38d3e32a204 13:31:20: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","body":{"deviceDisplayName":"DoorBird","value":null,"capabilityAttribute":"image"}} da817fc4-6c0a-4e52-b57e-d38d3e32a204 13:31:17: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","body":{"deviceDisplayName":"Doorbird Bewegungsmelder","value":"active","capabilityAttribute":"motion"}} da817fc4-6c0a-4e52-b57e-d38d3e32a204 13:31:17: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","body":{"deviceDisplayName":"DoorBird Bewegungsschalter","value":"on","capabilityAttribute":"switch"}}

SmartThings log OpenHAB device:

44be9695-572c-4116-ac5f-3ba12cbb10ca 13:40:25: debug Sending '{"path":"/smartthings/state","body":{"deviceDisplayName":"Ina zu Hause","value":"present","capabilityAttribute":"presence"}}' to device 44be9695-572c-4116-ac5f-3ba12cbb10ca 13:32:17: debug Sending '{"path":"/smartthings/state","body":{"deviceDisplayName":"Doorbird Bewegungsmelder","value":"inactive","capabilityAttribute":"motion"}}' to device 44be9695-572c-4116-ac5f-3ba12cbb10ca 13:32:17: debug Sending '{"path":"/smartthings/state","body":{"deviceDisplayName":"DoorBird Bewegungsschalter","value":"off","capabilityAttribute":"switch"}}' to device 44be9695-572c-4116-ac5f-3ba12cbb10ca 13:31:20: debug Sending '{"path":"/smartthings/state","body":{"deviceDisplayName":"DoorBird","value":null,"capabilityAttribute":"image"}}' to device 44be9695-572c-4116-ac5f-3ba12cbb10ca 13:31:17: debug Sending '{"path":"/smartthings/state","body":{"deviceDisplayName":"Doorbird Bewegungsmelder","value":"active","capabilityAttribute":"motion"}}' to device 44be9695-572c-4116-ac5f-3ba12cbb10ca 13:31:17: debug Sending '{"path":"/smartthings/state","body":{"deviceDisplayName":"DoorBird Bewegungsschalter","value":"on","capabilityAttribute":"switch"}}' to device

SmartThings log DoorBird Bewegungsschalter:

04328891-923d-4d87-9078-75ffb35ecbc9 13:32:17: debug PUBLISHED off() 04328891-923d-4d87-9078-75ffb35ecbc9 13:31:17: debug PUBLISHED on()

Am 06.05.2017 um 02:18 schrieb BobRak notifications@github.com:

@andreasschraeder https://github.com/andreasschraeder I had hoped to have an hour or two this afternoon to read through you email and make sure I understood everything and could do some research if necessary. Unfortunately I am only going to have 30 minutes. Sorry.

You said:

I went through the discovery process where I was shown only four things: Door control Motion Sensor Battery status ImageCapture I added these four and then went to the things chapter of HAMmin and there I found all the declared things plus four more: the four that I had accepted from the discovery. They were named after their type ("Door control“, „Battery status“ etc.) I haven't used HABmin until this afternoon. When I use the Paper UI I think it figures out what has been added in the things file definition and removes those from the discovered results.. I'll look into this.

Out of the two battery things, the original one (with the correct name „Sirene aussen“) shows a link towards the other one, but has no actual value - whereas the other one with the name „Battery status“ shows the correct value.

Same thing for the door control. One is only linked to the other and the other shows the correct status. I’m however unsure how I could trigger the „open“ or „close“ command through openHAB? I don't understand what is going on here. I'll investigate

Much of the rest of your comments are about changing the state of devices. Right now I only support that for a limited number of devices. I really need to look at the design and do some redesign. That will take a while but I will start on that and let you know when I have made enough progress that it is worth you testing.

It is great that you have a large number of devices. Thanks again for testing with me.

Bob

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BobRak/OpenHAB-Smartthings/issues/1#issuecomment-299602390, or mute the thread https://github.com/notifications/unsubscribe-auth/AZAm46RlO0eHgrzxBp7jG9Jauh1qjGMPks5r27xugaJpZM4NPws6.

BobRak commented 7 years ago

@andreasschraeder Andreas: Is it possible that the IP address of your hub has changed? I know that doesn't explain why you are getting back an http-202 but that is the first thing that jumps to my mind. Here is what I see on my system when I change a device from OpenHAB:

2017-05-11 12:07:14.897 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "switch", "deviceDisplayName": "Family Room", "value": "on"}" with path "/update" to the Smartthings hub, recieved HTTP status 202
2017-05-11 12:07:16.047 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state
2017-05-11 12:07:16.048 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST
2017-05-11 12:07:16.053 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Family Room","value":"on","capabilityAttribute":"switch"}
2017-05-11 12:07:16.056 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state
2017-05-11 12:07:16.058 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub
2017-05-11 12:07:16.062 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Family Room - switch to ON

It is unfortunate that OpenHAB can't use Upnp to discover the IP of the hub automatically. Both OpenHAB and the hub support Upnp but both insist on being the Control Point.

If this is the problem you should be able to configure your router to always give the Hub the same IP. Also, your OpenHAB service also has to be configured to use the same IP because the SmartThings device has that IP hard coded.

If this isn't it let me know and I can try some more experimentation on my side.

Thanks,

Bob R

andreasschraeder commented 7 years ago

Hi Bob,

Thanks for taking care.

I guess the point is that I have changed the connection of the computer that runs OpenHAB from a Wifi connection to a wired Ethernet connection. The IP addresses however remained the same. That’s why I don’t get how this should affect the communication. I have restarted OpenHAB after that change and the SmartThings Hub did not change anything.

Any ideas on what I could do about it?

Andreas

Am 11.05.2017 um 21:40 schrieb BobRak notifications@github.com:

@andreasschraeder https://github.com/andreasschraeder Andreas: Is it possible that the IP address of your hub has changed? I know that doesn't explain why you are getting back an http-202 but that is the first thing that jumps to my mind. Here is what I see on my system when I change a device from OpenHAB:

2017-05-11 12:07:14.897 [INFO ] [hings.internal.SmartthingsHttpClient] - Sent message "{"capabilityKey": "switch", "deviceDisplayName": "Family Room", "value": "on"}" with path "/update" to the Smartthings hub, recieved HTTP status 202 2017-05-11 12:07:16.047 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthings servlet service() called with: 192.168.1.12: POST /smartthings/state 2017-05-11 12:07:16.048 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet function requested: state with Method: POST 2017-05-11 12:07:16.053 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"deviceDisplayName":"Family Room","value":"on","capabilityAttribute":"switch"} 2017-05-11 12:07:16.056 [DEBUG] [s.internal.SmartthingsHandlerFactory] - Event received on topic: org/openhab/binding/smartthings/state 2017-05-11 12:07:16.058 [DEBUG] [ngs.handler.SmartthingsBridgeHandler] - received message from Smartthings hub 2017-05-11 12:07:16.062 [INFO ] [ngs.handler.SmartthingsBridgeHandler] - Smartthings updated State for device: Family Room - switch to ON

It is unfortunate that OpenHAB can't use Upnp to discover the IP of the hub automatically. Both OpenHAB and the hub support Upnp but both insist on being the Control Point.

If this is the problem you should be able to configure your router to always give the Hub the same IP. Also, your OpenHAB service also has to be configured to use the same IP because the SmartThings device has that IP hard coded.

If this isn't it let me know and I can try some more experimentation on my side.

Thanks,

Bob R

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BobRak/OpenHAB-Smartthings/issues/1#issuecomment-300895699, or mute the thread https://github.com/notifications/unsubscribe-auth/AZAm4wov5RGZe3-fkPV9m-qiMu3Mexftks5r42QUgaJpZM4NPws6.

BobRak commented 7 years ago

@andreasschraeder Andreas:

The wired and wireless adapters will have separate and different mac addresses. Does the mac address in the Smartthings binding need to be updated?

Bob

andreasschraeder commented 7 years ago

Hi Bob,

you are absolutely right. I had forgotten about the MAC address in the OpenHAB device on SmartThings. After fixing that, it now works! Thanks!

Andreas

Am 12.05.2017 um 00:11 schrieb BobRak notifications@github.com:

@andreasschraeder https://github.com/andreasschraeder Andreas:

The wired and wireless adapters will have separate and different mac addresses. Does the mac address in the Smartthings binding need to be updated?

Bob

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BobRak/OpenHAB-Smartthings/issues/1#issuecomment-300931190, or mute the thread https://github.com/notifications/unsubscribe-auth/AZAm418CxK31r0Opywr9YDvETWtocASSks5r44emgaJpZM4NPws6.

BobRak commented 7 years ago

@andreasschraeder Andreas: Glad that fixed it. Bob