O Oceaneml Member Licensed User Longtime User Feb 2, 2015 #1 I use the NO-IP website and send several commands on an IP camera remotely. Rather than ask every time my IP at the same time I send an order, I would get once at the beginning and then concatenate with my following commands. So I tried using the following program: (Source EREL) If FirstTime Then Dim ni As NoIpValues ni.Initialize ni.host = "http://myadress.no-ip.biz" ni.username = "myname" ni.Password = "mypassword" CallSubDelayed2(DynamicIp, "Start", ni) End If I do not know how to use DynamicIp. I stated in "string" but I have an error message "Invalid Double" and DynamicIp value is empty ?
I use the NO-IP website and send several commands on an IP camera remotely. Rather than ask every time my IP at the same time I send an order, I would get once at the beginning and then concatenate with my following commands. So I tried using the following program: (Source EREL) If FirstTime Then Dim ni As NoIpValues ni.Initialize ni.host = "http://myadress.no-ip.biz" ni.username = "myname" ni.Password = "mypassword" CallSubDelayed2(DynamicIp, "Start", ni) End If I do not know how to use DynamicIp. I stated in "string" but I have an error message "Invalid Double" and DynamicIp value is empty ?
Erel B4X founder Staff member Licensed User Longtime User Feb 3, 2015 #2 I don't understand the above code. What is DynamicIp? It is probably a module that you are missing in your project. Upvote 0
I don't understand the above code. What is DynamicIp? It is probably a module that you are missing in your project.
lemonisdead Well-Known Member Licensed User Longtime User Feb 3, 2015 #3 I wonder if DynamicIp is not the module you had published in your tutorial : No-IP Android client - Access your device over the internet Upvote 0
I wonder if DynamicIp is not the module you had published in your tutorial : No-IP Android client - Access your device over the internet
lemonisdead Well-Known Member Licensed User Longtime User Feb 3, 2015 #5 Ok so, in line 33 of DynamicIP.bas, have you already tried to replace Code: Copy job.Download("http://api.exip.org/?call=ip") by Code: Copy job.Download("http://www.icanhazip.com/") (source) Upvote 0
Ok so, in line 33 of DynamicIP.bas, have you already tried to replace Code: Copy job.Download("http://api.exip.org/?call=ip") by Code: Copy job.Download("http://www.icanhazip.com/") (source)
O Oceaneml Member Licensed User Longtime User Feb 3, 2015 #6 I just tried but it is similar. The problem is that I do not know what to put as a variable in "Main" to concatenate the IP with my order. There is something I did not understand. By what variable goes my IP address "xx.xx.xx.xx"? Upvote 0
I just tried but it is similar. The problem is that I do not know what to put as a variable in "Main" to concatenate the IP with my order. There is something I did not understand. By what variable goes my IP address "xx.xx.xx.xx"?
O Oceaneml Member Licensed User Longtime User Feb 3, 2015 #7 In fact I am looking, from my smartphone, what is my dynamic IP address of my home PC, via the No-IP website... Upvote 0
In fact I am looking, from my smartphone, what is my dynamic IP address of my home PC, via the No-IP website...
lemonisdead Well-Known Member Licensed User Longtime User Feb 3, 2015 #8 Oceaneml said: In fact I am looking, from my smartphone, what is my dynamic IP address of my home PC, via the No-IP website... Click to expand... Ok so that's not the right module to use as the DynamicIP.bas module kindly provided by Erel was to register the Android smartphone with a "No-IP" provider to be able to access the Android smartphone using a provider's subdomain. If I well understand your need your PC is already linked to the provider's subdomain using the provider's own software. So what you only have to do is to access that subdomain using a httpUtils2 for example. In fact:http://my_pc.noip.com will always be accessable using its URL even if the IP change Am I wrong ? Upvote 0
Oceaneml said: In fact I am looking, from my smartphone, what is my dynamic IP address of my home PC, via the No-IP website... Click to expand... Ok so that's not the right module to use as the DynamicIP.bas module kindly provided by Erel was to register the Android smartphone with a "No-IP" provider to be able to access the Android smartphone using a provider's subdomain. If I well understand your need your PC is already linked to the provider's subdomain using the provider's own software. So what you only have to do is to access that subdomain using a httpUtils2 for example. In fact:http://my_pc.noip.com will always be accessable using its URL even if the IP change Am I wrong ?
O Oceaneml Member Licensed User Longtime User Feb 3, 2015 #9 No, you're right. But I can not find how to get my IP on the No-IP website. I send many commands but I do not know how to just get the address to send other commands directly without going through the no-ip site. Currently I use "http://myaccount.no-ip.biz:myport/myorder" and I would love to get my IP with a command like "? = Call ip" Upvote 0
No, you're right. But I can not find how to get my IP on the No-IP website. I send many commands but I do not know how to just get the address to send other commands directly without going through the no-ip site. Currently I use "http://myaccount.no-ip.biz:myport/myorder" and I would love to get my IP with a command like "? = Call ip"
lemonisdead Well-Known Member Licensed User Longtime User Feb 3, 2015 #10 I am sorry. I did not found in their API. Upvote 0