Closed sethzarny closed 4 years ago
@sethzarny
You have name misspelled in this line Thing waterSensor HomeWaterSensor [ smartthingsNmae="Water Leak Sensor" ]
In this item definition:
Contact HomeWaterSensor "Water Sensor1" {channel="smartthings:waterSensor:SmartThingsHub:HomeWaterSensor:waterSensor"}
waterSensor at the end should be just water
You have the same issue in the other item definition.
In the waterSensor item it needs to be set up as a String, not Contact.
These are the issues that jumped out right away, there may be other issues to. I do believe the binding works but I'll admit the setup is complicated
In the next few days I'll be moving and won't have access to my computer for a couple of weeks. Just so you know if I don't respond quickly.
Thank you Bob. I made the 3 changes - spelling & waterSensor to water, motionSensor to motion. I am getting the error below in the openHAB 2 Log Viewer. I am not seeing any water status input to the Log Viewer I am also not seeing any status in BasicUI. It is not displaying the motion or water status/change. It is blank. I attached a screenshot. Thank you. Seth After Bob's comments:
==> /var/log/openhab2/openhab.log <== 2019-07-18 01:36:05.554 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:36:05.557 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:36:05.564 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:36:05.566 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text
I am also receiving this long error message in the openhab log viewer. Thank you.
2019-07-18 01:36:05.554 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:36:05.557 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:36:05.564 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:36:05.566 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:40:48.569 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:40:48.571 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:40:48.573 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:40:48.576 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:41:19.892 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:41:19.895 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:41:19.899 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:41:32.372 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:41:32.374 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:41:32.377 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:03.315 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:03.317 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:03.320 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:28.623 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:28.626 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:28.629 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:41:32.372 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:41:32.374 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:41:32.377 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:03.315 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:03.317 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:03.320 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:28.623 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:28.626 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:28.629 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:32.215 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:32.219 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:42:32.221 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:43:03.302 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:43:03.310 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:43:03.312 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:43:32.300 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:43:32.302 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:43:32.306 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:44:03.234 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:44:03.236 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:44:03.239 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:44:32.408 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:44:32.411 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:44:32.413 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:45:04.315 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:45:04.319 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:45:04.321 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:45:32.528 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:45:32.530 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:45:32.533 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:46:04.267 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:46:04.270 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:46:04.273 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:46:32.493 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:46:32.497 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text 2019-07-18 01:46:32.499 [ERROR] [ui.internal.items.ItemUIRegistry
@sethzarny I have not seen error like these before:
2019-07-18 01:36:05.554 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2019-07-18 01:36:05.557 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MotionSensor' for widget org.eclipse.smarthome.model.sitemap.Text
I am thinking some isn't right in your item (or sitemap) definition. See the OpenHAB documentation for help.
I think your item definition should look like:
String MotionSensorKitchen "Motion Sensor Kitchen" {channel="smartthings:motionSensor:SmartThingsHub:MotionSensorKitchen:motion"}
I will be shutting my computer down to move in the next hour and will have limited ability to help for a couple of weeks.
Thank you Bob. I’ll keep working on it. Good luck with the nexr couple of weeks.
Bob Here is the log from the smartthings app sent to openhab. There is nothing received using the Openhab 2 logviewer
c8ee9def-a0b3-47bd-90c1-4462db48fd5f 7:51:26 PM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1564012286603,"body":{"deviceDisplayName":"Motion Sensor","value":"inactive","capabilityAttribute":"motion","hubTime":"--hubTime--"}} c8ee9def-a0b3-47bd-90c1-4462db48fd5f 7:51:26 PM: debug Entered input handler for "Motion Sensor" with attribute "motion" changed to "inactive" 04403f50-526e-45b7-8da9-504378e52dbb 7:51:26 PM: debug hub elapsed time is 54 04403f50-526e-45b7-8da9-504378e52dbb 7:51:26 PM: debug Sending '{"path":"/smartthings/state","hubStartTime":1564012286603,"body":{"deviceDisplayName":"Motion Sensor","value":"inactive","capabilityAttribute":"motion","hubTime":"--hubTime--"}}' to 192:168:1:32:8080 with mac: b8:27:eb:01:63:41 957a5c61-7b49-4679-87c0-b21f3e6cb34e 7:51:26 PM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1564012286591,"body":{"deviceDisplayName":"Motion Sensor","value":"inactive","capabilityAttribute":"motion","hubTime":"--hubTime--"}} 957a5c61-7b49-4679-87c0-b21f3e6cb34e 7:51:26 PM: debug Entered input handler for "Motion Sensor" with attribute "motion" changed to "inactive" 04403f50-526e-45b7-8da9-504378e52dbb 7:51:26 PM: debug hub elapsed time is 47 04403f50-526e-45b7-8da9-504378e52dbb 7:51:26 PM: debug Sending '{"path":"/smartthings/state","hubStartTime":1564012286591,"body":{"deviceDisplayName":"Motion Sensor","value":"inactive","capabilityAttribute":"motion","hubTime":"--hubTime--"}}' to 192:168:1:32:8080 with mac: b8:27:eb:01:63:41 5c9460d7-3c34-40ba-aa36-a1128394790e 7:51:26 PM: info postEventToEndpoint: event successfully posted. 5c9460d7-3c34-40ba-aa36-a1128394790e 7:51:26 PM: debug Property Changed event motion: inactive (source: DEVICE) 5c9460d7-3c34-40ba-aa36-a1128394790e 7:51:26 PM: debug routeEndpointEvent event name: motion, physical?: false 26deb6c5-dd47-44ed-b465-e7f651872dec 7:51:26 PM: debug Error parsing ifttt payload groovyx.net.http.ResponseParseException: OK c8ee9def-a0b3-47bd-90c1-4462db48fd5f 7:50:59 PM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1564012259484,"body":{"deviceDisplayName":"Motion Sensor","value":"active","capabilityAttribute":"motion","hubTime":"--hubTime--"}} c8ee9def-a0b3-47bd-90c1-4462db48fd5f 7:50:59 PM: debug Entered input handler for "Motion Sensor" with attribute "motion" changed to "active" 04403f50-526e-45b7-8da9-504378e52dbb 7:50:59 PM: debug hub elapsed time is 68 04403f50-526e-45b7-8da9-504378e52dbb 7:50:59 PM: debug Sending '{"path":"/smartthings/state","hubStartTime":1564012259484,"body":{"deviceDisplayName":"Motion Sensor","value":"active","capabilityAttribute":"motion","hubTime":"--hubTime--"}}' to 192:168:1:32:8080 with mac: b8:27:eb:01:63:41 5c9460d7-3c34-40ba-aa36-a1128394790e 7:50:59 PM: info postEventToEndpoint: event successfully posted. 5c9460d7-3c34-40ba-aa36-a1128394790e 7:50:59 PM: debug Property Changed event motion: active (source: DEVICE) 5c9460d7-3c34-40ba-aa36-a1128394790e 7:50:59 PM: debug routeEndpointEvent event name: motion, physical?: false
@sethzarny Seth: I'm currently in the process of moving. It is going to be a couple of weeks before I have access to my computer and time to research your troubles more. I do see in the log you sent the messages are being sent from the ST hub to the binding. That is encouraging. I recommend you check your config files.
If you haven't heard from me by Aug 9 please remind me. I should have more time by then.
Thanks, Bob
bob - I hope your rmove went well. I found that there were many errors & my openhab became a bit unstable when I implemented Smartthings. I am very interested in getting these to work. If you are back & able to help, here are my current settings:
demo.things
Bridge smartthings:smartthings:SmartThingsHub [ smartthingsIp="192.168.XXX.XXXXX", smartthingsPort=39500 ] { Thing motionSensor FamilyMotion [ smartthingsName="Motion Sensor" ] Thing waterSensor FamilyWater [ smartthingsName="Water Sensor" ]
}
demo.items
String MotionSensorKitchen "Motion Sensor Kitchen" {channel="smartthings:motionSensor:SmartThingsHub:FamilyMotion:motion"} String HomeWaterSensor "Water Sensor1" {channel="smartthings:waterSensor:SmartThingsHub:FamilyWater:water"}
demo.sitemap
Text item=MotionSensorKitchen icon="motion" Text item=HomeWaterSensor icon="faucet"
Bindings
Smartthings Binding smartthings Bob Raker
Configuration->Things
Motion Sensor ONLINE Motion Sensor smartthings:motionSensor:SmartThingsHub:FamilyMotion edit alarm_on delete
M Motion Sensor ONLINE Motion Sensor smartthings:motionSensor:c33feb19 edit alarm_on delete
S Smartthings Hub ONLINE Smartthings Hub smartthings:smartthings:74f72781 edit alarm_on delete
S Smartthings Hub ONLINE Smartthings Hub smartthings:smartthings:SmartThingsHub edit alarm_on delete
W Water Sensor ONLINE Water Sensor smartthings:waterSensor:b7876722 edit alarm_on delete
W Water Sensor ONLINE Water Sensor
Hi @sethzarny I just setup OpenHAB for my new place and things went pretty smoothly. I could turn switches on and off from the BasicUI but if I changed the light on my phone using the Smartthings app nothing happened on openHAB. Then it occurred to me that the IP of my OpenHAB server changed but I didn't update IP in the device part of the Smartthings config (See SmartthingsInstallation.md, "Create the Device" section). From your comment that you are not seeing anything in the openHAB log I suspect that IP may be wrong. According to you log messages it should be 192.168.1.32, is that the correct IP? Also, make sure the mac address is correct.
I see in your PaperUI dump of the configuration -> things that you have some things that end with a hexadecimal string (i.e. smartthings:waterSensor:b7876722). These must be things that were "discovered" and were in the Inbox that you accepted. Since you created your things with files these are not necessary. I would delete them but I am not sure they are the source of you problems.
Also, it would be a good idea to walk through all of the configuration instructions and make sure you have done everything and everything is correct.
Let me know how it goes.
Thank you Bob. I will review the settings and IP address as you suggest. I will let you know how this goes. I do want the motion and water sensors to be recognized. Appreciate the help.
One more thing. You showed: Bridge smartthings:smartthings:SmartThingsHub [ smartthingsIp="192.168.XXX.XXXXX", smartthingsPort=39500 ] {
I assume you have your real ST hub IP instead of XXX
Yes. The IP is my smarththings hub. I will work on your instructions. I will delete the found items within PaperUI. I will also re-verify the full installation. I really want to get these smart thing devices working. Thank you for the help.
One more suggestion... If you had a device that could be controlled from openHAB, such as a plug, it might make troubleshooting easier because you would expect to see log messages that OH is sending messages to the hub. I bought a couple of these for less than $20/ea: SYLVANIA SMART + ZigBee Indoor Smart Plug. On Amazon
Bob - I will work with a smart plug to troubleshoot this. I do want to figure it out. Thank you. -----Original Message----- From: Bob Raker notifications@github.com To: BobRak/OpenHAB-Smartthings OpenHAB-Smartthings@noreply.github.com Cc: sethzarny seth.zarny@verizon.net; Mention mention@noreply.github.com Sent: Wed, Aug 21, 2019 1:30 pm Subject: Re: [BobRak/OpenHAB-Smartthings] Need help - None of my smartthings displaying in Basic Ui (#81)
One more suggestion... If you had a device that could be controlled from openHAB, such as a plug, it might make troubleshooting easier because you would expect to see log messages that OH is sending messages to the hub. I bought a couple of these for less than $20/ea: SYLVANIA SMART + ZigBee Indoor Smart Plug. On Amazon— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Bob - I followed your suggestions. I deleted the found items in PaperUI. I checked the MAC address in the Smartthings automation app. The IP address is correct. The MAC address & IP address both match my Verizon router settings from my admin access to the router. Interestingly, the MAC address listed on the Smartthings HUB ends in B4 while the MAC address in the Smartthings automation app ends in B5, which is the same as the Verizon setting. Also, the setting in the Smarthhings app is not editable. I believe the settings are correct. I also connected my Smartthings motion sensor to IFTTT. It works perfectly within IFTTT, When I open my BasicUI screen, the 2 smartthings things show just a -. It is still not making the connection. I am a bit at a loss.
Here are some setups:
things file:
Bridge smartthings:smartthings:SmartThingsHub [ smartthingsIp="192.168.1.4", smartthingsPort=39500 ] {
Thing motionSensor FamilyMotion [ smartthingsName="Motion Sensor" ]
Thing waterSensor FamilyWater [ smartthingsName="Water Sensor" ]
}
items file: String MotionSensorKitchen "Motion Sensor Kitchen" {channel="smartthings:motionSensor:SmartThingsHub:FamilyMotion:motion"} String HomeWaterSensor "Water Sensor1" {channel="smartthings:waterSensor:SmartThingsHub:FamilyWater:water"}
site file: Text item=MotionSensorKitchen icon="motion" Text item=HomeWaterSensor icon="faucet"
Hi @sethzarny I'm at a loss of what to suggest...
Looking at your latest message you say
The MAC address & IP address both match my Verizon router settings from my admin access to the router. Interestingly, the MAC address listed on the Smartthings HUB ends in B4 while the MAC address in the Smartthings automation app ends in B5, which is the same as the Verizon setting. Also, the setting in the Smarthhings app is not editable.
I'm sorry but I'm not understanding what you are saying here. Using the https://graph.api.smartthings.com and looking at the OpenHabDevice iP and MAC they match what I see in the Smartthings phone app. So if yours don't that is likely an issue.
Do you have your router set do reserve the IP assigned to both the openHAB server and the smartthings hub? If not, your router can change them over time.
Looking at your logs from July 24 it looks like there are messages going from the ST hub to openhab. Is that still the case. Have you looked at the ST logs? are you seeing any error messages there?
Have you tried using a switch as I suggested earlier?
What is your openHAB server? Raspberry Pi?
Cannot see the items displaying correctly in my BasicUI screen. I believe I have linked Smartthings Control Classic correctly to OpenHab. The devices are not working. I am working with 2 devices - Smartthings MotionSensor & WaterSensor. I believe somethings is sent to openHAB 2. However, it is not integrating correctly. Any Help would be appreciated. Seth
Things:
Bridge smartthings:smartthings:SmartThingsHub [ smartthingsIp="192.168.1.19", smartthingsPort=39500 ] {
}
Items file:
String MotionSensorKitchen "Motion Sensor Kitchen" {channel="smartthings:motionSensor:SmartThingsHub:MotionSensorKitchen:motionSensor"} Contact HomeWaterSensor "Water Sensor1" {channel="smartthings:waterSensor:SmartThingsHub:HomeWaterSensor:waterSensor"}
Sitemap Text item=MotionSensor icon="motion" Text item=Temperature icon="thermometer" Text item=HomeWaterSensor icon="water"
Here are the logs from Home Connect
PM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1563413192498,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}} ab5218d4-aea1-49ff-b831-75e03048ee15 9:26:32 PM: debug Entered input handler for "Water Leak Sensor" with attribute "water" changed to "wet" c8ee9def-a0b3-47bd-90c1-4462db48fd5f 9:26:32 PM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1563413192559,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}} c8ee9def-a0b3-47bd-90c1-4462db48fd5f 9:26:32 PM: debug Entered input handler for "Water Leak Sensor" with attribute "water" changed to "wet" 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug hub elapsed time is 14 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug Sending '{"path":"/smartthings/state","hubStartTime":1563413192559,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}}' to 192:168:1:32:8080 with mac: b8:27:eb:01:63:41 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug hub elapsed time is 54 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug Sending '{"path":"/smartthings/state","hubStartTime":1563413192498,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}}' to 192:168:1:32:8080 with mac: b8:27:eb:01:63:41 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug hub elapsed time is 54 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug Sending '{"path":"/smartthings/state","hubStartTime":1563413192498,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}}' to 192:168:1:32:8080 with mac: b8:27:eb:01:63:41 c8ee9def-a0b3-47bd-90c1-4462db48fd5f 9:26:32 PM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1563413192559,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}}
Here are the logs from openHAB 2 Log Viewer
PM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1563413192498,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}} ab5218d4-aea1-49ff-b831-75e03048ee15 9:26:32 PM: debug Entered input handler for "Water Leak Sensor" with attribute "water" changed to "wet" c8ee9def-a0b3-47bd-90c1-4462db48fd5f 9:26:32 PM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1563413192559,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}} c8ee9def-a0b3-47bd-90c1-4462db48fd5f 9:26:32 PM: debug Entered input handler for "Water Leak Sensor" with attribute "water" changed to "wet" 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug hub elapsed time is 14 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug Sending '{"path":"/smartthings/state","hubStartTime":1563413192559,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}}' to 192:168:1:32:8080 with mac: b8:27:eb:01:63:41 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug hub elapsed time is 54 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug Sending '{"path":"/smartthings/state","hubStartTime":1563413192498,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}}' to 192:168:1:32:8080 with mac: b8:27:eb:01:63:41 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug hub elapsed time is 54 04403f50-526e-45b7-8da9-504378e52dbb 9:26:32 PM: debug Sending '{"path":"/smartthings/state","hubStartTime":1563413192498,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}}' to 192:168:1:32:8080 with mac: b8:27:eb:01:63:41 c8ee9def-a0b3-47bd-90c1-4462db48fd5f 9:26:32 PM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1563413192559,"body":{"deviceDisplayName":"Water Leak Sensor","value":"wet","capabilityAttribute":"water","hubTime":"--hubTime--"}}