[NEW ADDON] Simple Scheduler

Tags: #<Tag:0x00007f77f85152d0>

Hi everyone,
there is someone that wished to have a control panel to automate lights and switches?
Something where you can turn on/off a device at a specific time of day on specific days of the week?

I needed something like that, but I didn’t find anything around that was visual and easy to use.
So I’ve just created it on my own.
It calls “Simple Scheduler”
The idea is that it has to be simple, so that my wife could use it.

This is my first addon, so please be kind :rofl:
Let me know what you think about it. Any feedback will be appreciated.

If you also like so much my work and you want to convince me to stay up at night on that
just buy me a beer :beer:

CIAO!

24 Likes

This is amazing, would it work for heating?
(Imagine it would if it supports generic switches)

1 Like

Hi @Coedy
it lists all entities that starts with switch.* and light.*

1 Like

Do you know schedy?

Its not visual like Simple Scheduler, but it works with heating. And also lights and switches.

2 Likes

Hi @Se7enair
Yes, I took a look at it before start coding.
But as I said in main post, it has to be easy.
Can you imagine my wife writing yaml code to turn her washing machine on today at 11:00 am? :rofl: :rofl: :rofl:

3 Likes

Of course, its the same with my wife. You could bring schedy to Lovelace to get a visual interface, but this seems to much work for me.

I posted the link for @Coedy, because he asked for heating support.

Yeah I had seen that but not being a scripter I was immediately put off the idea of even trying it.
This however has really got my attention!

Heating support, in my case, is a switch.
Unless you/he mean climate control. I could add it, of course.
Maybe I will wait a few to understand what could be useful to community and add those features. :stuck_out_tongue_winking_eye:
The addon is just born! :rofl: :rofl: :rofl:

1 Like

This could be a very good alternative to schedy!

@ArthurDent1975 at first I would start to support climate entities.
After that it would be nice to get some conditions to control the schedule. Like “set climate to 21°, but only if somebody is at home”.

3 Likes

I tried the addon. For the first, it is working fine.

i got a few ideas for improvements for you.
At first, as i said, conditions and supporting climate entitites.
Then it would be nice if i can turn on or off the schedule with the slider on the left. Not going into edit to disable it.
It also would be nice to select more than one entity. So if I may have a group of lights, I dont need a seperate schedule for each of them.
Then you can change the checkboxes in the edit view to the same circles you use in the normal view.
Thats all small improvements that make sense in my opinion.

I think the biggest improvement for now would be conditions. For example, the garden season starts. And I want to automatically control my lights in the garden. But only when somebody is at home and also the start point should be controlled by the position of the sun. So that the lights will only be turned on, when the sun is below the horizon.

3 Likes

Great work… Any future plans to add cover.XXXX_level or cover.XXXXX_switch?

1 Like

thanks a lot for this app! your next beer is paid :wink: … i just automated all the switches on the road and removed the previous automation. really good would be thermostats. from when to when to heat, in which mode (heat, auto, off). so just the basics. i tried schedy, but it really lacks a graphical user interface. i really like your user interface for the switches :slight_smile: … clean and well arranged.

1 Like

what might be interesting would be to define sunrise and sunset as time. but i don’t know if this is possible with static json files.

Nicely done!

I’d like to respectfully request if this could be expanded to include input_booleans and automatons as well?

2 Likes


Thank you so much!!!


You hit the point!
I put the word simple in the name for a reason… :rofl:
By the way… you can never say… :stuck_out_tongue_winking_eye:

Oh my, there’s a lot of stuff in here… :stuck_out_tongue_winking_eye:
Ok, let’s see…

Disable slider: well, you problably didn’t consider the mobile version. My wife only use the android app. It would be easy to tap on that by mistake. I even remove the icon in mobile view (the row become dimmed, so it is clear to understand).

Checkbox: Yes, that was my first idea. But it requires some javascript and a little effort to achieve that. It was easier this way. I primarly focused on the functionality. But it is in my mind.

More entities: I’m not sure it would be cozy. It would also make the editing more tricky and give user more chance to make a mess.

Condition: That’s far away from the pourpose of this addon. I never stop repeating that it has to be simple. Conditions are greatly implemented in HA, and they are mented for advanced user. You set the rule, you (mostly) never touch it again. This addon want to add something that was missing in HA, for (almost) everyday use. Last but not the least, Implement a condition engine in the addon would be very very very very complicated. (Did I say very?). I hope you will get my point

I call service.turn_on and service.turn_off which works for both switches and lights.
Covers have different services (service.open_cover, service.close_cover, and so on)
This would require a major change in code… :thinking:

Thanks for the respect! :stuck_out_tongue_winking_eye:
You can find your answers as for the above quote

1 Like

Thank you for sharing this useful addition to Home Assistant. I don’t want to discourage further development but feel you should know that there is work underway to develop a scheduling integration.

To be clear, discussion started a year ago and it’s unknown how much more time is needed before it is ready to be released. In addition, it is the engine and not the accompanying UI that must also be developed to allow user’s to interact with the engine. Therefore it may be some time before we see anything that looks like the add-on you’ve created (but it will be released eventually).

1 Like

You need to be careful with your wishes because if you simply call homeassistant.turn_on/turn_off service it might end up like this :wink:

tl;dr for automations it should be automation.trigger service rather than homeassistant.turn_on/off

Thank you for your advice.
I needed the scheduling right now, so I created it by myself.
It tooks me a week of work and it gave me the chance to understand a lot of things under the hood about HA, starting from docker.
When the scheduler integration will be ready, this addon will become useless.
In the meanwhile, I hope it helps the community!

Thanks again!

4 Likes

Just a few things which come in mind when I tested.

You are right, the name says “simple”. So if you want to keep it simple, its already perfect.

More entities or conditions got the potential to make it a “difficult Scheduler”. But if you want to expand the capabilities of your addon, just put my notes to a future feature list and think about it :slight_smile:
Or you can make a second addon. A simple scheduler and a universal scheduler.

2 Likes