Scheduler and Polling quits after some minutes, hours, or days

Reset schedules

  • on sunrise/sunset
  • on location (mode change)
  • on REST endpoint

etc.

Sigh. All THOSE are going to put more load on the system, which (apparently) is already struggling under load.

It would be so much better if it just worked - most importantly if it never just silently dropped scheduled callbacks - better late than never would be a great start.

(my lighting on/off based on motion + lux works about 60% of the time - when it fails a refresh of the weather tile (which should have refreshed based on both sunset AND periodic internal schedules) magically fixes it - because the weather tile is providing my lux, and the scheduler has died. itā€™s really like every 2nd or 3rd day now. Not great.)

2 Likes

Yeah, I added a subscribe(app) to each of mine so that I could reset them with a tap, but then weā€™re back to the whole ā€œnot exactly automatedā€ argument. Can IFTTT check a URL for a keyword every so often and hit another URL if itā€™s not found? If so, thatā€™s probably the best balance of reliability/simplicity.

I put together my solution in a way that it would provide a very high degree of reliability and only impact the scheduler when absolutely necessary. I want it to work, but I donā€™t want to add any additional load to the system.

1 Like

What IFTTT channel would you use for that?

My understanding is that when we schedule events that the actual schedule lives up in the Smartthings cloud and it sends commands down to our hub. I have a porch light set up with a schedule and it hasnā€™t worked right since last Wednesday.

Starting on June 18th the Sunrise/Sunset app was still sending on commands, but the Schedule Switches Off decided to go on vacation and has not sent a command since (according to the device event log). And then tonite the Sunrise/Sunset app decided it too needed a break so the light didnā€™t turn on, either.

Whatā€™s the deal with this? The hub can see the device because the status shows up correctly in the app, and if I click on the switch I can turn the light on or off. Why arenā€™t the commands being sent?

If you open the Sunrise/Sunset app and click ā€œdoneā€ you will cause the app the reschedule itself and it should work till the next time it stops. Smartthings is looking into the issue but it never hurts to send in an email to support@smartthings.com to let them know you are effected as well.

Either the new Maker channel or ST channel via a (virtual) switch.

2 Likes

This is really cool - didnā€™t know it existed. But how would you make it automatically ā€œperiodicallyā€ execute? What would the trigger be?

If [Date and Time channel] then [Maker Channel].

3 Likes

@schettj Youā€™re right, it all will increase the load. Another use for a virtual switch tied to whatever seems to be more reliable than the scheduler (IFTTT, a manual switch, mode change, presence change, whatever works).

Mine have started failing every night for the past week. Some donā€™t even make it a day.

Interestingly, since everyone is trying to code around this chronic and pervasive problem, this in and of itself has to put a huge load on the system. Once all of those redundant/backup methods/systems are in place, the load will increase yet again. This problem needs to be a top priority (or things will get progressively worse).

4 Likes

For the last week my ST/Hue Bridge connection reliably becomes unreliable every 24 hours or so. (Hue Bridge continues to work just fine with several other systems, only ST has the problem.)

That is, I do something to get SmartThings to recognize it, everything works fine for about a day, then ST stops checking Hue state so anything that changes a Hue other than ST (including IFTTT, Beecon+, and Echo) causes ST to fall out of synch. In particular, The Big Switch never gets triggered.

Iā€™ve resorted to having Good Morning turn on one Hue just to keep the connection going and so I can see that it is. That should be minimal additional load, but still.

The main point of this post is that things have definitely been much worse this week than they were a month ago, without me having changed or added anything. :cold_sweat:

4 Likes

I have broken my lights on at sunset in small batches few minutes apart. Even then they fail to turn on/off reliably and I donā€™t see any polling happening at all in the IDE. No bulbs can be added. States are not reflected correctly. Motion sensors fails to turn on/off even 2 bulbsā€¦ Its like a nightmare. Freddy doesnā€™t quit! :frowning:

How can they not fix it.

1 Like

Iā€™m using IFTTT sunrise/sunset feature with Hues and it works remarkably well (no ST required). Generally speaking, my goal now is to bypass ST as much as possible for all my automations.

4 Likes

Thatā€™s kinda sad. It has been pretty bad lately, hasnā€™t it?

Obligatory Hub 2.0/Star Wars reference

Help Us Hub-eywan 2.0, youā€™re our only hope!

3 Likes

This is the way Iā€™m leaning now as well. Using the hub to just receive events and pass them on to another system to handle the logic/scheduling, then send the reactions back through the hub to the devices.

On the plus side, ā€œa developerā€ is now looking at my code to see why it doesnā€™t run reliably under the scheduler. :unamused:

Iā€™m in the process of migrating my Z-Wave network to Staples Connect. Luckily, I donā€™t own any Zigbee stuff, so it should be a pretty simple move. It does not have flexibility of SmartThings, but all basic features are rock solid and thereā€™s no dependency on the Internet connection. Everythingā€™s local and extremely fast. Bottom line, reliability has higher priority for me than flexibility.

1 Like

Soā€¦

Having the Good Morning turn on a light to reactivate the ST/Hue Bridge connection failed today (go ahead and laugh).

Why?

Because apparently STā€™s Hue Bridge polling failed last night before I turned off all the lights with Echo.

So ST thought the lights were still on, and today when Good Morning ran it logged the message ā€œThe switches were already set as you requested.ā€

Which, you know, they werenā€™t. So obviously that fish is dead. :tired_face:

1 Like

You donā€™t have a Hue Bridge? Iā€™m curious about that integration.

The fish is long deadā€¦ itā€™s kind of rotting and decomposing! :wink:

3 Likes

Seeā€“another reason for ammonia monitoring! LOL :fish::fish::fish::skull:

(This is a callback to one of the aquarium topics, couldnā€™t resist.)

6 Likes

I do have a Hue started kit and I connected it to Staple Connect without an issue. All Hues appear as color lightbulbs with three slider controls - Hue, Saturation and Luminosity. Simple yet practical. Bulbs can be assigned to rooms and included in rules. So far Iā€™ve had no connectivity issues.

2 Likes