Indigo Weather Conditions

Posted on
Wed Jun 08, 2011 11:37 am
Brandt offline
User avatar
Posts: 406
Joined: Dec 24, 2008
Location: Mission Viejo, CA

Re: Indigo Weather Conditions

The error from the default weather service, might be because I placed it in Plugins (Disabled), restarted the Indigo Server, and enabled it manually in the GUI. Whereas in the readme.txt you say to place it directly in Plugins directory and restart.

Also, I had already replaced the old versions IWS plugin with the new versions IWS plugin....

Code: Select all
ls -la /Library/Application Support/Perceptive Automation/Indigo 5/IndigoWebServer/plugins/Weather-Conditions/
total 48
drwxr-xr-x  12 root  admin   408 Jun  7 18:29 .
drwxrwxr-x   3 root  admin   102 Jun  7 22:52 ..
-rw-r--r--@  1 root  admin  6148 Jun  7 18:29 .DS_Store
-rw-r--r--@  1 root  admin    21 Jun  5 09:43 __init__.py
-rw-r--r--@  1 root  admin   232 Jun  7 08:34 __init__.pyc
drwxr-xr-x   5 root  admin   170 Jun  7 09:55 css
drwxr-xr-x   2 root  admin    68 May 27 18:07 images
drwxr-xr-x   2 root  admin    68 May 27 18:07 js
-rw-r--r--@  1 root  admin  3436 Jun  7 18:22 reqhandler.py
-rw-r--r--@  1 root  admin  3601 Jun  7 08:34 reqhandler.pyc
drwxr-xr-x   2 root  admin    68 May 27 18:07 static
drwxr-xr-x   8 root  admin   272 Jun  7 09:55 templates



The contents of the zip file are odd:
unzip Weather-Conditions%20v098.zip
ls -la
drwxr-xr-x 5 bdaniels staff 170 Jun 7 18:28 Weather-Conditions v098
drwxrwxr-x 3 bdaniels staff 102 Jun 7 18:29 __MACOSX


What is the __MACOSX folder for?

Indigo 7 w/ Dual-Band 2413U PLM
Mac OS X 10.7.5 Lion
2006 Mac Mini 2.33 GHz Intel Core 2 Duo

Posted on
Wed Jun 08, 2011 6:25 pm
bschollnick2 offline
Posts: 1297
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Indigo Weather Conditions

pomprocker wrote:
The error from the default weather service, might be because I placed it in Plugins (Disabled), restarted the Indigo Server, and enabled it manually in the GUI. Whereas in the readme.txt you say to place it directly in Plugins directory and restart.


That shouldn't matter.

pomprocker wrote:
Also, I had already replaced the old versions IWS plugin with the new versions IWS plugin....


The Weather-Conditions IWS folder, really needs to be updated to the latest version. I can't tell if your saying that you updated it for 0.95, or for v0.98. But that wouldn't cause the pickle error.

The pickle error refers to being unable to write to the IWS folder....So that makes me think there's a permissions issue...
Are you running Indigo, while being logged in with a non-administrator account?

pomprocker wrote:
The contents of the zip file are odd:
unzip Weather-Conditions%20v098.zip
ls -la
drwxr-xr-x 5 bdaniels staff 170 Jun 7 18:28 Weather-Conditions v098
drwxrwxr-x 3 bdaniels staff 102 Jun 7 18:29 __MACOSX

What is the __MACOSX folder for?


That's perfectly normal. The __MacOSX folder is made by MOSX when creating the archive. It contains the metadata for the folder / files. It's the equivalent of the .DS_STORE file, for the Zip file. (Technically it's not a folder, but that's the way it's stored in the zip file, since zip files can't contain metadata beyond what is defined in the ZIP file definition.)

- Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Fri Sep 23, 2011 3:51 pm
bbruck offline
Posts: 314
Joined: Oct 05, 2008

Re: Indigo Weather Conditions

OK - naive user question...

Everything installed fine, but I can't figure out how to use it! I understand that the plugin is supposed to produce web pages, but I don't see any instructions on how to access or create these, or how to integrate these data into my other control pages.

Any hints are appreciated

Posted on
Fri Sep 23, 2011 5:12 pm
bschollnick2 offline
Posts: 1297
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Indigo Weather Conditions

bbruck wrote:
OK - naive user question...

Everything installed fine, but I can't figure out how to use it! I understand that the plugin is supposed to produce web pages, but I don't see any instructions on how to access or create these, or how to integrate these data into my other control pages.

Any hints are appreciated


Assuming everything is installed fine.... Make sure that Indigo has been configured with:

* Allow Remote Access is turned on
* Is "Override Web Server (HTTP) port number turned on? If so, make a note of the port number

You should be able to go to http://127.0.0.1: number>, if "Override Web server" wasn't set, it should be 8176

So try going to http://127.0.0.1:8176....

You should see the Indigo web server, and one of the options at the bottom will be for the Weather Conditions plugin..

= Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Who is online

Users browsing this forum: No registered users and 1 guest

cron