arthurdent75 / simplescheduler Goto Github PK
View Code? Open in Web Editor NEWAn Home Assistant AddOn to schedule entities on/off on weekly base
An Home Assistant AddOn to schedule entities on/off on weekly base
I've just installed the scheduler and it appears to install into HA ok, I can see it has created some files in the Samba share etc, I go into the web ui for the scheduler and it shows running along the bottom but nothing happens when I click the + button at all. I have tried a restart on HA as well as clearing browser cache and it has not seem to have resolved either.
Any ideas what I have potentially done incorrect?
Hello. First I want to say your scheduler is awesome. Good work. I would like to use previously implemented function to not turn ON (heating) device with temperature set during ON procedure. Could it be possible also not to set OFF device (not to call climate.turn_off) on adjusted time but make temperature change if there will be something like "19:56>T27" in "OFF" field? Thanks.
Hi,
it would be cool if you could add scheduling for Cover entities, with ability to set a % for opening (ON) and closing (OFF).
Thanks!
Hello !
Finally a scheduller ...!
Do you plan to continue developing it and adding functions? For example workday to manage holidays? Or the possibility of activating or deactivating ranges from HA? Or the possibility of using in Climate setpoints of different temperatures depending on the day and time?
These are just a few ideas but it would be great if this sort of thing were possible!
Thank you :-)
I'm trying to add multiple devices to a single rule, but the plus button doesn't seem to do anything.
My HA is a Docker HASSIO install on NAS Synonlogy.
For info, this is running : https://github.com/danielwelch/hassio-zigbee2mqtt
Regards.
Nico.
Controlling the same entity several times does not seem to work: only the last config is actually applied.
Ex for the same input_boolean:
1: On at 8:00, off at 9:00
2: On at 15:00, off at 15:00
It looks like only 2: is applied.
When supervisor make an snapshot and i have only one programmation inside the snapshot does 115 mo !
How it is possible ? Could you explain me ?
I just updated to version 0.30.03 and now I can't edit existing schedules or create a new one.
Clicking the edit button does nothing.
Hi there, I like the idea of this Scheduler, but it would be nice to add in Date, months an years etc. so it acts like a calendar, also when you select say a light or wled object, you sould be able to select effect that you want to turn the light onto etc.
Hi
I love how simple the program is and is exactly what I've been looking for. Good work.
Would it be possible to add multiple on and off times per entry? example:
Turn on: 09:00 / 12:00 / 15:00 / 18:00
Turn off: 11:00 / 14:00 / 17:00 / 20:30
Maybe it is possible but I don't know the delimiter?
Hi there, love this add-on, helps get the kids up on weekdays!
We have an automation that turns everything off with one click when we go on holiday. It would be great to be able to also disable the schedules from within that automation. Can it be done? Many thanks
hi, great work. really love the idea...
two questions:
a) does eg "sunset" work like in standard automations? addional an offset would be great!
b) having a defined ON time (eg 60 mins) would be nice, instead of an defined OFF time. eg: switch light on at "sundown-1" and leave the light on for 60 mins
c) adding some conditions would also be great, eg very simple a list of available input_booleans would be enough, because you can set these booleans in other scripts/automations.
great work!
are there any further improvements planned?
Hello,
I need to turn on some lights 30 minutes after sunset and turn them off 30 minutes before sunrise, but I haven't found a way to do it, is it possible to implement this function?
It seems that the scheduler doesn't survive a restart to the server even with the option start on boot activated.
in order to reactivate the scheduler after a restart, I have to use the option "rebuild" restart wont be enough.
Now:
*You can set the temperature of a climate. Write 16:30>T22.5 turn on the climate and set the temperature to 22.5°
This change on my TVR "current_heating_setpoint: 22.5". Is ok. But at the same time it changes the state on heating.
This causes the TVR to open the valve to 100% and not turn off the valve even when the temperature is reached.
my suggestion is to add to the settings the ability to enter for example 16:30> OT22.5 (only temperature 22.5) which would set only "current_heating_setpoint: 22.5"
Would this be possible? I will be happy to give you the beer to work.
Jrousekcz from czech (beer country) :)
Hi,
I just realized that the times that I have setup are off by 2 hours.
It seems, because I have the time zone set in HA to Europe/Berlin, there two hours added to the scheduled times.
In the docker logs there are also the current time + 2h shown.
Like right now:
172.30.32.2 - - [11/Jun/2020:20:32:37 +0200] "GET / HTTP/1.1" 200 5403 "http://hass.iot:8123/lovelace/default_view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0"
The HA's time is fine and is also shown correctly.
Is there a configuration option for the time zone in the addon?
Thank you.
0.13 gives in the first line:
Warning: file_put_contents(/share/simplescheduler/sun.dat): failed to open stream: Permission denied in /var/www/html/lib.php on line 221
Hi, I don't know how much time you have to program this. Already is a very cool addon. I propose you new feature which will be definetely cute additions, in case you have time (I am not able to help though for lack of skills).
Triggers: light turn of upon a sensor trigger, like this you will make thousands of people happy, basically one of the most common automation: turn on a light upon a PIR sensor trigger
Overrides: light turn ON (or OFF) only if a specific entity is ON (OFF). For example turn ON light on motion only if switch.TV is OFF
:
Thanks for this add-on.
I would like to create multiple scenarios like to switch on/off my heater for 15 minutes each hour but depend on the season.
So, in winter I need more schedulers than spring.
Is it possible to do that with your add-on ?
Thanks
Please add support for input_boolean.
For myself this would be the most useful thing to have in simple scheduler, and it shouldn't add any complexity.
I got this error each times i open the web-ui.
I already tryed to reinstall and rebuild the package wo success.
This error makes the entire component not working.
VM652 bootstrap.min.js:6 Uncaught TypeError: Cannot read property 'fn' of undefined
at VM345 bootstrap.min.js:6
at VM345 bootstrap.min.js:6
at VM345 bootstrap.min.js:6
at VM345 bootstrap.min.js:6
Tested Browsers: Google Chrome - Ms Edge
Great addon, the subject would be a great enhancementr
Hi! Unfortunately, I'm not using HASS.IO now, so I would like to know how to integrate this awesome add-on to my HA. Is it possible?
Any chance of an aarch64 build for Pi?
On an installation of hass.io on a Synology Nas, I get the following error:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/var/www/html/index.php' (include_path='.:/usr/local/lib/php') in Unknown on line 0
The log says:
[Sat Aug 01 21:13:30.178520 2020] [mpm_prefork:notice] [pid 12] AH00163: Apache/2.4.38 (Debian) PHP/7.3.20 configured -- resuming normal operations [Sat Aug 01 21:13:30.179544 2020] [core:notice] [pid 12] AH00094: Command line: 'apache2 -D FOREGROUND' 172.30.32.2 - - [01/Aug/2020:21:13:30 +0200] "GET / HTTP/1.1" 200 463 "http://192.168.2.221:8123/hassio/ingress/00185a40_simplescheduler" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0"
Other addons work flawless.
Any idea why its doesn´t work?
Got this error
Warning: file_get_contents(/data/options.json): failed to open stream: Permission denied in /var/www/html/lib.php on line 11
Just tried on 0.0.8
after update Home Assitant the error appeared Warning: file_get_contents(/data/options.json): failed to open stream: Permission denied in /var/www/html/lib.php on line 11
how can i do to fix it?
I scheduled an event at 9:00, however the lights didn't turn on. When I scheduled the event at 09:00 the lights turned on.
hi so i not sure how to really edit codes to make it work for me
but wanted to see
1.. your scheduler has teh green toggles to enable disable.. anyway to make them clickable.. instead of only when u click the Edit and then enable the check box?
2.. i have a pump i use an arduino and i use momentarty switch to on and off... id like option for your program to have a Start script and end script
so say 8:00pm runs toggle.script (turns it on) and at 8:05 toggle.script (turns it off) instead of needing to lines of code.
so far i struggling to learn Home assistant and lot of times bashing head off wall lol.. no real good step by step tutorials
but i figured id ask
Is it possible to add?
Thanks!
Since I have installed the latest versions (ver 0.20, 0.20.01 and 0.21) I have the same issue: if I connect to my HA instance via Nabu Casa (HA ver core-2021.4.6, supervisor-2021.04.0) in the Simple Scheduler UI none of the buttons work and web UI looks strange (see attached screenshot)
If I access the HA locally the Simple Scheduler works fine and the buttons also execute their task, but the switching on and off won't execute at the set times.
What is causing this?
When i use a Swedish Charter (åäöÅÄÖ) in the settings "translations:"
I get a symbol with a ? inside in the GUI.
If i do text_monday: Måndag
i get a circle with M? for monday.
https://i.imgur.com/eSrHF6H.jpg
On text_ON: Slå på
it seems to work
Just an observation. Because I did it out of habit, I am sure others might and have to puzzle out why only the last time in a list works. I was doing comma space habitually and you might want to honor comma with space as a separator in any update.
I have installed the add-on. When I create a test shedule and wait for the time set - nothing happens. While the ordinary way of setting the automation works (if time then activate the sceene).
Hi
how about not just supporting switches, lights etc it would be great to have a component that can output multiple values by time.
e.g. 8.00-9.00 -> 1 (heating program 1)
9.00-10.00 -> 2 (heating proogram 2)
...
Every time I try to add it in HACS there is an Error: Repostitory structure for master is not compliant.
I reinstalled HACS completly but no success.
Best Regards
Hi, I'm new here. I really appreciate your work.
I want to ask you if it is possible to hide some entities.
I tried to set, in the addon configuration panel, a true/false parameter for the entities I want to control/hide, but nothing seems changing.
The purpose of this functionality is because I want my family components able to control only certain entities and not all of them.
Thanks.
Hello,
I get the following error when trying to open the web ui:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/var/www/html/index.php' (include_path='.:/usr/local/lib/php') in Unknown on line 0
Kind regards,
Nikos
Dear Developer,
i've using your addon for long time, and its suddenly broken. When i would like to edit an existing automation (or add a new), on the right side panel, where i can make the editings is now Blank (White). I tried to uninstall/reinstall or Rebuild.
currently running version 0.108.6
Warning: file_put_contents(/share/simplescheduler/sun.dat): failed to open stream: Permission denied in /var/www/html/lib.php on line 234
If an device/entity name includes a single quote there are syntax errors in the index.php script and as a result none of the buttons work.
I'm not sure if it's device or entity names that's causing the problem, but I can confirm that renaming my devices and entities did workaround/fix the problem for me. Version 0.30.05, tested in both chrome & firefox with HA 2021.6.6.
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/var/www/html/index.php' (include_path='.:/usr/local/lib/php') in Unknown on line 0
Hi
I love how simple the app is and is exactly what I've been looking for. Good work.
Would it be possible to add multiple on and off times per entry? example:
Turn on: 09:00 / 12:00 / 15:00 / 18:00
Turn off: 11:00 / 14:00 / 17:00 / 20:30
Maybe it is possible but I don't know the delimiter?
Thanks for all your hard work
Hi! - Love this project - is there a way (I'm still working my way around how plugins / add-ons work in home-assistant) to perform a schedule for (sunrise + 1hr) or (sunset - 2hrs)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.