New scheduler (Codename: Ticker) being rolled out

Thanks???

I know it’s a lot to read through (or whatever excuse you want to use lol ), but your question was answered in the OP…

[quote=“jody.albritton, post:1, topic:42897, full:true”]
How do I tell if I am on the new scheduler?

The new Ticker scheduler shows future schedules as “PENDING” instead of “WAITING”. You can see the details of each smart app by logging into the IDE>Click “My Locations”>Click “List SmartApps”>Select the smartapp you want to see. See screenshot below:

[/quote]

2 Likes

Thanks. I wasn’t sure “no events scheduled” was the same as “having issues” in this context, as the previous scheduler issue was events scheduled in the past, not missing altogether. :sunglasses:

1 Like

Can we specify any time in the new runEveryX or is it just the list you provided?

If I understand Ticker correctly, only those that are time/schedule based will show pending, a trigger based on a door being opened or similar will not show as a Ticker job

I have several rules/triggers that do not show any pending/waiting values but my sunset/sunrise routines now show pending (Ticker)

Rick

Well, mine show that I’m on the ticket system. But every scheduled event had no schedule. I’ve had to update my stuff.

Y’all might want to put that out… But of course that’s going to mean a whole lot of new users on the api. Good luck with that!

I have a routine that runs at a specific time in the morning. A lighting automation that runs at sunset - 20. Another lighting automation that runs at a specific late night time.

All 3 had events scheduled until Sunday evening, all 3 now show “no events scheduled.” The late night run did not run Sunday night. The sunset one did run tonight, but still shows no events scheduled. :fearful:

Bummer, here is what my sunset routine looks like, It just ran a bit ago w/o issue

Rick

i have a mixture of both. Some events have the scheduled jobs and somes does not. I even go into the Smart Lighting app and reset it up but still no schedule task showing up.

I just edited and resaved (i.e., “Done, Done, Done”) my one of my Smart Lighting rules (officially sanctioned SmartApp).

It created Scheduled Job with Status PENDING.

NB: Sunset at my Location is at 7:23pm, and I made the edit at 7:05pm.

The resulting schedule entry is still very incorrect. Is Ticker supposed to have fixed sunrise / sunset handling?

The created sunset related job is scheduled for tomorrow at 5:39pm instead of today at 7:13pm.

Recommendation, please? I suppose I could delete the entire Smart Lighting instance, but I didn’t think that was a requirement. If so, that would be good information to share. Thanks.


###Update:
I added a new child Smart Lighting instance based on 2 minutes before Sunset (it is still over 5 minutes before Sunset at my Location), and again the time is: “tomorrow at 5:47pm” instead of “today at 7:21pm”.

Apparently either Smart Lighting and/or sunrise/sunset functionality is broken. Please confirm.

I guess the next thing to try is Rule Machine or some other SmartApp, but I am using Smart Lighting in order to be compatible with local execution when I install my V2 Hub, currently in a box over here….

###More Info (Live Logging):
I traced Live Logging while editing the Smart Lighting child and got the following result:

e8724689-1abc-4228-8711-b2abc54f63b4  9:05:58 PM: trace timeBasedTrigger: true
e8724689-1abc-4228-8711-b2abc54f63b4  9:05:52 PM: debug scheduling triggerHandler for Tue Feb 16 01:34:00 UTC 2016
e8724689-1abc-4228-8711-b2abc54f63b4  9:05:52 PM: debug Updated with settings: [sunriseFollowup:false, trigger:At Sunset, action:on, overrideLabel:false, sunsetOffset:-15, lights:[Deuce Lamp, Back Under, Hall]]
e8724689-1abc-4228-8711-b2abc54f63b4  9:05:38 PM: trace timeBasedTrigger: true

This shows that it is attempting to schedule the trigger for Tuesday Feb 16th, 2016 (16th of February??) at 01:34h UTC. That time translates to 18:34h PDT (DST), or 17:34h PST (Standard Time).

Meanwhile, the actual time for Sunset on Feb 16th, 2016 was, indeed; 18:59h, which, -15 minutes offset before sunset = 18:34h.

###i.e.: I have traced to the sunset calculation to it apparently using the WRONG DATE (far in the past)
Would @slagle or @jody.albritton please confirm? Is this selection of the wrong date for sunset calculation just a bug in Smart Lighting or is it in the “location.sunrise” Event / subscription method? Thank-you.


####Support Request: #201279

1 Like

Correct, a “subscription” is not a schedule.


We did, it’s in the FAQ :slight_smile:


If you’re not seeing schedules you will need to use to update function in the IDE to reschedule them [quote=“jody.albritton, post:1, topic:42897”]
As we are migrating to the new scheduler if you see issues the “update” button should work to restart schedules
[/quote]

Only the methods provided. More info can be found in the scheduling documentation.

1 Like

I clicked update many times but still no schedule job. Any ideas?

@cuboy29

see below

Hmmmm…the sunset lighting automation that did run even though it shows no scheduled events pending issued the “on” command 15 times in a row. That’s broken, right? This is just a standard Smart Lighting automation.

@jody.albritton

One thing I noticed with the new scheduler.
If the Smart Lighting automation can be ran offline, It has issues showing up on the IDE. If it has to be ran on the Cloud, it’ll show up.

Does the Hub have the scheduler on its firmware? How does offline scheduling work?

1 Like

Good point @ajpri

App engine schedules will not show up in the IDE. FAQ reference below for your reading pleasure.

It may be broken but not the ticker scheduler broken, as @ajpri mentioned, local appEngine rules will not show up in the IDE and are completely separate from the Ticker scheduler.

So anything that does not show a upcoming schedule is running local on the hub and is not affected by the Ticker rollout.

Definitely submit a ticket so we can track it :slight_smile:

really? I just deleted smart lighting :frowning: and wasted all that time to find out this? boooo

Sooooo… Can we get Rule Machine fast tracked to run local???

Just think of the load that would be taken off of the servers!

7 Likes