HA Scheduler Addon

Hello,
I am interested by your addon
I have install it with supervisor and start the add on
I add a first schedule but when I click the save button I got this message :
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
What do I wrong ?
Patou

Hello again,
Reading the doc I see that from version 0.9 it should be possible to program a temperature.
Can you explain how to do this ?
Thanks in advance
Patou

Hi,
About the temperature setting there is a possibility on climate entity to set the temperature value by add these string after time schedule

About the error on Save it is very strange if the problem it is resolved by a simple retry open a issue on github with the step to reproduce the error.
Thanks

The error on save seems to happen if you save and then edit the schedule and try to save again, before returning to the home screen. If you navigate somewhere else and then back to the HA Scheduler, you can see that the first save worked but the second save didn’t but the add-on loads up fine with no errors and you can edit the schedule without problems.

I love the ability to add entities to a schedule, that was a great idea. Setting Climate also works perfectly for me :+1:

Great work thank you… I am using this addon mainly for the covers. Is there a way to include a condition for enabling the schedule? I mean like presence condition; if any family member is at home the schedule is on; if not then disable the schedule… How can i do this ,maybe by a service call in automation??

Like:

- service: hassio.addon_start
  data:
    addon: " addon_998c1fd8_homeassistantscheduler"

and

- service: hassio.addon_stop
  data:
    addon: " addon_998c1fd8_homeassistantscheduler"

But that starts and stops the whole addon…

There is something in the documentation relating to what you want to achieve

service: hassio.addon_stdin
data:
  addon: 998c1fd8_homeassistantscheduler
  input: light_xxx:enable_on

You just add the name of the entity that is related to the schedule you are trying to turn on or off. I haven’t tried this, so I’m not sure if it completely disables the entity i.e. if it would be uncontrollable by a separate automation. Would be good to hear your experience with this.

1 Like

Hello,
I make a second try and confirm what Adam wrote.
Very nice add-on thanks
Is it possible to add it on the left side menu as overview, supervisor etc … ?

Hi Monday I’ll try to investigate about the problem at saving. About the possibility to add into menu there is a button “Show in sidebar” into addon page inside supervision section.

Thanks

OK thanks
Have a good night

Trying to use the hassio.addon_stdin:

  1. Checking it out from Portainer i see that the name of the docker container is ‘addon_998c1fd8_homeassistantscheduler’. Is it the same with you guys also?
  2. I use schedule name as entity-name.

So, when i use this in Developer Tools -Services-hassio.addon_stdin :

addon: addon_998c1fd8_homeassistantscheduler
input: quarantine_all_covers:enable_off

and press ‘Call Service’, nothing happens, also nothing in logs. ‘quarantine_all_covers’ is my schedule name. enablle_on and enable_off does nothing. What am i doing wrong? Thanks…

UPDATE:
Using 998c1fd8_homeassistantscheduler instead of addon_998c1fd8_homeassistantscheduler, i managed to get something in the log file:

INFO: Read alias: quarantine_all_covers:enable_off

However, the schedule is still on…

UPDATE2:
Looking at the code, i guess Line 17 in daemon_input.py:

if data['entity_id'] == input[0]:

should be:

if data['friendly_name'] == input[0]:

Because in .json file if the schedule consists of more than 1 entity, the schedule entity_id doesn’t have a name but an array of entities.

Hi,
It is a bug related a new group possibility.
Tomorrow I’ll fix this and the problem at save.

Thanks and sorry for the trouble

Hi All,
I have made the version 0.11 with fix double save and a fix on stdin functionality now you need to use a group name to indicate the schedule to enable or disable.

Thanks.

@michelebossa thank you very much for the quick fix. Here is the results of calling the service from Developer Tools-Services:

  1. In .json file, “enable”: changes to “false” or “true” according to input request.
  2. I can see the following in Log file:
[14:27:32] INFO: Read alias: quarantine_all_covers:enable_off
Daemon Kill 312
Daemon Start

On the other hand, when i call enable_off; the enable button is still ‘ON’ both on summary page and on edit details page. I don’t know in real if this visual button or json file takes precedence, so i have to test it for some more…

I have to restart HA Scheduler to see the result effects on button.

It is not necessary to restart the addon it is just the frontend to be reload by the related button. (The demon are already received the correct status )

image

Try to push.

Thanks.

Yep, it works perfectly fine; Thank you very much once again…

Hi great work! Works very nice.

Is it possible to use input_datetime to set the Time value in your addon? So we can control via the Lovelace? I think that would be a nice feature

1 Like

that would be good!

Hi,
Thanks for the feedback but the addon it is born to have a separate schedule web page integrated by ingress to HA + panel tab. At moment the best way to use an input date time from front end of HA it is a standard automation.
Sorry I can’t add these possibility becouse there is some design and development obstacle.

In group name is not possible to have spaces. hassio.addon_stdin did not work with spaces in group name.

This looks really nice. Is there a way to install this on a non Hassio setup? Additonal container next to Hass docker container on Synology NAS?