Urgent.News

What's breaking now, across thousands of outlets.

Tech

I Catch Up a Tesla BLE Library the Way I Run Agents ๐Ÿš—

Hey tech adventurers! ๐Ÿ‘‹ I maintain a little C++ / Arduino library that talks to Teslas over Bluetooth โ€” unlock, climate, charging, the fun stuff. One wrong byte and the car just ignores you. Charming. ๐Ÿซ  Repo went quiet for a long time. Catching it up by hand ? That's weeks of careful suffering. Not because the typing is hard โ€” because you never quite know if you broke something until you'reโ€ฆ

Hey tech adventurers! I maintain a little C++ / Arduino library that communicates with Teslas over Bluetooth โ€” it handles tasks such as unlocking, climate control, and charging. One wrong byte and the car simply ignores you. It was a while since I last worked on this repo; catching it up by myself would have taken weeks of meticulous effort.

The issue wasn't with typing, but rather the fear of breaking something until I could test it on a real car and avoid looking foolish. So, I didn't do it manually. How I actually work involves planning first, gathering a few independent perspectives, ensuring the checks are real through automated tests, and then letting an agent handle the repetitive tasks.

I pointed my Agent at the library with a specific shape. I outlined the catch-up process, put checks in place, and let the Agent do the heavy lifting. Should it fail, I fix it and continue moving forward. The process used to take weeks but now only takes hours. The Tesla aspect is just an example. Before the Agent ran rampant, I added a small host test suite containing known-good messages that the car expects.

This ensures a change either passes or fails. Short receipts suffice so the Agent can fail, fix, and keep going without me having to re-learn the entire protocol from clues every time. Interestingly, I finally touched a library I'd been avoiding by refusing to touch it myself. It was a peak moment. You can find the repo at https://github.com/pmdroid/tesla-vehicle-command.

Written by urgent.news from Dev.to's reporting โ€” not their text. Machine-written โ€” may contain errors; check the original before relying on it.

Read the original at dev.to โ†’

More in Tech

7 Ways to Make Your API Faster

Hello, I'm Maneshwar, and I'm building LiveReview โ€” a blast-radius aware AI code review built for your business-critical systems.

  • Measure and confirm actual slow points before optimizations
  • Implement caching with Redis or Memcached to eliminate expensive queries
  • Use connection pooling to avoid overhead of opening/closing connections

Practical Magic 2 Review

Sandra Bullock, Nicole Kidman and the rest of the Practical Magic 2 cast toil and trouble to conjure up a worthwhile sequel, but theyโ€™re cursed with a very messy script.

What Happens When You Type a URL: Answer It With Three Interactive Simulators

"What happens when you type a URL and press enter?" is the most reused interview question in infrastructure, and for good reason: the honest answer touches DNS, TCP, TLS, CDNs, load balancers andโ€ฆ

  • DNS Simulator illustrates DNS resolution process with caches and resolver queries
  • TCP vs UDP Simulator explains handshake-based TCP vs UDP connectionless protocol
  • Packet Journey Simulator visualizes full path from DNS to web server response

More from Tuesday 8 September โ†’