HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wpearse

no profile record

comments

wpearse
·2 lata temu·discuss
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.

This product would work well for us.
wpearse
·2 lata temu·discuss
I'd love to see my Tesla use Starlink LTE.

Whatever local provider my Tesla connects to doesn't have great reception. The onboard streaming music often cuts in and out.
wpearse
·2 lata temu·discuss
My colleagues and I put the work line on an eSIM so we can turn the work “phone” off completely with a toggle in the Settings app.

(If anyone from Apple is reading this, would be great to be able to schedule DND on a eSIM line.)
wpearse
·8 lat temu·discuss
Actually, I think I actually wrote this story just so I could try out the "new" (months-old?) threading feature. I don't much twitter.
wpearse
·8 lat temu·discuss
I'm sorry. This is the first time I've used a thread. I won't do it again!
wpearse
·8 lat temu·discuss
You're stupid.
wpearse
·8 lat temu·discuss
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!
wpearse
·8 lat temu·discuss
Heh. I think I did worse ... made a local copy of the repo, nuked it on GitHub, then re-created the three commits by hand ... less credentials.

That looks like a much more useful tool, though.
wpearse
·8 lat temu·discuss
Correct. Site now has a form and a button. /toggle now responds only to POSTs, and redirects back to /.
wpearse
·8 lat temu·discuss
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?
wpearse
·8 lat temu·discuss
Me too!
wpearse
·8 lat temu·discuss
Bring beer.
wpearse
·8 lat temu·discuss
Thanks. Not the address with the WiFi garage thankfully.

I was actually thinking "better not commit that" ... before, y'know, I committed it :/
wpearse
·8 lat temu·discuss
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.
wpearse
·8 lat temu·discuss
Fixed now: https://github.com/wpearse/wemos-d1-garage-door-wifi/commit/...

I think.

edit: updated link because left creds in the commit :-/
wpearse
·8 lat temu·discuss
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.
wpearse
·8 lat temu·discuss
Hello! Long-time lurker, and guilty dev behind the garage door. You can see the (broken) code I wrote here:

https://github.com/wpearse/wemos-d1-garage-door-wifi

I'll get around to fixing it later this week.

Also, an apology: I should have used "side-effect-free" instead of "idempotent" in my tweets.