Page 2 of 2

Re: External IP Plugin for Indigo v5

PostPosted: Mon Nov 05, 2012 4:07 pm
by durosity
Works perfectly, though the filename says v1.07 but the plugin identifies itself as v1.06!

Thanks!

Re: External IP Plugin for Indigo v5

PostPosted: Mon Nov 05, 2012 6:20 pm
by bschollnick2
durosity wrote:
Works perfectly, though the filename says v1.07 but the plugin identifies itself as v1.06!

Thanks!


I thought I updated the preference file, I'll update that and make a public release...

- Benjamin

Re: External IP Plugin for Indigo v5

PostPosted: Sat Jun 29, 2013 3:41 pm
by kw123
I get the following error message after starting:

=======
Enabling plugin "External IP Address Plugin 1.06"
Starting plugin "External IP Address Plugin 1.06" (pid 43729)
Started plugin "External IP Address Plugin 1.06"
Error (client) timeout waiting for plugin response from com.schollnick.indigoplugin.External_IP for request UiGetValues1
Error (client) timeout waiting for plugin response from com.schollnick.indigoplugin.External_IP for request CallPluginFunc
Error (client) runConfigDialog() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
========
Indigo 6.0.0.0b10


any suggestions?

Karl

Re: External IP Plugin for Indigo v5

PostPosted: Tue Jul 02, 2013 12:18 pm
by bschollnick2
kw123 wrote:
I get the following error message after starting:

=======
Enabling plugin "External IP Address Plugin 1.06"
Starting plugin "External IP Address Plugin 1.06" (pid 43729)
Started plugin "External IP Address Plugin 1.06"
Error (client) timeout waiting for plugin response from com.schollnick.indigoplugin.External_IP for request UiGetValues1
Error (client) timeout waiting for plugin response from com.schollnick.indigoplugin.External_IP for request CallPluginFunc
Error (client) runConfigDialog() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
========
Indigo 6.0.0.0b10


any suggestions?


Off the top of my head? Not really. I'll have to investigate.

- Benjamin

Re: External IP Plugin for Indigo v5

PostPosted: Sun Sep 22, 2013 5:05 am
by durosity
I’m in the middle of creating a brand new Indigo DB for a new house. I just went to install this plugin and configure it, but as soon as i do i get this error:

Code: Select all
  External IP Address Plugin      Manual External IP Address Update Requested
  External IP Address Plugin      External IP Plugin Updating
  External IP Address Plugin ErrorError in plugin execution MenuAction:

Traceback (most recent call last):
  File "plugin.py", line 161, in manual_update_menutrigger
  File "plugin.py", line 180, in update_ip_address
  File "plugin.py", line 148, in retrieve_ip_from_whatismyip
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 124, in urlopen
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 381, in open
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 399, in _open
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 1118, in http_open
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 1093, in do_open
<class 'urllib2.URLError'>: <urlopen error (61, 'Connection refused')>


