andrewshilliday / garage-door-controller

Software to monitor and control garage doors via a raspberry pi
MIT License
327 stars 132 forks source link

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

Open Gilles94500 opened 4 years ago

Gilles94500 commented 4 years ago

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)