Hi,
I’m doing a little automation script that is sending IR commands via Broadlink RM Mini 3 to a AC - it will decrease the temp in the morning and increase it on some events or in the evening (whatever comes first). But here is a possible scenario:
- In the morning the AC temp is decreased.
- It should be increased at 6 p.m. but at this time there is a power outage and electricity is restored at 6.15 p.m. then the HA won’t send the command for heating.
I’m thinking about: - When a command is sent (increase, decrease) it will write the desired temp in a text file and overwrite it each time.
- There should be an automation running every 15/30 mins checking that file content. And even if there is a power outage at 6.00 p.m., when it runs at 6.30 p.m. - it will notice that a) it is after 6 p.m. b) the temp is 19 C, not 24C and will send increase command.
What is the easiest way to achieve that?
Or even better - if I can access automation log from somewhere - this is an option too.
Thanks!