Announcement: New "Update" feature in the IDE


(Tim Slagle) #1

Hey all!

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.

You can get to this list by:

  • logging into the IDE
  • clicking on My Locations
  • select the location you want to work with
  • click “List SmartApps”

Smart Lighting is broken again
GE In-Wall Outlet 12721 is being finicky
Routine isn't triggering
New scheduler (Codename: Ticker) being rolled out
Lights on arrive home
Daylight saving time
GE In-Wall Outlet 12721 is being finicky
Bloomsky Weather Station
New scheduler (Codename: Ticker) being rolled out
New scheduler (Codename: Ticker) being rolled out
(Tim Slagle) #2

(Jason "The Enabler" as deemed so by @Smart) #3

Now that is a nifty little work around for the screwed up scheduler. But in all honesty, it does make fixing them easier.

***not trying to show animosity… Just frustrated…

Any update on the scheduler fix?
Any idea how @bravenel can get RM to puts this link for us? Lol

But still, thanks.


(Tim Slagle) #4

it happens automagically. Every app that has a updated method (they all should) will have this link.

This was our goal in the meantime. :slightly_smiling:


#5

For those of us who may be unfamiliar. What does the “updated” method do? Is this something everyone with smart apps should click?


(Jason "The Enabler" as deemed so by @Smart) #6

@slagle don’t get me wrong… I’m a huge supporter of ST…and will continue to be.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #7

Except… SmartTiles’s “updated()” method includes a call to “unshcedule()” which frequently results in a fatal error…

http://thingsthataresmart.wiki/index.php?title=Bug:_Schedule_Methods_Cause_Fatal_Java_Error

So now I’m extra worried. :worried:


(Tim Slagle) #8


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #9

Stockholm Syndrome? :stuck_out_tongue_winking_eye:


(Tim Slagle) #10

Trying to track this down. In my testing it seems it may only happen once every blue moon.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #11

I agree… Seems to be very rare this week. Thanks for hunting this bug :bug:!


(Bruce) #12

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.

Doing this for Rule Machine has no effect.


(Morgan) #13

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.


(Bruce) #14

In the IDE, go to My Locations / List SmartApps.

You can do this on any SmartApp listed per the above.


#15

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?


(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!


(Bruce) #17

It’s not automation, it’s manual control and adjustment for something that wants to be an automation, but falls short.


(Jason "The Enabler" as deemed so by @Smart) #19

It’s automatic! As soon as that button is pressed it does stuff!


#20

I clicked all the Updates for all my SmartApps. Worried I will find everything broken in 5 minutes.

Hoping my Energy Alerts will finally work.


(Eric) #21

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.