Darksky plugin not updating
Chad Gard
chad at holeinthewoodsfarm.com
Sat Oct 26 23:17:15 EDT 2019
So, of course, the goal is to include weather data on my webremote
interfaces. I am a farmer, after all, so I have to be able to complain
about the weather. Or, at least know that I should make sure the pilot
light is still on I my wife's studio, and the greenhouse heater is
working, etc.
I've futzed with that a bit this evening, and I have a problem with it
updating. In that it doesn't. I have it set to update every 5 minutes,
but it only updates current wind speed, and then only when I disable and
re-enable the interface. Because it's not updating, I've got a stuck
forecast in Arabic (for some reason the language menu didn't keep my
setting the first time I ran it).
I know there are updates - the temperature has changed, we had a new
special weather statement, rain has started and stopped, there have been
high wind gusts, etc. since it last updated those values. Here's what
the log does when I re-enable the interface:
Oct 26, 2019 10:53:48 PM Starting Interface "wx" command:
"/Applications/XTension.app/Contents/Resources/Plugins/darksky.isf/darksky.py
localhost 52301 10"
Oct 26, 2019 10:53:48 PM wx:
url=(https://api.darksky.net/forecast/5f6761725ac617418de52a5a58727250/41.1663,-86.471?lang=en&units=us)
Oct 26, 2019 10:53:49 PM Received OFF for wxPrecipType Oct 26, 2019
10:53:49 PM Received value for wxCurWindSpeed of 18.87
Oct 26, 2019 10:53:49 PM wx: Traceback (most recent call last):
Oct 26, 2019 10:53:49 PM wx: File
"/Applications/XTension.app/Contents/Resources/Plugins/darksky.isf/darksky.py",
line 2661, in <module>
Oct 26, 2019 10:53:49 PM wx: darksky = DarkSky()
Oct 26, 2019 10:53:49 PM wx: File
"/Applications/XTension.app/Contents/Resources/Plugins/darksky.isf/darksky.py",
line 2152, in __init__
Oct 26, 2019 10:53:49 PM wx: self.loadData()
Oct 26, 2019 10:53:49 PM wx: File
"/Applications/XTension.app/Contents/Resources/Plugins/darksky.isf/darksky.py",
line 2338, in loadData
Oct 26, 2019 10:53:49 PM wx: XTension.unitIndexById[ key].doUpdate()
Oct 26, 2019 10:53:49 PM wx: File
"/Applications/XTension.app/Contents/Resources/Plugins/darksky.isf/darksky.py",
line 2064, in doUpdate
Oct 26, 2019 10:53:49 PM wx: myDataPath = dataPath[ self.tag]
Oct 26, 2019 10:53:49 PM wx: KeyError: u'xt.cintensitiy'
Oct 26, 2019 10:56:01 PM Received value for LR NightLight (watts) of 9.
Any thoughts?
Thanks!
--
Chad
-What's Cookin' at the Farm? Recipes, menus, and more at
http://twie.holeinthewoodsfarm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20191026/12f042d4/attachment.html>
More information about the XTensionList
mailing list