|
Page 1 of 2
|
[ 19 posts ] |
Go to page: 1, 2 Next |
Indigo Weather Conditions
| Author |
Message |
|
bschollnick2
Joined: Oct 17, 2004 Posts: 1107 Location: Rochester, Ny
|
 Indigo Weather Conditions
What is Indigo Weather Conditions? Quite Simply, it's a built-in Weather tool for Indigo. While it is similar to the NOAA script, it doesn't simply populate the variables in Indigo. It is designed for Indigo v5, and it does so much more... First, it has an honest to goodness, User Interface. Second, it will also product a web page that give you the current Weather Conditions, as well as a Weather forecast.  Installation 1) Download the ZIP file, and unarchive it. Version 0.90 -- http://dl.dropbox.com/u/241415/Indigo%2 ... review.zip2) Open the folder, and take the Weather-Conditions.indigoPlugin and place it into /Library/Application Support/Perceptive Automation/Indigo 5/Plugins 3) From the same folder, take the Weather-Conditions folder, and place it into: /Plugins/Library/Application Support/Perceptive Automation/Indigo 5/IndigoWebServer/Plugins 4) Restart the Indigo 5 Server 5) After the Indigo server restarts, it will immediately open a dialog window, asking you to the set the default settings for the Weather Conditions plugin. Note: The User Interface is designed for multiple weather providers, but the results from each provider is different. At this point, I am only supporting Google Weather, due to the forecast. If there is demand, I will be extending it to support other providers. The automatic refresh is not currently working. Please manually make a Schedule: Name - (As you wish) Time - Set to Every X hour Y minutes, as you desire. For example every 30 minutes... Under Actions Choose Plugin Plugin - Weather Conditions Action - Update Weather Information When the Schedule API is finished, you will be able to remove this Schedule, and the Weather Conditions plugin will manage the Schedule automatically.
_________________ ------ 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
|
| Mon May 30, 2011 7:35 am |
|
 |
|
Brandt
Joined: Dec 24, 2008 Posts: 386 Location: Mission Viejo, CA
|
 Re: Indigo Weather Conditions
Is it possible for this plugin to help with detecting rain in the last couple days or in the next couple days for use with preventing sprinkler irrigation?
_________________ Indigo 6.x w/ Dual-Band PLM 2413U Mac OS X 10.6.x Snow Leopard 2006 Mac Mini Core Solo
|
| Tue May 31, 2011 10:26 am |
|
 |
|
bschollnick2
Joined: Oct 17, 2004 Posts: 1107 Location: Rochester, Ny
|
 Re: Indigo Weather Conditions
pomprocker wrote:Is it possible for this plugin to help with detecting rain in the last couple days or in the next couple days for use with preventing sprinkler irrigation?
Maybe indirectly? Via the humidity reading. But Google Weather, Yahoo Weather, and NOAA do not seem to have a direct rainfall reading, so I can't data scrape the information. If you have any suggestions on where to get rain fall readings, please feel free to point me in that direction...
_________________ ------ 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
|
| Tue May 31, 2011 10:52 am |
|
 |
|
Brandt
Joined: Dec 24, 2008 Posts: 386 Location: Mission Viejo, CA
|
 Re: Indigo Weather Conditions
When I was using Heyu I wrote a bash script to check the rain using wunderground.
_________________ Indigo 6.x w/ Dual-Band PLM 2413U Mac OS X 10.6.x Snow Leopard 2006 Mac Mini Core Solo
|
| Tue May 31, 2011 11:15 am |
|
 |
|
bschollnick2
Joined: Oct 17, 2004 Posts: 1107 Location: Rochester, Ny
|
 Re: Indigo Weather Conditions
pomprocker wrote:When I was using Heyu I wrote a bash script to check the rain using wunderground.
I haven't had a chance to look at Wunderground. They do offer that for PWS stations, but Wunderground's offering seem to change were location. That makes it hard to make a standard output form... But with Cheetah templating, I can possibly work around it... I'll see what I can do...
_________________ ------ 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
|
| Tue May 31, 2011 11:37 am |
|
 |
|
Brandt
Joined: Dec 24, 2008 Posts: 386 Location: Mission Viejo, CA
|
 Re: Indigo Weather Conditions
I'm getting an error: - Code: Select all
Reloading plugin "Weather Conditions 0.90"
Stopping plugin "Weather Conditions 0.90" (pid 206)
Plugin "Weather Conditions" disconnected
Starting plugin "Weather Conditions 0.90"
Plugin "Weather Conditions" connected
Plugin "Weather Conditions 0.90" started
Weather Conditions Weather Conditions Plugin Loaded...
Weather Conditions Weather Service Google Weather selected
Weather Conditions Update Frequency - 60 Minutes
Weather Conditions Location to check - 92692
Weather Conditions Retrieving Weather Condition Information
Weather Conditions Writing Data to Variables
Weather Conditions Error Error in plugin execution startup:
Traceback (most recent call last):
File "plugin.py", line 87, in startup
File "plugin.py", line 125, in fetch_Weather_information
File "plugin.py", line 130, in run_weather_update
File "plugin.py", line 117, in write_data_to_variables
<type 'exceptions.AttributeError'>: 'Plugin' object has no attribute 'current_conditions'
_________________ Indigo 6.x w/ Dual-Band PLM 2413U Mac OS X 10.6.x Snow Leopard 2006 Mac Mini Core Solo
|
| Thu Jun 02, 2011 3:23 pm |
|
 |
|
bschollnick2
Joined: Oct 17, 2004 Posts: 1107 Location: Rochester, Ny
|
 Re: Indigo Weather Conditions