I downloaded from the previous link you posted that had it listed as v1.07, but when i install it i get v1.06. I tried downloading from your list of plugins here but just get a 404 error when i try to download the 1.07 (https://dl.dropbox.com/u/241415/Indigo% ... 20v107.zip). I thought i’d had this running fully on my old DB but can’t find it, so tried setting it up again but same issue. Just for reference i’m running Indigo 6.0.2, the DB is brand new (not a modification of the demo house) and just to make sure I wasn’t going crazy I installed it on a completely different machine in a different house, and setup a brand new DB with just this one plugin/device but still got the same problem. Any ideas?

Re: External IP Plugin for Indigo v5

PostPosted: Mon Sep 23, 2013 12:40 am
by asw24b
durosity wrote:
I’m in the middle of creating a brand new Indigo DB for a new house. I just went to install this plugin and configure it, but as soon as i do i get this error:

Code: Select all
  External IP Address Plugin      Manual External IP Address Update Requested
  External IP Address Plugin      External IP Plugin Updating
  External IP Address Plugin ErrorError in plugin execution MenuAction:

Traceback (most recent call last):
  File "plugin.py", line 161, in manual_update_menutrigger
  File "plugin.py", line 180, in update_ip_address
  File "plugin.py", line 148, in retrieve_ip_from_whatismyip
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 124, in urlopen
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 381, in open
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 399, in _open
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 1118, in http_open
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 1093, in do_open
<class 'urllib2.URLError'>: <urlopen error (61, 'Connection refused')>


I downloaded from the previous link you posted that had it listed as v1.07, but when i install it i get v1.06. I tried downloading from your list of plugins here but just get a 404 error when i try to download the 1.07 (https://dl.dropbox.com/u/241415/Indigo% ... 20v107.zip). I thought i’d had this running fully on my old DB but can’t find it, so tried setting it up again but same issue. Just for reference i’m running Indigo 6.0.2, the DB is brand new (not a modification of the demo house) and just to make sure I wasn’t going crazy I installed it on a completely different machine in a different house, and setup a brand new DB with just this one plugin/device but still got the same problem. Any ideas?



If I remember correctly, whatsmyip now makes you sign up for an account to use the service. I modified the plug in to use my own account, and all is good.

Re: External IP Plugin for Indigo v5

PostPosted: Mon Oct 14, 2013 1:34 pm
by bschollnick2
I’m in the middle of creating a brand new Indigo DB for a new house. I just went to install this plugin and configure it, but as soon as i do i get this error:

[code] External IP Address Plugin Manual External IP Address Update Requested
External IP Address Plugin External IP Plugin Updating
External IP Address Plugin ErrorError in plugin execution MenuAction:

Traceback (most recent call last):

If I remember correctly, whatsmyip now makes you sign up for an account to use the service. I modified the plug in to use my own account, and all is good.


Snip.

That's new. I haven't looked into this in a while, so it doesn't surprise me that whatismyip.com would or might do something like this.

I will look resolving this.

My I'll look into using Google's own IP reflector instead. It would be less likely to break in this manner.

- Ben

Re: External IP Plugin for Indigo v5

PostPosted: Tue Oct 15, 2013 10:19 am
by kw123
put the following code in a scheduled action ( 5 minutes interval should be fine).
It puts the current public IP number into the variable "my_IP_address" (has to be created first)

Code: Select all
set ipNumber to do shell script "curl ip.appspot.com" 
tell application "IndigoServer"
      set value of variable "my_IP_address" to ipNumber 
end tell

Re: External IP Plugin for Indigo v5

PostPosted: Tue Oct 15, 2013 4:51 pm
by bschollnick2
kw123 wrote:
put the following code in a scheduled action ( 5 minutes interval should be fine).
It puts the current public IP number into the variable "my_IP_address" (has to be created first)

Code: Select all
set ipNumber to do shell script "curl ip.appspot.com" 
tell application "IndigoServer"
      set value of variable "my_IP_address" to ipNumber 
end tell


Yes, KW123, that's correct. That will work. But it doesn't replace the External IP Plugin.

In addition, it will also update your Dynamic DNS provider to help ensure that your system is available for external IP access, & email you on IP address changes.

I have a test version that is ready for examination. If anyone wants to test it, please email me at Benjamin AT schollnick.net.

The new version follows RFC 3489: http://www.ietf.org/rfc/rfc3489.txt, and will use the following servers to detect your IP address.

* "stun.ekiga.net",
* 'stunserver.org',
* 'stun.ideasip.com',
* 'stun.softjoys.com',
* 'stun.voipbuster.com',

In addition, it can classify what type of NAT you are using, and what Network port your NAT is bound to. Please note, it does not use this information at this time, nor does it store this information.

Switching to RFC 3489 makes that information available, but I don't see a practical use for it, nor do I want to rewrite the plugin at this time.

- Benjamin

Re: External IP Plugin for Indigo v5

PostPosted: Tue Oct 15, 2013 4:52 pm
by bschollnick2
bschollnick2 wrote:
I will look resolving this.

My I'll look into using Google's own IP reflector instead. It would be less likely to break in this manner.


I found a better solution at this time.

I have a test version that is ready for examination. If anyone wants to test it, please email me at Benjamin AT schollnick.net.

The new version follows RFC 3489: http://www.ietf.org/rfc/rfc3489.txt, and will use the following servers to detect your IP address.

* "stun.ekiga.net",
* 'stunserver.org',
* 'stun.ideasip.com',
* 'stun.softjoys.com',
* 'stun.voipbuster.com',

In addition, it can classify what type of NAT you are using, and what Network port your NAT is bound to. Please note, it does not use this information at this time, nor does it store this information.

Switching to RFC 3489 makes that information available, but I don't see a practical use for it, nor do I want to rewrite the plugin at this time.

- Benjamin

Re: External IP Plugin for Indigo v5

PostPosted: Fri May 20, 2016 11:51 am
by Different Computers
cool idea for a plugin.

Im using noip.com for my dynamic DNS. Still interested in testers for other services besides DynDns?

Re: External IP Plugin for Indigo v5

PostPosted: Fri May 20, 2016 5:32 pm
by bschollnick2
Different Computers wrote:
cool idea for a plugin.

Im using noip.com for my dynamic DNS. Still interested in testers for other services besides DynDns?


If your interested, let me know at Benjamin AT schollnick DOT net....

I'm not doing much indigo programming right now, but if there is a request, I'll look into it.