-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADT Smartthings hub not detected #101
Comments
In PaperUI do you have: Configuration > Things > Smartthings Hub? If you select that you should be able to enter the IP of your Smartthings Hub. In the Installation of Smartthings Code have you completed the Create a Device section and provided the IP. mac and port of your openhab server? Also, you need to have fixed IP addresses configured in your router for the ST hub and openHAB devices. |
I have done all of that. The smartthubg hub is online. I have fixed IPs |
Are you configuring with files or just through the PaperUI? If through files please send me the Smartthings related part of your ?.things file. In the ST config done on your phone in the ST app do you have some entries that look like this: If you look at issue #95 you will find instructions for using curl to send a discovery request to the hub. Please double check the installation steps. Unfortunately it is a long and complicated process. 99% of the time I spend a lot of time answering questions only to find that the requester missed something in the installation instructions. |
I have reviewed all the items. My setup is correct. port 39500 is open on the hub. I use Ubuntu. I used the nc command to listen to port 8089. As soon as I connected to the port I got
I got additional responses like that before issuing the curl command. This indicated the my smartthing setup is correct. But When I sent the command:
Nothing happens. I only get random response that is unrelated to the curl command. The IP address of the hub is also listed in smartthings as 192.168.0.62 |
First of all, by default port for openHAB is 8080. Why are you using 8089? Is the url you use for paperui: http://xx.xx.xx.xx:8089/paperui/index.html or port 8080. The Device Handler should be configured for the same port that you use with paperui. The message you sent looks like your hub is notifying openHAB that the state of "capabilityAttribute":"motion","deviceDisplayName":"Front Porch" is inactive. For debugging you can logon to the ST developers website and then click on Live Logging. Then run the curl command and see what ST logs. I have quite a few log messages in the SmartApp and Device Handler. That might give you some clue. You never answered my question about using files or paperui for configuration. I would highly recommend that you start with files (.things, .items, .sitemap). The files don't use or depend on discovery. And, start with a switch if possible. Just so I am clear, what is the IP of your openHAB server and of your ST hub? What devices are configured in your ST hub and included in the smart app? Looking at your OpenHAB Device in the ST IDE please tell me what the IP, port and mac are. Do these match those values on your openhab server? If you have additional questions please make sure to answer the questions I have asked. Bob |
I used port 8089 for testing with curl as recommend in that post ( may be to avoid conflict with the server port). Now I changed it back to port 8080 (using this port I can do the testing with curl command only when the server is not running. It is not possible for me and the server to listen to the same port) I use paper ui. with the default ubuntu installation. (not manual install) All the possible devices are included and enabled (multiple motion detectors, switches and AC) in the ST IDE the network ID is 0201CF8ACEAF and the ip is 192.168.0.2 mac is 02:01:cf:8a:ce:af No event shows up when I send the curl command from the openhab computer, but I get and error event when I send from a different computer. That tells me that the curl command is received, but it is also ignored. |
From my last response:
|
The mac address matches. I get no response on live loging from openhab. I get other events that are not related. I know that it receives the curl command, because if I run the same curl command from a different computer I get an error in the event log. |
I'm running out of ideas.
|
The live log shows the follwing when search for smartthings:
My configuration looks good:
When I use the following curl command:
I get in the live log:
But I do not get the list of things. If I use configuration files. Do I need purge my installation and reinstall again. |
Here is what my live logging looks like when I run discovery from the paperui:
I would expect the response you are seeing if you have not selected any devices when you run the OpenHabAppV2 SmartApp from the SmartthingsApp on your phone. But you say that you have selected the devices. Just to be sure, here are the steps:
Configuration with files Additional curl commands
Edit to fit your system. But, you can check the status of devices and control them. |
Something is wrong on my computer setup. It is hard to pin down. After a long delay when I send the discovery curl command, I get a full list of things in the live logging, but when I send it again I get this response 92957f86-6349-4e87-b2f8-de5175ffbec5 12:58:39 PM: debug refresh() is called
Also when I try to make any thing manually using the paperui I get the following error:
It is clear that there is some issue in my openhab setup. Not in smartthing setup on the web or app. |
Only a couple of thoughts
If I think of anything else I'll send it to you. |
Hi @odror Today I am installing the development environment and will investigate. I'll let you know when I have a new binding you can download. Maybe you don't care and have moved on. But, I did want you to know. Bob |
Hi
I followed up the installation process on ubuntu (20.10)
Google home can detect all my devices. So there is no issue with my hub.
The text was updated successfully, but these errors were encountered: