My MIL is 93, and the only tech she can really deal with is turning on the radio and TV and changing channels. She is fond of music from old classics (from the 60's and earlier), so I hooked up a Raspberry PI with an FM transmitter and created her own private radio station. She tells me what songs she likes and I create different playlists that get broadcast on her station. It preserves the surprise element of radio,…
Ask HN: Most interesting tech you built for just yourself?
511–520 of 1001 posts
Re: Ask HN: Most interesting tech you built for just yourself?
#512Growing up I had an alarm clock that you put a CD into and it would fade in the CD instead of an alarm noise. I really loved this, though having to wake up super early for school everyday, I will admit that I developed negative associations with the first track on many albums.
I created an improvised version of this a few years ago: a timer switch hooked up to a light, a cassette player and a water heater. When the timer went off all three would turn on. This worked but wasn't great cause nothing faded in.
I remodeled my bedroom last summer and wanted to replace this alarm with something more sophisticated.
I used a Raspberry Pi to do the following: - At the set alarm time, access my media server and generate a playlist of 10 random songs. Start this playlist and slowly increase the volume. - I bought a separate module to hook up to a lamp that points at where I sleep. This module lets me slowly turn up the brightness of the lamp as the music volume increases.
The water heater is hooked up to a timer in my kitchen now. But I just finished building an arduino based wifi switch, so once I get it integrated, that switch will get turned on 5-10 minutes before the alarm is set to go off and heat my water for coffee.
I built a dashboard for all of this using HTMX. It lets you set the alarm time, snooze, play arbitrary playlists, adjust the light etc. I also added a weather widget and I have a JSON file of all important birthdays in my life, so it tells me whos birthday it is when I go to review the weather.
Something that HN may appreciate, I have it setup so when I ssh into the Pi, I get dropped into a tmux session where an instance of emacs is running with the actual alarm code being executed inside of it. This makes editing and trying the new functions sort of like a lisp machine. You get dropped into emacs and can tweak all the scripts and test them in a sort of live environment (you have to restart the server to update the dashboard but everything else is 'live'). I have a dream of rewriting this so it really is a lisp machine and everything can be `c-x c-e`'d to run but I doubt I'll ever get around to that.
I would also like to integrate motorized blinds and open them up when I wake. I'm still researching this, if anyone has recommendations.
Re: Ask HN: Most interesting tech you built for just yourself?
#513I have a rail line right under my apartment, so I built a small computer vision app running on a Rasperry Pi which records each train passing, and tries to stitch an image of it. It has a frontend at https://trains.jo-m.ch/ . Edit: it's currently raining and the rain drops are disturbing the images a bit.
https://trains.jo-m.ch/#/trains/350
https://trains.jo-m.ch/#/trains/3224
https://trains.jo-m.ch/#/trains/4045
Etc
Re: Ask HN: Most interesting tech you built for just yourself?
#514As a result, I wrote a (Chrome only) Web extension[1], which monkey-patch the WebSocket object, so I could 'plug' or 'unplug' them by simply clicking the extension's icon. So far I'm very happy with it [2], and can finally have multiple tabs of the same page without my 'reference' tab refreshing itself while I'm working on CSS.
[1] https://github.com/MarcMonchablon/toggle-hmr
[2] It gets the job done, even if in some case (such as the Zola static site generator), where I had to put the link to the plugin's code in the index.html, otherwise the code would be injected too late.
Re: Ask HN: Most interesting tech you built for just yourself?
#515Most recently, my partner and I were using Anki to learn country flags but found the user experience to be annoyingly over-engineered and kind of stressful. We just wanted to be able to sit down and go through 5 flashcards while microwaving something or go through 100 in a day. With Anki it always felt like I was messing with some algorithm if I stopped early or didn't do my required number of cards for the day. Plus we were finding it annoying that the flash cards with Anki always seemed sorted. If I was looking at Albania's flag and had no idea about the next one I could guess it was maybe Algeria, etc.
So I built a python app that will tear open .APKG files and extract relevant information (currently, due to the file spec, it's specific to this because the notes are not consistently formatted but could be reused for whatever). It'll unpack and rename the images based on the media file and, in the case of the country flags deck, spit out a JSON file that matches the "challenge" (the image) to the answer.
Then I had ChatGPT build me a simple front end with HTML and Javascript for going through them at random and hosted it on one of my websites for the 2 of us to go through whenever we want. I'm working on doing the same with top-level domains and country codes! Turns out APKG files are a great dataset that happen to just be shoved into a somewhat over-engineered (in my opinion) file format and shoved into a software that, while great, doesn't feel conducive to casual learning where I don't have specific needs or dates the information will be come relevant. I just want to know these things not be a prisoner to them while I learn them.
Re: Ask HN: Most interesting tech you built for just yourself?
#516I thought of a tablet app, but the stakes were too high, so it wound up as a laminated paper. You can read about my design decisions here:
Re: Ask HN: Most interesting tech you built for just yourself?
#517Oh, I think I have a good one. I had an HP-25 calculator as old as myself, and couldn't use it. The original battery pack contained two sealed NiCd cells, which obviously failed many years ago. Most people replaced their NiCd cells with new ones, then with NiMh cells, or even alkaline AA batteries. This was always problematic: newer batteries were slightly larger and never fit well. Also, the power consumption of a c…
Wirelessly charged battery pack. Whhhhhatttttt
Re: Ask HN: Most interesting tech you built for just yourself?
#518Not sure if it counts as tech, but I created a voiceboard for my mother to help her communicate while in hospice. She had a massive stroke and could no longer speak. I thought of a tablet app, but the stakes were too high, so it wound up as a laminated paper. You can read about my design decisions here: https://voiceboard.org
Re: Ask HN: Most interesting tech you built for just yourself?
#519When I was a student there was this power-of-two game on my friend's iPhone that I was literally addicted to. I didn't have an iPhone and eventually the game even disappeared from the AppStore. I missed it very much and my friends jokingly mentioned building a copy just for me. They never got around to it but at some point I thought "maybe I should give it a try?". So I gave it a try with no game dev knowledge and th…
If this is mobile responsive I will probably use it a lot.
EDIT: Works flawlessly on my phone. Wonder if I can host it locally on my Android, so that I don't even need an internet connection...
Re: Ask HN: Most interesting tech you built for just yourself?
#520So I built some hardware to interface with the SeaTalk network, the AIS radio (and a modern GPS) https://github.com/johnboiles/Helm-hardware https://github.com/johnboiles/Helm-firmware
And a Python proxy running on a Pi to pass messages back and forth across the network. https://github.com/johnboiles/NMEAProxy
And an iOS app that could drive my autopilot https://github.com/johnboiles/helm-ios
Since my proxy spoke the NMEA standard, you could also hook up with other apps like iSailor and get all the sensor data + gps + AIS data. https://apps.apple.com/us/app/wärtsilä-isailor/id398456162
To my knowledge, 0 other people have ever used any of this but I've always been proud of it :)