We put AirTags in road cases/Pelican flight cases packed with AV/IT equipment. Pelican makes a stick-on AirTag holder that works well.
We’ve found the AirTags work just as well as LTE/4G GPS trackers —- with no-ongoing costs, better battery life (we get 6-9 months on the AirTags, 4-6 weeks on the GPS trackers), and AirTags are 1/5 the cost of an LTE tracker.
I wasn't looking forward to running cable for sensors (I need two reed switches per door, as the doors can stop half-open). The D1s are at the back of the garage, so maybe 8m of cable per switch and two doors = 30-ish metres of cable? (90 feet?)
Range finder seems like the best idea. I was thinking of mounting it on the door motor and pointing horizontally down the track at a reflector attached to the chain/handle.
I love the idea of putting a D1 in the car. Thanks for the link!
Thanks! I'm not sure how easy it would be to put the git hook on all my machines though? I have a collection of laptops (and one desktop) that I work on and I often don't use the same machine for a few weeks :-/
I ended up using a "env.h" file... is there a C-equivalent of the PHP (?) .env file?
Yeah, did wonder about that. My thinking at the time was that the device was on the local WiFi network, not exposed to the internet, and there would be easier ways of getting into the garage if you really wanted to.
Hey! I've been thinking about this all day. I thought it was a GET to fetch the title of the page, but it might only be an OPTIONS or HEAD request? I'm not sure. Either way, my code activates the garage door on that endpoint no matter the HTTP verb.
We’ve found the AirTags work just as well as LTE/4G GPS trackers —- with no-ongoing costs, better battery life (we get 6-9 months on the AirTags, 4-6 weeks on the GPS trackers), and AirTags are 1/5 the cost of an LTE tracker.
This product would work well for us.