Just wanted to stop in and let ya know about a new feature we rolled out.
In the IDE you may, or may not, have seen a new link next to all the SmartApps in the IDE. You will now see a “Update” link next to all SmartApps. This is a nifty little feature that allows you to run the “Updated” method in a SmartApp. This essentially will allow the smartapp to reschedule itself and re-make subscriptions.
For anyone wondering, doing this for a Rule causes the Rule to be evaluated, and the actions for true/false taken accordingly. For a Trigger, no actions are taken.
For both Rules and Triggers, scheduled events are rescheduled.
Where does this show up in the IDE? I don’t see it, also in a little confused on this usage of this can I do this to fix scheduling issues on the Smart Apps I’m using that are just standard or do I have to only use this on my copies of my Smart Apps?
If a couple common scenarios where it makes sense to use this would be helpful.
Hmmm, maybe the term “update” may be confused with automagically updating the smartapps, or thinking that there’s an update available. Perhaps a term like “reload” may be better suited?
2 Likes
bamarayne
(Jason "The Enabler" as deemed so by @Smart)
16
…or… “make your things work again”… or… whatever… ugh.
I was kind of hoping that in a home automation system I wouldn’t have to do this…
but hey! I’m just being excessively negative tonight!
This does not seem to renew subscriptions. I have two hubs, when I look at weather station (built-in smart app under hello home), one has subscriptions (location change) and the other does not. I have logged this with support.
I have seen with smartapps in addition to the unschedule() issues folks mention, unsubscribe() seems pretty hit or miss…more miss lately.