Mode Manager - Not working as it should

Do you have any other rules that use sunrise/sunset? If so, are they functioning correctly? It could be that this is a sunrise/sunset issue and not a mode manager issue.

In system events do you see entries for sunset/sunrise?

Not sure about system events, but yes I have other rules that are based on sunrise/sunset and seem to be working as expected.

That shoots that idea. It was just a thought.

Thanks,

I assumed I messed up somehow in Mode Manager, but it seems right to me...

Looks ok to me too. Do your other rules that are correct use offsets like mode manager? Still thinking about this and some recent issues I and a few others have had recently with sunrise/sunset.

The seem to be working. Unfortunately I don't know a best way to test them other than stand under the light when they should be going on

You could check the logs. I guess if I was personally testing this I would probably create a couple rules using your sunset and offsets to turn on a virtual switch or lamp just to eliminate a sunset issue.

You could also remove mode manager and start over. I have seen others state that they fixed some mode manager issues by removing it and starting over.

I'm using mode manager and its working well but I don't use sunrise/sunset or offsets. Only fixed times.

I hate troubleshooting sunrise/sunset because it only happens once a day. Always a lot of waiting.

1 Like

maybe I'll remove and start over...

Just odd that the rest of the modes work. and this one doesn't

That's why I was thinking that you had a sunset issue and not a mode manager issue. If sunset+offset is working right, tonight after sunset, open mode manager, click on the gear in the top right corner and look at the very bottom. You should see the job for your sunset+offset scheduled. You will only see this job show up after sunset and before its supposed to be executed.

another Mode related question...

Memorial day is coming up. If I'm off, I want that day to be treated like a weekend instead of a Monday... how could I accomplish this? I don't see a way to "pause" Mode Manager and let me lock in my Weekend mode for an extra day?

I don't do anything as my modes are all based on presence. That seemed to be the most logical way for me, but it required setting up some presence based devices.

The phone is one presence device, and a Smartthings fobs the other. The combo of both devices makes presence probably 99.9% reliable.

I'm pretty sure that you will have to use RM to do your modes instead of mode manager. Maybe use a virtual switch as a "holiday override" . I'm sure there are other ways to make this automatic but that is beyond my brain power this morning. :sleeping:

Okay...

So I deleted Mode Manager.
I created a few rules in Rule Machine:

  1. Day: At 6am on Mon, Tues, Wed, Thurs, Fri turn on "Day" Mode
  2. Evening: At Sunset -31min on Sun, Mon, Tues, Wed, Thurs turn on "Evening" Mode
  3. Night: At 8pm on Sun, Mon, Tues, Wed, Thurs, turn on "Night" Mode
  4. Weekend: At Sunset -30min on Fri turn on "Weekend" Mode

Then, for Holidays - I created a virtual switch "Holiday Switch"
Made a rule in RM:

Trigger: "Holiday Switch" ON

Actions:

  • Set mode to "Weekend"
  • Pause Rules: "Day", "Evening", "Night"
  • Wait for events: "Holiday Switch" OFF
  • Resume Rules: "Day", "Evening", "Night"

POTENTIAL ISSUES

  1. This requires manual input from me each time. Is there a way I can link a trigger to a personal calendar of mine?
  2. When the switch is turned off, let's say at 10pm, what mode will it go into? The modes are initiated at certain times, in this example, "night" starts at 8pm. I could just default to "night" mode after the switch is flipped off, but what if I turn it off mid-day...?

Any thoughts on how to make this better?

I'm also having an issue with Mode Manager but after reviewing it seems it is actually an issue with the hub itself. When I checked the settings even though it's currently 6:44am on Sunday the 24th, when I look at the time

it shows that it's yesterday the 23rd 2:22pm. Which is why the mode didn't change and none of my automations worked last night. Is this a known issue, or something I'm missing?

Have you checked your location settings.

Yes, I just rebooted the hub and then it updated to the correct date and time. I did a test before I rebooted and the command I just sent this morning showed yesterday at 2:30pm. Haven't had any issue with this previously (or at least no issues to lead me to believe there was any issue) it just seems like the device stopped checking in with the time.

@TemptingTime I don't know if this will help your time discrepancy issue but I installed the NTP app and have it checking my local ntp server I have running every 6 hrs (i think) and I have not had a single time where the "time" shows off by any period of time. Depending on your own personal setup you might be able to point the NTP client app to something like your router (most consumer routers have some sort of builtin NTP service).

Here is a link to the information about the NTP Ciient and how to install it.
NTP Client/Local NTP Server Support

I hope this helps you out with this time sync issue.

@steelz1 Thanks for the info I bookmarked your link and will check it out tonight. It hasn't happened again since, but it may be a good idea to have just in case.

1 Like

glad to offer the option!!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.