[OBSOLETE] Weather Station Tile 2.0

Thanks, after i typed in about 5-6 alpha/numeric then it worked.

that is weird. it does it correct with mine all the time. One thing i would do, i would go to the live logging and see the device logs. do a refresh on the device and look what it says in the app then look and compare the logs and make sure its the same. I would be really suprised if it is something different. Maybe Weather Underground doesnt update it correctly? I just compared my values to the logs and they are all the same. Let me know.

I just checked again and now it is showing. Maybe weather underground was having an issue? Thanks for an awesome ap!

Sincerely,

Bill Rutherford
NorthWoods Manufacturing
603-788-5532. Ext. 1

1 Like

This is great, I do have a question (Iā€™m still new to smartthings, but I did dive into HA headfirst few months ago & the addiction, errr, I mean progress has been steady)

I setup weather station tile & I didnā€™t see anywhere to configure a polling schedule so I just setup an every 15 min piston in CoRE to do the job. What I needed help with is 2 things:

  1. What is the variable containing the illuminance value? I can use CoRE to trigger/condition from it but not sure the string to use if I want to find/use the actual # in a push notification

  2. this might be better posted in a CoRE thread, but does anyone know how to export illuminance readings to a google xls via IFTTT maker channel? I assume it can be done since I have my Honeywell thermostat doing same for temp.

Anyone else utilizing the illuminance readings from WU to adjust Lights? I know itā€™s not as accurate as setting up a local sensor, but figured it was worth trying.

hello, for question 2 , yes its better if you ask the CoRE people cause i have never worked with this
For question 1 there is a capability ā€œIlluminance Measurementā€ that updates the tile device.illuminance. Not sure how you can use this for CoRE

I wouldnt use it to control lights. The values that it spits out are pretty much 200,1000,2500,7500 and 10000
it depends on sunrise,sunset and weather conditions . Here is the code that determines it:

	switch(weatherIcon) {
		case 'tstorms':
			lux = 200
			break
		case ['cloudy', 'fog', 'rain', 'sleet', 'snow', 'flurries',
			'chanceflurries', 'chancerain', 'chancesleet',
			'chancesnow', 'chancetstorms']:
			lux = 1000
			break
		case 'mostlycloudy':
			lux = 2500
			break
		case ['partlysunny', 'partlycloudy', 'hazy']:
			lux = 7500
			break
		default:
			//sunny, clear
			lux = 10000

As you can see, the calculations are not that accurate. Maybe another service other than WU has an accurate illuminance.
Hope this helps

Ahhhh, I had no idea it was a calculated value based upon conditions. I thought it was sent from the WU. Although I do have to tell you that Iā€™m pretty sure have seen other values different from the standard ones you listed? I.e. 359 Lux & other odd numbers. Strange.
Anyone here know of a weather station that reports illuminance? Or is that a waste of time?

I use weather station 2 for lux measurement on one piston that I have running and also as backup for other pistons that I use a Fibaro Motion sensor/Lux in case they lock up.
If I do a refresh as it is starting to go to dusk, I can see the lux measurement going down from say, 1517 to 1498 and so on as it gets progressively darker.

you are correct you will see other values. Which is the part where it takes the main values and mixes also the sunset or sunrise in there. Again, its better than nothing but nothing calculated that comes from WU

here is the code

	if(afterSunrise < oneHour) {
		//dawn
		lux = (long)(lux * (afterSunrise/oneHour))
	} else if (beforeSunset < oneHour) {
		//dusk
		lux = (long)(lux * (beforeSunset/oneHour))
	}

The challenge is in the calculation above it does not deal with dusk/dawn timelinesā€¦

The weather device built in to Nest manager deals with dusk/dawn as well as updating the calculation regularly near those times.

Hi

Do you know how I can read the Acurite Wireless Temperature/Humidity Sensor? I have integrated my acurite Weather Station in my Smartthings using the SmartWeather Station Tile 2.0, but I have 3 more Wireless Temperature/Humidity Sensorā€¦ I want integrate they on the Smartthings.

They are linked in the same Acurite Bridge.

Thank

no idea really, i would think you need to add additional weather station tile 2.0 for each sensor? How does acurite post to WS? Does it post 4 different tempes and humiditys or just one? Or you have 4 different weatherstations? Remember the tile can only parse stuff from WS and if WS is only supplying 1 temp/humidity thats all its gonna show

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.