Using Notification as Capabilities on Core


#1

Hi,

I am wonder if it is possible to use the notification that we receive on smartthings app as a trigger for one Core rule.
Here what I want to do:
I have an SmartApp Weather that send notification about the weather in my area and I would like the Core to check all my notification and if it includes Tornado Watch, for example, I can trigger a routine, switch etc.

Today I am doing the pretty much the same using IFTTT, monitoring RSS feed and trigger some switch in Smartthings in case of a match. The issue is the IFTTT sometimes can take a hour to run…

Thanks!


#2

Why not just use the native Weather API in WebCore? Here is my piston that will send alerts out to both SmartThings and SMS:


#3

Thanks!
I am new with webcore, but I am looking to only weather alert that is Tornado Watch or Tornado Warning,
if I have a match I would like to trigger a switch.

Is that possible?

Your Piston, as far as I understood, will check every 10m for new weather alert and send it via SMS or MSG


#4

https://wiki.webcore.co/Weather


#5

Yes it checks every 10 minutes for a weather change and only sends alerts when it changes. You can always take the return and use an expression that matches “Tornado”…search around the forums for the various ways people use the weather api.


#6

Here is a line from my alert piston that makes a tile…

temp

But you could have it do anything really…


#7

Sure that isn’t a Hurricane? :smiley:


#8

LOL, you are right… I had tornados and hurricanes both returning that icon.
I have now split them up into two unique icons…

The large version looks good on Win10:

temp

but is broke on Win8:

temp

Heck, even on Win10, the small version of the tornado icon is hard to distinguish :tornado:
(I think this is why I went with the hurricane icon originally, LOL)