pomprocker wrote:I'm getting an error: Weather Conditions Error Error in plugin execution startup:
Traceback (most recent call last): File "plugin.py", line 87, in startup File "plugin.py", line 125, in fetch_Weather_information File "plugin.py", line 130, in run_weather_update File "plugin.py", line 117, in write_data_to_variables <type 'exceptions.AttributeError'>: 'Plugin' object has no attribute 'current_conditions' [/code]
Interesting... Try upgrading to v0.95 ( http://dl.dropbox.com/u/241415/Indigo%2 ... Plugin.zip). 1) Remove the old plugin. 2) Remove the Time/Date Schedule that you have created. 3) Install v0.95 4) Configure v0.95 via the Plugin Menu Configure option.. The Time/Date scheduling is now automatic...
_________________ ------ 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
|
| Thu Jun 02, 2011 8:27 pm |
|
 |
|
Brandt
Joined: Dec 24, 2008 Posts: 386 Location: Mission Viejo, CA
|
 Re: Indigo Weather Conditions
Can you automatically create a variable naming the city for the zip code given? Also a variable for last observation timestamp.
_________________ Indigo 6.x w/ Dual-Band PLM 2413U Mac OS X 10.6.x Snow Leopard 2006 Mac Mini Core Solo
|
| Thu Jun 02, 2011 10:48 pm |
|
 |
|
bschollnick2
Joined: Oct 17, 2004 Posts: 1107 Location: Rochester, Ny
|
 Re: Indigo Weather Conditions
pomprocker wrote:Can you automatically create a variable naming the city for the zip code given? Also a variable for last observation timestamp.
Yes, I can... In the next couple of days, I will be releasing a new version of IWC. The next version will add Weather Underground & Weather Underground Forecasting... The Weather Underground PWS support may be added later.... (Depending on demand...) The automatic scheduler was added in v0.95 (released a few days ago)... What else is desired?
_________________ ------ 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
|
| Sat Jun 04, 2011 3:53 pm |
|
 |
|
Brandt
Joined: Dec 24, 2008 Posts: 386 Location: Mission Viejo, CA
|
 Re: Indigo Weather Conditions
Well I hate to tie it into irrigation, but that's all I would need weather for at the moment....maybe be able to set a threshold for number of inches of precipitation allowed, or number of days since rain, or rain in the forecast before setting a wateringOK variable to true/false or something like that
_________________ Indigo 6.x w/ Dual-Band PLM 2413U Mac OS X 10.6.x Snow Leopard 2006 Mac Mini Core Solo
|
| Sat Jun 04, 2011 7:14 pm |
|
 |
|
bschollnick2
Joined: Oct 17, 2004 Posts: 1107 Location: Rochester, Ny
|
 Re: Indigo Weather Conditions
bschollnick2 wrote:pomprocker wrote:Can you automatically create a variable naming the city for the zip code given? Also a variable for last observation timestamp.
Yes, I can... In the next couple of days, I will be releasing a new version of IWC. The next version will add Weather Underground & Weather Underground Forecasting... The Weather Underground PWS support may be added later.... (Depending on demand...)
I spoke slightly too soon. I have run into a big problem with Weather Underground Forecast support... The base settings are fine, but I am having an issue with Python XML decoding on the Weather Underground Forecast feed. - Ben
_________________ ------ 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
|
| Sun Jun 05, 2011 7:59 pm |
|
 |
|
bschollnick2
Joined: Oct 17, 2004 Posts: 1107 Location: Rochester, Ny
|
 Re: Indigo Weather Conditions
bschollnick2 wrote:I spoke slightly too soon. I have run into a big problem with Weather Underground Forecast support... The base settings are fine, but I am having an issue with Python XML decoding on the Weather Underground Forecast feed.
I have worked around the Weather Underground forecast issue, I expect within the next day or two, I will be releasing the next version...
_________________ ------ 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
|
| Tue Jun 07, 2011 7:46 am |
|
 |
|
bschollnick2
Joined: Oct 17, 2004 Posts: 1107 Location: Rochester, Ny
|
 Indigo Weather Conditions v0.98 Beta is released
Folks, Weather-Conditions v0.98 beta is released. ( Indigo v5 only) http://dl.dropbox.com/u/241415/Indigo%20Weather%20Conditions/Weather-Conditions%20v098.zip# Changes on the Drawingboard # # - Examine adding /Wunderground PWS to pywapi, so that we can capture rain fall # - switch to device model, so that the states can be accessed & possibly multiple Weather Services at the same time # - Add NOAA Weather service # # Changes # # v0.98 - Third Public Beta Release # - Added Weather Underground Support # - Added WeatherLastUpdated for Variables # - Added WeatherLocation for Variables # - Added Preference for Allowing Variable Export # - If Set, the Variables will be Exported. # - If Not Set, the Variables will be deleted (if present).. # - Added Preferences code, that will reload the preferences if # the user makes a change in the Preferences screen. # # v0.95 - Second Public Beta Release # - Changed to use Internal Scheduling # v0.90 - First Public Beta Release # #
_________________ ------ 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
|
| Tue Jun 07, 2011 7:35 pm |
|
 |
|
Brandt
Joined: Dec 24, 2008 Posts: 386 Location: Mission Viejo, CA
|
 Re: Indigo Weather Conditions
I got these errors: This is because no weather service is defined by default when the plugin is first enabled: - Code: Select all
Traceback (most recent call last): File "plugin.py", line 143, in startup <type 'exceptions.UnboundLocalError'>: local variable 'weatherservice' referenced before assignment
Weather Conditions Undefined Weather Service Request
You should catch that, and/or make a default weather service. The pickled_data file doesn't exist? - Code: Select all
Jun 7, 2011 10:27:23 PM Weather Conditions Preferences were updated, reloading Preferences... Reloading plugin "Weather Conditions 0.98" Stopping plugin "Weather Conditions 0.98" (pid 1340) Plugin "Weather Conditions" disconnected Starting plugin "Weather Conditions 0.98" Plugin "Weather Conditions" connected Plugin "Weather Conditions 0.98" started Weather Conditions Weather Conditions Plugin Loaded... Weather Conditions Weather Service Google Weather selected Weather Conditions Update Frequency - 60 Weather Conditions Location to check - 92692 Weather Conditions The Web page will be Orientated Horizontally Weather Conditions The Weather information will be exported as Variables. Weather Conditions Retrieving Weather Condition Information from Google Weather Weather Conditions Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last): File "plugin.py", line 240, in runConcurrentThread File "plugin.py", line 228, in run_weather_update File "plugin.py", line 169, in fetch_google_weather <type 'exceptions.IOError'>: [Errno 13] Permission denied: '/library/Application Support/Perceptive Automation/Indigo 5/IndigoWebServer/plugins/Weather-Conditions/pickled_data'
Weather Conditions Error plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds Weather Conditions Retrieving Weather Condition Information from Google Weather Weather Conditions Error Error in plugin execution runConcurrentThread:
_________________ Indigo 6.x w/ Dual-Band PLM 2413U Mac OS X 10.6.x Snow Leopard 2006 Mac Mini Core Solo
|
| Tue Jun 07, 2011 11:31 pm |
|
 |
