[Release] Weather Station Tile 2.0

Hi Takis

I have one WS (5 in 1) and 2 Temperature/humidity sensor. On the WS site (or app), it posts different temperature and humidity for each sensor. All sensors and WS send the information by RF to the bridge and bridge update on Acurite website.

Hi Hugo. I understand now. So , do me a favor and check on the logs , and see if there are multiple temperatures. In my case , all i see in mine is one temperature.
Maybe in yours there are more? If so please post the logs and we go from there. If thats the case we might need to change the code a little

Hi Takis

Just one temperature (from WS)…

Weather Station (Device) Events — displayed | all | from device
Date Source Type Name Value User Displayed Text
2017-01-18 3:42:28.853 PM EST
8 minutes ago DEVICE windinfo NNW (338°) at 1.0 mph (Gust: … Weather Station windinfo is NNW (338°) at 1.0 mph (Gust: 0 mph)
2017-01-18 3:42:28.809 PM EST
8 minutes ago DEVICE feelsLike 74 Weather Station feels like is 74°F
2017-01-18 3:42:28.799 PM EST
8 minutes ago DEVICE temperature 74 Weather Station temperature is 74°F
2017-01-18 3:42:28.789 PM EST
8 minutes ago DEVICE lastSTupdate 03:42:28 1.18.2017 Weather Station last st update is 03:42:28 1.18.2017
2017-01-18 3:42:28.406 PM EST
8 minutes ago APP_COMMAND poll
2017-01-18 3:32:26.862 PM EST
18 minutes ago DEVICE illuminance 2500 Weather Station illuminance is 2500
2017-01-18 3:32:26.656 PM EST
18 minutes ago DEVICE windinfo NNE (23°) at 2.0 mph (Gust: 0… Weather Station windinfo is NNE (23°) at 2.0 mph (Gust: 0 mph)
2017-01-18 3:32:26.621 PM EST
18 minutes ago DEVICE weather Mostly Cloudy Weather Station weather is Mostly Cloudy
2017-01-18 3:32:25.908 PM EST
18 minutes ago DEVICE lastSTupdate 03:32:25 1.18.2017 Weather Station last st update is 03:32:25 1.18.2017
2017-01-18 3:32:25.519 PM EST
18 minutes ago APP_COMMAND poll
2017-01-18 3:22:25.881 PM EST
28 minutes ago DEVICE humidity 29 Weather Station humidity is 29%
2017-01-18 3:22:25.874 PM EST
28 minutes ago DEVICE dewpoint 40 Weather Station dewpoint is 40°F
2017-01-18 3:22:25.859 PM EST
28 minutes ago DEVICE lastSTupdate 03:22:25 1.18.2017 Weather Station last st update is 03:22:25 1.18.2017
2017-01-18 3:22:25.350 PM EST
28 minutes ago APP_COMMAND poll
2017-01-18 3:12:26.810 PM EST
38 minutes ago DEVICE windinfo West (270°) at 2.0 mph (Gust:… Weather Station windinfo is West (270°) at 2.0 mph (Gust: 0 mph)
2017-01-18 3:12:26.774 PM EST
38 minutes ago DEVICE dewpoint 39 Weather Station dewpoint is 39°F
2017-01-18 3:12:26.050 PM EST
38 minutes ago DEVICE lastSTupdate 03:12:26 1.18.2017 Weather Station last st update is 03:12:26 1.18.2017
2017-01-18 3:12:25.759 PM EST
38 minutes ago APP_COMMAND poll
2017-01-18 3:02:26.121 PM EST
48 minutes ago DEVICE windinfo WNW (293°) at 3.0 mph (Gust: … Weather Station windinfo is WNW (293°) at 3.0 mph (Gust: 0 mph)
2017-01-18 3:02:26.096 PM EST
48 minutes ago DEVICE uv_index 2 Weather Station uvindex is 2
2017-01-18 3:02:26.075 PM EST
48 minutes ago DEVICE feelsLike 75 Weather Station feels like is 75°F
2017-01-18 3:02:26.067 PM EST
48 minutes ago DEVICE temperature 75 Weather Station temperature is 75°F
2017-01-18 3:02:26.058 PM EST
48 minutes ago DEVICE lastSTupdate 03:02:26 1.18.2017 Weather Station last st update is 03:02:26 1.1

yeah i see it in the logs… its only one temperature… sorry dont know how to help you in this case. I assume, if you had a WU developer access you could probably parse all temperatures but then there is a need to write a whole new DT to do this, and I am not even sure if this is doable. I am in the process of buiding my own weatherstation and i might need to send 3 temperatures, if i am able to write something in the future i will share it with you

Hi @takissd . Is there any way to pickup the variable that carries the conditions from the weather device? This is so I would be able to query if it’s sunny/foggy/etc in a rule? Like I can use Lux from Illuninence but for conditions instead? Thanks

Interesting question. So to be honest i am not sure, I know that the LUX for example is a device.capability (in the code: capability “Illuminance Measurement” ) but the weather conditions is an attribute (in the code: attribute “weather”, “string”). I am not sure if ST is giving the capability to pickup attributes. I can do a little research but it might take a while. Someone else might be also able to answer here or if posted in the developer sub-forum?

Since i am at work i dont have too much time to read around, but since this is not a capability i dont think you can do what you want. And capabilities are something that is defined from ST so its not like you can do something like device.capability “weather”. It wont work. So I am afraid that its not possible at the moment. All the device capabilities available are listed here:
http://docs.smartthings.com/en/latest/capabilities-reference.html

Ah ok shame but thanks for looking into it.

Has the ST upgrade that was pushed today killed the Weather Station Tile? Mine is not working any more, to the extent I had to remove it from the room it was part of, because the entire room was failing to load from the ST mobile app. I can actually still see it’s reporting the correct data, if I check from the web-based IDE. But no signs of life in the mobile app.

Still working fine for me. How current is the updated tile? What happens when you hit refresh?

It’s working again from the mobile app too since this morning. Not sure what happened but I definitely had problems for a few hours yesterday. Never happened before.

Quick question. I was under the impression that WST2.0 was supposed to poll automatically. I have had it installed for a week or so now and it doesn’t update unless I tell it to. Am I wrong about the automatic polling?

Glad its working again, it didnt stop working fro me but i have seen other apps stop working for a bit in the past…

Hello, people use CORE, watchdog timer , pollster or other custom apps that force the WST2.0 to refresh every whatever they want to. I personally use watchdog timer.

1 Like

ALthough the Wind, Direction and UV is updating on the screen the attributes are not being set. Anyone have a fix for this
lluminance: 10000
temperature: 66 F
humidity: 27 %
localSunrise: 6:45 AM
localSunset: 5:54 PM
city: Albuquerque, NM
timeZoneOffset: -0700
weather: Clear
water: false
weatherIcon: clear
forecastIcon: clear
feelsLike: 66 F
percentPrecip: 0 %
percentPrecipToday: 0.00 in.
percentPrecipLastHour: -999.00 in.
alert: Fire Weather Warning
alertKeys: [“FIR1487712120”]
dewpoint: 31 F
pressure: 30.10 inches (Falling)
solarradiation: –
visibility: 10.0 mi.

Thats because in the code around line 335 the attribute that is being updated in wind_info, not the individual wind attributes. Also for the UV the attribute is UVindex and in the code i am updating uv_index. If you change this you will be able to see the individual attributes. What are you using the attributes for?

CoRE. You need to be able to use the actual values because this is what it is looking for. An example would be if the wind is over 10MPH don’t turn on the sprinkler or ignore motion detectors. I also found that even in your app wind_gust does not seem to update. I think that is a bug in Weather Underground

Cool, yeah thats a great use of the attributes! Interesting. Let me know about code changes and i will push them to this app as well! Thank you

The only thing that I cant get to put in as an attribute is wind_gust. For some reason there must be a problem with it. I have seen others that had issues with it. I am wondering if the call to the API is the correct call and in the correct format. Not sure how to figure that out

Hello Phil, thanks for testing my changes in the code and verifying it now all works. I have committed the changes. Enjoy!

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.