Will WebCoRE take a temperature reading from smartthings : SmartWeather Station Tile or SmartWeather Station Tile 2.0


#1

1) Give a description of the problem
Informational question

2) What is the expected behavior?
Need to know if the SmartWeather Station Tile 2.0 is good for a source of temperature or humidity
3) What is happening/not happening?
No way to test as of yet

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

I use it quite successfully, I do however force a regular refresh


#3

Are you aware that WC has built in integration with Weather Underground?

https://wiki.webcore.co/Weather

No need to read weather device tiles…


#4

Only if your trying to get information from your hubs location. If you want it from a remote location, you need to use alternat option with Get request. And $response. I do this for my cabin that is 250 miles away when traveling there and get push notifications with weather details


#5

Robin, I am very much aware, but my big problem, is that I don’t know how to implement it in an “IF” command. If you could guide me in the right direction, it would be appreciated.


#6

Type what you want to achieve in words and I’ll create an example piston for you


#7

Here is what I need.


#8

I’ve used the outside humidity as measured by your local station, but for your purposes you will probably need to continue using your inside sensors… just included the $weather as an example.

The temperature expression should be good for you though.

You will also need to add some kind of trigger above this because webCoRE doesn’t subscribe to the weather, it will just check it when asked… maybe use a timer, every x minutes.


#9

Thank You, I will check on how to use a trigger.


#10

Edit: your stays greater than 45 for 12 hours is tricky… give me a sec to tweak!!


#11

OK thanks. I appreciate this.


#12

Try This:

Though if your’e using inside humidity from your sensors, stays greater than (as per my first example) will work and you don’t need it to be so complicated.


#13

Thank you, I will try both and see which will work better for me.


#14

Does this look OK to you?


#15

Looks good, except the first if with ‘$weather… stays over x for 12 hours’… not sure if stays works with weather (we can’t subscribe to what it was before).

Give a try with a shorter duration, maybe I’m wrong.


#16

OK should I change all the 12 hour comments? I plan to add a time restriction also so it doesn’t go off in the middle of the night. Bellow is the updated version. How does it look?


#17

Looks fine… But I only mentioned shortening the ‘stays … for 12 hours’ for testing, not production.


#18

Yes I understand, I am hoping it will work. Thanks again.


#19

How do you force a regular refresh on the weather tile? I’m using illuminance as a trigger, but it lags due to a lack of refresh.

Is illuminance available in the Webcore/weather underground API call?


#20

I doubt it… depends on the clouds and shadows over and around your home so I don’t see that being something reported by any weather station.

That’s something you need to measure at home.