Configuring Weather Snoop with www.wunderground.com
Forum rules
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
Configuring Weather Snoop with www.wunderground.com
Please explain how to use www.wunderground.com for weathersnoop plugin information.
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Configuring Weather Snoop with www.wunderground.com
In WeatherSnoop you can configure your Agent to use Weather Underground as a source (vs a hardware weather station). Check the WeatherSnoop User's Guide for more information (I think).
Then, from the plugin's perspective, the data that's provided is the same as what a hardware station would provide.
Then, from the plugin's perspective, the data that's provided is the same as what a hardware station would provide.
Re: Configuring Weather Snoop with www.wunderground.com
I've read the guide but in "Edit Device Settings" it asks me for a "host name or IP and a port #. I can't seem to find that information either in the guide nor at www.wunderground.com. NOAA was no problem but a wunderground station is very close to my location, whereas the nearest NOAA station is not.
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Configuring Weather Snoop with www.wunderground.com
You have to configure it in WeatherSnoop, not in Indigo. The WeatherSnoop plugin talks to the WeatherSnoop Mac app.
-
Wanderin Bill
- Posts: 24
- Joined: Fri Feb 12, 2010 10:24 am
Re: Configuring Weather Snoop with www.wunderground.com
Does the WeatherSnoop plugin work with the Lite version of WS. I have it running with a nearby Weather Underground station selected. I see non-zero data in the WS Weather Properties window. When I define a New Indigo device, select type Plugin, then select Plugin WeatherSnoop, the only Model it offers me is Weather Station. All the states displayed in the lower area are value zero.
If I reload the WS plugin I get the following log records
Dec 5, 2011 12:35:45 PM
Reloading plugin "WeatherSnoop 1.0.1"
Stopping plugin "WeatherSnoop 1.0.1" (pid 70017)
Plugin "WeatherSnoop" disconnected
Starting plugin "WeatherSnoop 1.0.1" (pid 70419)
Plugin "WeatherSnoop" connected
Plugin "WeatherSnoop 1.0.1" started
Thanks,
Bill Nash
If I reload the WS plugin I get the following log records
Dec 5, 2011 12:35:45 PM
Reloading plugin "WeatherSnoop 1.0.1"
Stopping plugin "WeatherSnoop 1.0.1" (pid 70017)
Plugin "WeatherSnoop" disconnected
Starting plugin "WeatherSnoop 1.0.1" (pid 70419)
Plugin "WeatherSnoop" connected
Plugin "WeatherSnoop 1.0.1" started
Thanks,
Bill Nash
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Configuring Weather Snoop with www.wunderground.com
I'm not positive that WS Lite supports the HTTP API - you'd need to confirm with them that it does (I thought so but could be wrong). I think you'd be seeing errors in the Event Log if it weren't responding at all so maybe it's just not replying with all the right data (once configured correctly you also need to let it sit for a minute or so before it updates perhaps).
We might get a little more information by turning on debugging - Select the "Plugins->WeatherSnoop->Configure..." menu item and check the "Enable debugging" checkbox and click "Save". Let it run until you see a bunch of WeatherSnoop Debug messages in the Event Log window. Turn debugging back off then copy/paste all those event log lines into a reply post. The first line should be:
followed by a lot of lines that start with "WeatherSnoop Debug".
We might get a little more information by turning on debugging - Select the "Plugins->WeatherSnoop->Configure..." menu item and check the "Enable debugging" checkbox and click "Save". Let it run until you see a bunch of WeatherSnoop Debug messages in the Event Log window. Turn debugging back off then copy/paste all those event log lines into a reply post. The first line should be:
Code: Select all
WeatherSnoop Debug Updating device: YOURWEATHERSTATIONDEVICENAMEHERE-
Wanderin Bill
- Posts: 24
- Joined: Fri Feb 12, 2010 10:24 am
Re: Configuring Weather Snoop with www.wunderground.com
After I turned on debugging I went to the WeatherSnoop device and did a right click "Enable Indigo Communication". Here is the log
Dec 5, 2011 5:03:47 PM
WeatherSnoop Debug logging enabled
Dec 5, 2011 5:04:48 PM
WeatherSnoop Debug Starting device: Wimberley Weather
WeatherSnoop Debug Updating device: Wimberley Weather
WeatherSnoop Error Error in plugin execution ServerReplacedElem:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 5/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 640, in deviceUpdated
File "plugin.py", line 172, in deviceStartComm
File "plugin.py", line 227, in update
<type 'exceptions.KeyError'>: key address not found in dict
Dec 5, 2011 5:03:47 PM
WeatherSnoop Debug logging enabled
Dec 5, 2011 5:04:48 PM
WeatherSnoop Debug Starting device: Wimberley Weather
WeatherSnoop Debug Updating device: Wimberley Weather
WeatherSnoop Error Error in plugin execution ServerReplacedElem:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 5/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 640, in deviceUpdated
File "plugin.py", line 172, in deviceStartComm
File "plugin.py", line 227, in update
<type 'exceptions.KeyError'>: key address not found in dict
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Configuring Weather Snoop with www.wunderground.com
Delete your device and then recreate it - something about the device isn't right.
-
Wanderin Bill
- Posts: 24
- Joined: Fri Feb 12, 2010 10:24 am
Re: Configuring Weather Snoop with www.wunderground.com
Okay, deleted and recreated device. Now I get the following message repeated once a minute.
Dec 5, 2011 7:23:48 PM
WeatherSnoop Debug Updating device: Wimberley Weather 2
WeatherSnoop Debug Getting weather.xml
WeatherSnoop Error Error getting station "Wimberley Weather 2" data (WeatherSnoop isn't running or the agent isn't running): <urlopen error (61, 'Connection refused')>
Dec 5, 2011 7:23:48 PM
WeatherSnoop Debug Updating device: Wimberley Weather 2
WeatherSnoop Debug Getting weather.xml
WeatherSnoop Error Error getting station "Wimberley Weather 2" data (WeatherSnoop isn't running or the agent isn't running): <urlopen error (61, 'Connection refused')>
-
Wanderin Bill
- Posts: 24
- Joined: Fri Feb 12, 2010 10:24 am
Re: Configuring Weather Snoop with www.wunderground.com
PS, the error messages repeated until I deleted the Device.
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Configuring Weather Snoop with www.wunderground.com
Ok, that means WeatherSnoop isn't responding to the plugin. Maybe the Lite version doesn't support it.
-
Wanderin Bill
- Posts: 24
- Joined: Fri Feb 12, 2010 10:24 am
Re: Configuring Weather Snoop with www.wunderground.com
I sort of guessed that, I've already sent a query to Tee-Boy support. Maybe we can get them to make a change.
-
Wanderin Bill
- Posts: 24
- Joined: Fri Feb 12, 2010 10:24 am
Re: Configuring Weather Snoop with www.wunderground.com
Okay, got it working. In Weather Snoop there is a check box buried about three levels deep that needs to be turned on. Open the Weather Agent window but make sure it is Stopped, go to the sharing tab then the HTTP item and check "Serve my weather." Should say local computer and port 8000. Start the Weather Agent and it will change local to your computer name. Then define the device in Indigo. Currently 34.2 in Wimberley.
Thanks for your help.
Bill Nash
Thanks for your help.
Bill Nash