NOAA Weather Plus discussions
Re: NOAA Weather Plus discussions
Never mind. Apparently some combination of those things tried again in the last 10 minutes did the trick. I have no idea what went wrong or how I "fixed" it. 
Running Indigo 2024.2.1 on a 24" iMac M4), OS X 26.0
Jeff
Jeff
Re: NOAA Weather Plus discussions
Hello. Sorry to hear about the trouble.
The NOAA Weather Plus plugin doesn't actually create or update any Indigo variables as a built-in function. If you have variables that are supposed to be updated when NOAA Weather Plus devices change states, there'd need to be triggers in place to do that (almost certainly ones that use the Device State Changed trigger event). You can search the Indigo client for those types of triggers by sorting the trigger list by the Trigger Type column.
The NOAA Weather Plus plugin doesn't actually create or update any Indigo variables as a built-in function. If you have variables that are supposed to be updated when NOAA Weather Plus devices change states, there'd need to be triggers in place to do that (almost certainly ones that use the Device State Changed trigger event). You can search the Indigo client for those types of triggers by sorting the trigger list by the Trigger Type column.
Re: NOAA Weather Plus discussions
After a bit more research, it appears that the server startup item "weather NOAA script" wasn't running properly when I was having difficulty. It now seems to be working correctly.
Running Indigo 2024.2.1 on a 24" iMac M4), OS X 26.0
Jeff
Jeff
Re: NOAA Weather Plus discussions
So is the plugin working for everyone?
I'm getting this since yesterday (v1.1.15):
I'm getting this since yesterday (v1.1.15):
Code: Select all
NOAA Weather Plus Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 246, in runConcurrentThread
File "plugin.py", line 528, in update
<type 'exceptions.ValueError'>: need more than 1 value to unpack
Re: NOAA Weather Plus discussions
That's a new one. Are you getting that more than once? If so, could you turn on debug logging in the plugin configuration and reload the plugin then paste in the log into your reply?
Re: NOAA Weather Plus discussions
Here's what the plugin reports. The raw data from that web call is attached.
Code: Select all
Stopped plugin "NOAA Weather Plus 1.1.15"
Starting plugin "NOAA Weather Plus 1.1.15" (pid 6147)
NOAA Weather Plus Debug Initializing Plugin.
Started plugin "NOAA Weather Plus 1.1.15"
NOAA Weather Plus Debug Starting device: Weather (Irvine)
NOAA Weather Plus Debug Updating weather for device: Weather (Irvine)
NOAA Weather Plus Debug Device Weather (Irvine) using URL http://forecast.weather.gov/MapClick.php?FcstType=dwml&lg=english&lat=00.000&lon=-000.00
NOAA Weather Plus Debug Attempt # 1 at downloading and parsing weather data.
NOAA Weather Plus Debug Device Weather (Irvine) reading returned weather data.
NOAA Weather Plus Debug Device Weather (Irvine) parsing weather XML data.
NOAA Weather Plus Debug Device Weather (Irvine) locating "data" elements in XML.
NOAA Weather Plus Debug Device Weather (Irvine) found forecast data.
NOAA Weather Plus Debug Device Weather (Irvine) found current observation data.
NOAA Weather Plus Debug Device Weather (Irvine) looking for observation location coordinate data.
NOAA Weather Plus Debug Device Weather (Irvine) found latitude xx.xxxxx, longitude -xxx.xxxxx
NOAA Weather Plus Debug Device Weather (Irvine) looking for observation time.
NOAA Weather Plus Debug Device Weather (Irvine) observation time listed is "NA."
NOAA Weather Plus Error exception in deviceStartComm(Weather (Irvine)): need more than 1 value to unpack
NOAA Weather Plus Debug Starting runConcurrentThread.
- Attachments
-
- wx.xml
- XML response (by curling the url)
- (11.31 KiB) Downloaded 295 times
Re: NOAA Weather Plus discussions
Thanks for the additional information. I'll check it out and see what I can find.
Re: NOAA Weather Plus discussions
Patch update 1.1.16 released:
(See main NOAA Weather Plus announcement thread for download link).
Changes Since Version 1.1.15
(See main NOAA Weather Plus announcement thread for download link).
Changes Since Version 1.1.15
- Fixed (hopefully) a bug that would cause the plugin to crash if "NA" was specified for the current condition observation time.
Re: NOAA Weather Plus discussions
Not sure if this is due to changes in 1.1.16 or not:
Code: Select all
Dec 5, 2013 21:46:17
NOAA Weather Plus Error Error in plugin execution ServerReplacedElem:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 852, in deviceUpdated
File "plugin.py", line 217, in deviceStartComm
File "plugin.py", line 1224, in update
<type 'exceptions.UnboundLocalError'>: local variable 'e' referenced before assignment
Re: NOAA Weather Plus discussions
Thanks for the report. I'll check it out.
-
HFTobeason
- Posts: 297
- Joined: Fri Nov 07, 2003 8:01 pm
Re: NOAA Weather Plus discussions
Again, I love this plugin, thank you!
I get a fairly regular error, very often in groups of three, but sometimes two, sometimes alone. This happens every few hours, at least:
Any advice much appreciated.
Thank you.
I get a fairly regular error, very often in groups of three, but sometimes two, sometimes alone. This happens every few hours, at least:
- 2013-12-09 07:16:39 NOAA Weather Plus Error Unknown error getting weather for coordinates 34.0625, -118.502: <urlopen error timed out>
2013-12-09 07:16:42 NOAA Weather Plus Error Unknown error getting weather for coordinates 34.0625, -118.502: <urlopen error timed out>
2013-12-09 07:16:45 NOAA Weather Plus Error Unknown error getting weather for coordinates 34.0625, -118.502: <urlopen error timed out>
Any advice much appreciated.
Thank you.
Re: NOAA Weather Plus discussions
I hear ya. I get them too. I'll see what I can do.
Re: NOAA Weather Plus discussions
The NOAA Point Forecast hourly weather graph shows predicted precipitation amounts. Is that something potentially available to NOAA Weather Plus, or via another service?
I'm interested in incorporating this type of data into my evapotranspiration project. Yes, I can figure out some kind of hedge from precipitation probability, but it would be more straightforward to be able to incorporate NOAA's forecast of xx mm of rain in the next 24 hours into the sprinkler cycle calculation.
I'm interested in incorporating this type of data into my evapotranspiration project. Yes, I can figure out some kind of hedge from precipitation probability, but it would be more straightforward to be able to incorporate NOAA's forecast of xx mm of rain in the next 24 hours into the sprinkler cycle calculation.
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
Re: NOAA Weather Plus discussions
If it's the one I'm thinking of, I've seen the point forecast from NOAA. It has a lot of interesting and useful stats and predictions for mostly niche circumstances. I can see the value in adding it to the plugin, but I don't think I'm going to have the time to do that as it would require fairly significant modifications to the code (and list of device states). If you know some Python, you could probably modify the NOAA Weather Plus plugin code for your own purposes though.
Re: NOAA Weather Plus discussions
Thanks!nsheldon wrote:If it's the one I'm thinking of, I've seen the point forecast from NOAA. It has a lot of interesting and useful stats and predictions for mostly niche circumstances. I can see the value in adding it to the plugin, but I don't think I'm going to have the time to do that as it would require fairly significant modifications to the code (and list of device states). If you know some Python, you could probably modify the NOAA Weather Plus plugin code for your own purposes though.
Yes, I was able to pull the equivalent information from Weather Underground using their API.
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts