andrewshilliday/garage-door-controller

Save the doors status Date and Time to use after a restart

Opened this issue · 0 comments

When the script "controller.py" starts (reboot, or any other reasons), the doors status date/time is set to the current date/time.

Would be it possible to store to a file these dates/time so they could be read when the python script starts?

As it would reflect the last doors status, it could also be used to query a door status ( https://YYY.YYY.YYY.YYY:xxxx/st?id=left)