View unanswered posts | View active topics It is currently Thu May 23, 2013 10:47 pm



Reply to topic  [ 38 posts ]  Go to page: Previous  1, 2, 3
 Indigo Weather Conditions Plugin (for Indigo 5) is released. 
Author Message

Joined: Oct 17, 2004
Posts: 1115
Location: Rochester, Ny
Post Re: Indigo Weather Conditions Plugin (for Indigo 5) is relea
BlaineM wrote:First off, thank you Benjamin for contributing this plugin... I believe its goal is exactly what I'm looking for.

I'm evaluating a variety of different automation platforms for a client's application that requires looking out 72 hours for rain events. Based on the likelyhood of that rain event, I may trigger off some activities. I was attracted to Indigo based purely on the potential to look at weather forecasts and its ability to integrate with not only Insteon, but also 3rd party hardware. I'm a complete newbie to Indigo with less than a day's work under my belt, but am liking what I see so far.

From your previous posts, I can see that you're investigating how to populate forecast data into variables. For now, I have your plugin working successfully for the Weather Underground w/ Forecast service (at least according to the variables list and event log), but am not clear on how to access the forecast data if it's not populated into variables. Can you (or anyone else) point me in the right direction on how to leverage that data?

From what I've tried so far, I believe your plugin is the only one that actually looks at forecasts. If anyone knows otherwise, I'm all ears. I'm open to writing code to get the forecast data if it comes down to that.


Blain,

Thank you for the comments.

The issue here is that I will need to partially rewrite the Weather Conditions plugin to allow the states to be visible. Currently it is written as a deviceless plugin, so there is no devices with a state to update...

I am planning on updating the Weather Condition plugin... But I do not yet have a time frame for this... Since I am working on the New Switchboard plugin, and the updated Thermostat plugin...

_________________
------
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


Fri Jan 20, 2012 10:58 am
Profile WWW

Joined: Mar 29, 2012
Posts: 18
Post Re: Indigo Weather Conditions Plugin (for Indigo 5) is relea
Thanks for this plugin.

Is there a way to specify an individual Wunderground weather station code instead of using my zip code? The zipcode lookup chooses one that is further away from me than one I'd like to use.


Fri Mar 30, 2012 10:02 am
Profile

Joined: Oct 17, 2004
Posts: 1115
Location: Rochester, Ny
Post Re: Indigo Weather Conditions Plugin (for Indigo 5) is relea
pantalones wrote:Thanks for this plugin.

Is there a way to specify an individual Wunderground weather station code instead of using my zip code? The zipcode lookup chooses one that is further away from me than one I'd like to use.


Sure, anything is possible...

As I guess, put in the PWS weather station code, instead of the zip code... I think that might work...

If not, I'll have to take a look to see how I would need to modify the code.

Have you found a list of the individual weather station codes? (I didn't find a obvious list....)

_________________
------
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


Fri Mar 30, 2012 11:00 am
Profile WWW

Joined: Apr 13, 2009
Posts: 151
Post Re: Indigo Weather Conditions Plugin (for Indigo 5) is relea
Does anyone know the exhaustive list of possible variable values the Weather Underground can return for "currentConditions"?


Wed Nov 28, 2012 11:19 am
Profile

Joined: Apr 16, 2013
Posts: 12
Post Re: Indigo Weather Conditions Plugin (for Indigo 5) is relea
Any plans to update this for indigo 6. I can't access the web interface "internal server error"..
This seems to be the only opportunity for us europeans.


Thu Apr 25, 2013 8:34 am
Profile

Joined: Dec 18, 2012
Posts: 47
Location: The Netherlands
Post Re: Indigo Weather Conditions Plugin (for Indigo 5) is relea
I think, this plugin needs an update?
(Indigo 6.0.0 b7)
Greetings, John

Starting plugin "Weather Conditions 0.98" (pid 28348)
Started plugin "Weather Conditions 0.98"
Weather Conditions Weather Conditions Plugin Loaded...
Weather Conditions Weather Service Google Weather selected
Weather Conditions Update Frequency - 60
Weather Conditions Location to check - XXXX XX
Weather Conditions The Web page will be Orientated Horizontally
Weather Conditions Debug Debug Mode is On (Only recommended for Testing Purposes)
Weather Conditions Debug Running Concurrent Thread
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 251, in runConcurrentThread
File "plugin.py", line 239, in run_weather_update
File "plugin.py", line 177, in fetch_google_weather
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Weather-Conditions.indigoPlugin/Contents/Server Plugin/pywapi.py", line 179, in get_weather_from_google
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 387, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 498, in http_response
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 425, in error
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 506, in http_error_default
<class 'urllib2.HTTPError'>: HTTP Error 403: Forbidden

Weather Conditions Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Mon May 06, 2013 6:38 am
Profile WWW

Joined: Apr 29, 2013
Posts: 1
Post Re: Indigo Weather Conditions Plugin (for Indigo 5) is relea
Hello.

I am currently evaluating Indigo and downloaded ver 6 for testing.
I know your Plugin says (for Indigo 5) but I tried in anyway.

I get the following in the log and it does not run correctly. Is there going to be an update so I can test it with the Ver 6 demo?
Thank you creating this. It looks really useful.


May 6, 2013 4:35:26 PM
WebServer Displaying Weather Forecast & Conditions
WebServer internal server error "http://127.0.0.1:8176/Weather-Conditions/" from 127.0.0.1
WebServer

Request Headers:
X-PURPOSE: preview
HOST: 127.0.0.1:8176
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.29.13 (KHTML, like Gecko) Version/6.0.4 Safari/536.29.13
CONNECTION: keep-alive
Remote-Addr: 127.0.0.1
ACCEPT-LANGUAGE: en-us
ACCEPT-ENCODING: gzip, deflate

Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoWebServer/cherrypy/_cprequest.py", line 609, in respond
cherrypy.response.body = self.handler()
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoWebServer/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoWebServer/plugins/Weather-Conditions/reqhandler.py", line 80, in index
data_file = open(static_webpage_root+"pickled_data",'r')
IOError: [Errno 2] No such file or directory: '/library/Application Support/Perceptive Automation/Indigo 5/IndigoWebServer/plugins/Weather-Conditions/pickled_data'


Mon May 06, 2013 3:44 pm
Profile

Joined: Oct 17, 2004
Posts: 1115
Location: Rochester, Ny
Post Re: Indigo Weather Conditions Plugin (for Indigo 5) is relea
ddavis1086 wrote:Hello.

I am currently evaluating Indigo and downloaded ver 6 for testing.
I know your Plugin says (for Indigo 5) but I tried in anyway.

I get the following in the log and it does not run correctly. Is there going to be an update so I can test it with the Ver 6 demo?
Thank you creating this. It looks really useful.


At this point, I am not updating Weather Conditions. It doesn't support State conditions, so you can't write a trigger off of the changes.
But the biggest issue, is that Google shutdown their weather feed. Yes, Weather Underground still works, but at this point the code needs a significant rewrite.

I probably will spend the time to rewrite it, but I can't support the code in the form that it is in for now.

- 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


Wed May 22, 2013 11:12 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 38 posts ]  Go to page: Previous  1, 2, 3

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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.