Page 1 of 1

Auto turn off after X

PostPosted: Sun Jul 24, 2016 12:19 am
by MarcoGT
Hi all,

I have few schedules with "auto switch off" (2 mins, normally) and they work perfectly.
Then last week I set up a schedule which turns on a wall plug and turns it off 7h later.
It simply does not work, even in logs I do not see the auto turn off. As workaround, I set up a second schedule to turn it off at desired time, but this is not what I wanted :)

Does anyone have the same problem? Is it maybe related to fact the the turn off is too much in the future?

Thanks
Marco

Re: Auto turn off after X

PostPosted: Sun Jul 24, 2016 12:58 am
by Colorado4Wheeler
I assume you are using the "Auto-off after X" portion of the schedule. That should work, and you should see an _auto_off_[name of your device] in the schedules for that off time - do you see that in there either directly afterwards or about the time when it should be turning off? That could be a clue to what is happening.

Also, I wrote a plugin that might help you reign in your multiple schedules a bit, I wrote it for just this purpose, called Powermiser, you might want to take a gander and see if that makes life easier. Whether or not it fixes this problem is unknown, but it might.

Re: Auto turn off after X

PostPosted: Sun Jul 24, 2016 1:14 pm
by MarcoGT
Yes, I know that I should expect that entry in the log files, but it is not there (but I see it for other schedules I have).
I will have a look at your plugin, thanks a lot :)

Re: Auto turn off after X

PostPosted: Tue Jul 26, 2016 12:53 am
by howartp
Do you have any other actions or schedules that might be calling 'clear existing auto schedules on this device' that you've maybe forgotten about?

(Can't remember the name exactly but it does what it says)


Sent from my iPhone using Tapatalk

Re: Auto turn off after X

PostPosted: Tue Jul 26, 2016 1:47 am
by Colorado4Wheeler
howartp wrote:
(Can't remember the name exactly but it does what it says)

Do you mean the Server Action?

Re: Auto turn off after X

PostPosted: Tue Jul 26, 2016 4:00 pm
by howartp
That's the thing.

I think (?) there's also a checkbox when you set a delay on an action, to similarly cancel previous delayed actions for the same device?


Sent from my iPhone using Tapatalk