[OBSOLETE] Weather Station Tile 2.0

I was able to use this app to monitor my PWS! I have the ObserverIP unit powered by the USB port on the SmartThings hub. I have it auto refreshing every 5 minutes. I was wondering if it is not able to get data within a set amount of time (lets say 20 minutes), is there a way for to tell the SmartThings hub to power cycle the USB port or reboot automatically?

not by using this Weather Station Tile 2.0. You could probably write a smartapp with a timer and if it sees no activity at lets say 20 mins, it would tell a connected socket or wemo or whatever to toggle and reset it…

This is GREAT!!! Thanks so much.

1 Like

I was just wondering which code from WST2 I can use to make the smart app. All I have now is pseudocode:

  1. Poll my PWS
  2. If latest data is greater than 20 minutes, reboot hub

Hello,

I installed this DTH earlier this week and so far, I love the data. My only issue so far is the LUX, It’s not updating and usually shows as 1000. Today it did update to 2500 and right now it’s mostly sunny out, should be closer to 10000 as I recall

Zipcode 92081 or my wunderground station id pws:KE6WOE
I’ve tried both and neither seem to update

What am I missing?
Rick

it really depends on the area you live. I do see it going high in San Diego, so i know the code works ( as a matter of fact the code is the same piece on every almost weather DTH i have seen) Maybe it was not sunny enough … You are in Cali, so i thing there will be better weather coming and June gloom should be over soon :slight_smile:

Anyone else have a problem with their weather tile not getting recent data? Last good data poll was 5 hours ago. Refreshing still not getting the recent data. looking at the station on wunderground shows current data.

Same here. Stopped updating.

Weather underground has been down all day.

I have to manually refresh to get the tile to update.

Reports started back up about 8 hours ago. I didn’t think wunderground was down because my station was reporting normally. Must have been some other part of the service. All is working again.

Mine still doesnt refresh automatically. I have it set to every 30 minutes:

def installed() {
	runPeriodically(1800, poll)
}

Edit: Ive noticed the tile updating every 12 hours even with the code above. This wont work for my other smartapps since I need a updated Lux readings. I also tried ā€œrunEvery10Minutes(poll)ā€ and it doesnt work. So I reverted back to the stock Weather Station Tile device handler and Im using the SmartWeather Station Tile Updater by @RBoy. I dont know if this has to do with this ā€œTickerā€ update I read about, but something is going on in the backend.

What is

runPeriodically

I’ve never seen this API defined anywhere.

1 Like

I couldn’t find it either when I was digging into this a couple months ago. Do the runEvery5Minutes(), runEvery1Hour(), etc… work in device handlers?

Mine looks like this, have I done something wrong?

you probably havent set your zipcode in the settings tab. Try to set a zipcode, click on the gear on the top right side and also since you are at this menu set the rest of the options as well. I know it works on android for sure, let us know, good luck!

1 Like

That’s not it

Try removing the zip code altogether. I’m in the UK and it’s not set, it uses the hub coordinates.

I’m UK too and mine isnt working with or without post code

i know you probably have tried this already, but did you try removing spaces, or deleting the app and reinstalling? Just for fun try a US zipcode like 92131 to see if that works. Then if it does replace it with yours again . I have not tried UK zip codes, i know others in here did and worked.