Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Becky :) I need your help: Stuck in connecting Smartthing with RMBridge. #27

Open
Golden85 opened this issue Apr 28, 2017 · 5 comments
Open

Comments

@Golden85
Copy link

Hi Becky,

I do need your help as I spent hours but can not find why.
I) Method: RM Bridge Cloud
II) Add some devices to control:

Name MAC Address URL
Bed aircon off b4:43:0d:f9:28:35 http://192.168.1.104:7474/code/Bed aircon off test delete
Bed aircon on b4:43:0d:f9:28:35 http://192.168.1.104:7474/code/Bed aircon on test delete

Run the link outside is OK => showed like that:

"code 0
msg "rm2 send data success"

III) Install this app into SmartThings:

I stuck there:
Used: RM Bridge Switch Cloud
Changed only in line 74 for the add:

def params = [
uri: "http://192.168.1.104:7474/code/$replaced%20$toggle"

And I created a Device name:

Display Name Type Location Hub Zigbee Id Device Network Id Status Last Activity
Bed aircon RM Bridge Switch Cloud CT3C Bed aircon ACTIVE 17 minutes ag

But fail to run in mobile app: The icon is changed from on to off, change colour, but the device doesn't respond.

I run simulation, the result show that:

1ad28461-6feb-4371-a369-b038d94a1310 22:15:21: error org.apache.http.conn.ConnectTimeoutException: Connect to 192.168.1.104:7474 [/192.168.1.104] failed: connect timed out @ line 73

=> I don't know what's the issues. I tryed to remove and install around 5 times, but the results are the same.

Please give me few minutes and give me some clue to solve that.

Thanks you very much indeed.

@beckyricha
Copy link
Owner

beckyricha commented Apr 30, 2017 via email

@Golden85
Copy link
Author

Golden85 commented May 1, 2017

Dear Becky

Thank you very much indeed.

@Golden85
Copy link
Author

Golden85 commented May 2, 2017

Dear Becky

I need your support again :) (As I have very limited understanding on IP an address)
For example:

I checked out my public IP as below:
183.81.##.##
Your public IP address

I registered a Dynamic DNS and get an add like that:
name##.ddns.net

I double checked the Dynamic DNS, it show the same public IP add as 183.81.##.##
But when put it in the code in Smartthing, it shown error:

a021b131-74e1-4fbd-9d57-3b575868e5e9 16:27:32: error org.apache.http.conn.ConnectTimeoutException: Connect to name##.ddns.net:7474 [name##.ddns.net/183.81.##.##] failed: connect timed out @ line 73

I created some testing case, for ex: in RM Bridge Address, I tested successfully this code:
http://192.168.1.113:7474/code/Samsung TV off

result:
code 0
msg "rm2 send data success"

So I try to put the direct command: 183.81.##.##:7474/code/Samsung TV off but it did not run => It shown: The server at 183.81.##.## is taking too long to respond.

I check and tried to open the Modem port on 7474 port, with IP add of the cellphone that I run "RM Bridge", but the result was not changed.

=> So how can I do next?

So sorry for querry a lot indeed, I'm very excited with something new on technology. But this time, I don't have much experience on the Ip and network add.

@beckyricha
Copy link
Owner

beckyricha commented May 2, 2017 via email

@Golden85
Copy link
Author

Golden85 commented May 4, 2017

Dear Becky

Thank you very much indeed for your support. But I think I might face with hardware issue or something like that.

  • I did fix the local IP add for [the phone that install RM bridge] successfully
  • I did get dynamic DNS to point to my public IP successfully
  • I opened the port on my Modem, I think that I follow right instruction: Port 7474 on [the phone that install RM bridge]' IP add. (My modem is TP Link, so it is quite easy to do that: NAT => Virtual Server)

But seem that when I try to connect from dynamic DNS or even direct public IP add to the port 7474, it was failed.

I used some tools in internet to check open port 7474 in my public IP add/dynamic DNS, but it showed that the port was closed.

I think that I have to stop this issue at this step :(

Thank you very much indeed for your support until now :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants