... and the reason the logging shows as an error was that I set isError=True in the longing to it stood out in the log file
-- Paul --
d = [the weather dict] # <-- I ran the URL through Safari and pasted the data here.
for alert in d['alerts']:
print(alert['description'])
ain and strong winds across parts of Northern Ireland , south-west England and south Wales.
of freezing rain, with snow in Scotland later, leading to some dangerous travelling conditions.
of freezing rain, with snow in Scotland later, leading to some dangerous travelling conditions. Possible travel delays on roads stranding some vehicles and passengers. Possible delays or cancellations to rail and air travel. Some rural communities could become cut off. Power cuts may occur and other services, such as mobile phone coverage, may be affected. A chance of injuries from slips and falls on icy surfaces. Bus and train services may be delayed or cancelled, with some road closures and longer journey times possible. Untreated pavements and cycle paths might be impassable because of black icehone coverage, may be affected.
forestfield wrote:I've also noticed a lack of formatting in the Daily forecast device , in temperatureMax - and I think also in temperatureMin previously.
forestfield wrote:Thanks for the checking of the truncation; I might have a look to see if I can get the data elsewhere.
As regards the Min/Max temp - I can't see the UI formatted values exposed in the device states in the control page editor, or in the devices states. I can see the apparentTempMin/Max, but these are different value. Or am I missing something?
Thanks
-- Paul --
dev = indigo.devices[733695023]
indigo.server.log(unicode(dev.pluginId))
forestfield wrote:It's a cynical weather device - I managed to put FW in the device name so I assumed it was the fantastic weather one.
dev = indigo.devices[733695023]
indigo.server.log(unicode(dev))
...
d01_ozone : 317.63 (real)
d01_ozone.ui : 318 (string)
d01_precipChance : 13 (real)
d01_precipChance.ui : 13% (string)
d01_precipIntensity : 0.0004 (real)
d01_precipIntensity.ui : 0.00 in. (string)
d01_precipTotal : 0.009600000000000001 (real)
d01_precipTotal.ui : 0.01 in. (string)
d01_precipType : rain (string)
d01_pressure : 1020.37 (real)
d01_pressure.ui : 1020 mb (string)
d01_summary : Foggy in the morning. (string)
d01_temperatureHigh : 42.73 (real)
d01_temperatureHigh.ui : 43° (string)
d01_temperatureLow : 26.89 (real)
d01_temperatureLow.ui : 27° (string)
...
lanbrown wrote:Every 30 seconds it is trying to connect. I have the poll rate set for 5 minutes though; see attached. The other interesting bit is the last successful poll vs the next scheduled poll.
lanbrown wrote:Just installed. I'll let you know if I run into any bugs.
Users browsing this forum: No registered users and 1 guest