andrewshilliday / garage-door-controller

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

Email notification if any doors are open at a specific time? #59

Closed nlthomas closed 4 years ago

nlthomas commented 7 years ago

This is not an issue, but a desired feature. Is there an easy way to get an email at say 9PM if any doors are open so that I know to close them before I go to bed?

monkeyboyohyeah commented 6 years ago

Closely linked to my query, I'd suggest. These questions both speak to the issue of the door(s) being left open late!

57

andrewshilliday commented 6 years ago

It's a good idea and worth looking into. In the meantime, you could probably write an IFTT rule that runs at 9 and checks the status URL to see whether it returns opened.

zbowman commented 5 years ago

What's the status url?

USAFPride commented 5 years ago

http://yourgarageip:port/upd or http://yourgarageip:port/cfg

Source

Timestamp appears to be in Epoch time and will need to be converted to your local timezone offset

zbowman commented 5 years ago

This is exactly what I needed to find. Is there a means of sending commands into the garage controller while its up and running? If I setup a script to check door status late at night, can I also send the close command through the script without having to use the web interface?

USAFPride commented 5 years ago

I don't think so, you would probably need to create a function within client.js to react to a GET command. Something may be buried in jquery-1.8.3.min.js as well. I'm not the maintainer, just a long time user.

IMO, the better option is to setup MQTT for publishing and control, but that is a bit more in depth, but would solve a lot of other requests at the same time.

zbowman commented 5 years ago

Thanks for the feedback. Just having the url's is a big help.