Just write “sunset” or “sunrise” instead of time.
Adding offset is not so easy. Maybe in the future.
I don’t need this feature. I just add this because of the many requests
I don’t know about programming. If its difficult you perhaps is easy to add other times near sunrise sunset (dawn dusk)
Probem is at sunset its already too dark, it is needed a moffset, probably dawn is ok
one of the best addon, simple, fast, very useful. Thanks again!!
First time schedulling and got this error:
**Warning** : file_put_contents(/share/simplescheduler/sun.dat): failed to open stream: Permission denied in **/var/www/html/lib.php** on line **221**
That’s odd. Let me do some more test
I scheduled it 2 days ago and since then I restarted HA multiple times
I’ve just installed the addon in a brand new installation of HA, and it works without any error.
Can you give me more details? SimpleScheduler version, HA Version, other addons installed, new install or upgrade, and anything else could help me to figure it out.
The share folder is a HA system folder. The subfolder simplescheduler is created during addon installation (or rebuild) and it receives 777 permission…
So permission denied error is really odd…
Please, check the addon version: should be 0.13
according to the log the permission denied is from /var/www/html/lib.php and not simplescheduler, right?
No, that’s the file that execute the command.
The error is “failed to open stream: Permission denied” while trying to write the file /share/simplescheduler/sun.dat
Could you please check if the subfolder simplescheduler has been created under the share folder?
It’s there and +777
Unesplicable.
Is there anything in /share/simplescheduler ?
Are you able to create schedules? Does it create JSON files inside /share/simplescheduler folder?
One json with my only schedule, a txt with log and sun.dat
Word of the day.
I encourage everyone to slip it in to casual conversation.
It seems to be working… Please, create more schedules and test them. The error is still there?
Sorry… I mispelled. I’m not a native language speaker.
The right word is Inexplicable
Thank you for sharing this component. I run Homeassistant Core in docker so I tried to build using your dockerfile.
It didnt complete as it crashed with an error related to Postgres dB exceeding the docker img file size.
Any guidance to build own image is much appreciated.
I reinstalled 2 times and it is working now. odd!
I have to set up an environment and try.
WOW, was using schedy till now will have this a try for some family friendly stuff.
how does this behave when hass was down at the time the schedule was about to change (or the entity was not reachable at that time) will it recalculate at any other time such as schedy does?