|
bschollnick2
Joined: Oct 17, 2004 Posts: 1107 Location: Rochester, Ny
|
 Re: Indigo Weather Conditions
pomprocker wrote:I got these errors: This is because no weather service is defined by default when the plugin is first enabled: - Code: Select all
Traceback (most recent call last): File "plugin.py", line 143, in startup <type 'exceptions.UnboundLocalError'>: local variable 'weatherservice' referenced before assignment
Weather Conditions Undefined Weather Service Request
You should catch that, and/or make a default weather service.
That's very weird... Since my understanding is that Indigo should display the configuration screen when it's installed... But that's easy enough to fix, open the configuration screen, and set the values... I will add logic for this for the next version.. pomprocker wrote:The pickled_data file doesn't exist? - Code: Select all
Jun 7, 2011 10:27:23 PM Weather Conditions Preferences were updated, reloading Preferences... Reloading plugin "Weather Conditions 0.98" Stopping plugin "Weather Conditions 0.98" (pid 1340) Plugin "Weather Conditions" disconnected Starting plugin "Weather Conditions 0.98" Plugin "Weather Conditions" connected Plugin "Weather Conditions 0.98" started Weather Conditions Weather Conditions Plugin Loaded... Weather Conditions Weather Service Google Weather selected Weather Conditions Update Frequency - 60 Weather Conditions Location to check - 92692 Weather Conditions The Web page will be Orientated Horizontally Weather Conditions The Weather information will be exported as Variables. Weather Conditions Retrieving Weather Condition Information from Google Weather Weather Conditions Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last): File "plugin.py", line 240, in runConcurrentThread File "plugin.py", line 228, in run_weather_update File "plugin.py", line 169, in fetch_google_weather <type 'exceptions.IOError'>: [Errno 13] Permission denied: '/library/Application Support/Perceptive Automation/Indigo 5/IndigoWebServer/plugins/Weather-Conditions/pickled_data'
Weather Conditions Error plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds Weather Conditions Retrieving Weather Condition Information from Google Weather Weather Conditions Error Error in plugin execution runConcurrentThread:
Something is odd. The pickled_data is the data from the plugin being saved into the IWS weather-conditions folder. Since old style IWS can't communicate with the new plugin, I am currently forced to use this "bottled" to exchange information... Try removing your weather-conditions IWS folder, and replacing it with the v098 IWS folder... I suspect permissions are wrong there? Did you possibly change the Weather-Conditions folder name? What happens if you open a terminal window, and type the following: ls -la /library/Application Support/Perceptive Automation/Indigo 5/IndigoWebServer/plugins/Weather-Conditions/ - 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
|
| Wed Jun 08, 2011 4:06 am |
|
|
|
Page 1 of 2
|
[ 19 posts ] |
Go to page: 1, 2 Next |
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|