Flexible schedule via Home Assistant #132
JeanOlivier
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
What would the advantage of using this instead of just setting up an automation to turn the AC on and off within Home Assistant? Perhaps because this is one file, whereas in HA you might need multiple automations for different days etc.? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'll have a look |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The schedule included in the firmware is very convenient, but maybe like me you'd like to have more flexibility.
e.g. have different schedules for the weekends and week days, or more than one ON and OFF per day.
That's why I wrote a small python script that uses pyscript from HACS to control my Daikin.
I'm sharing here in the hope that it might be of use to others.
See https://hacs-pyscript.readthedocs.io/en/latest/installation.html to install and configure pyscript. Don't forget to reboot the system that Home Assistant is running on afterwards.
You can find my script here: https://gist.github.com/JeanOlivier/d69da57ec87129a8b10046ff558cd30c#file-daikin_scheduler-py
It should be fairly self explanatory if you understand python. Just configure the header according to your needs.
Beta Was this translation helpful? Give feedback.
All reactions