Media - diy
I haven't done anything with the actual ESP32/physical button thing yet, but I got the software side of my "remotely turn the Raspberry Pi displays on and off" project done! The core is a very simple Node.js service that runs on the Pis directly (https://github.com/VirtualWolf/hyperpixel-brightness-control) and subscribes to an MQTT topic that contains messages indicating whether the display should be on or off, then writes directly to the GPIO pin to control the display brightness. I updated my Pi Home Dashboard (https://github.com/VirtualWolf/pi-home-dashboard) to add an HTTP endpoint that'll send messages to that same topic the display-attached Pis are subscribed to, and the shortcuts in the video are simply calling that endpoint. I'm using the "retain" MQTT flag for the messages sent to the display status topic so even if the Pis reboot for whatever reason, the last known state is what they'll start up with again when they come up. And finally, instead of a cronjob set on each individual Pi to automatically turn the displays off at midnight and back on at 8am, I've got one running on the main Raspberry Pi 4B that runs the MQTT broker that just sends the required message to the MQTT topic and the Pis with the display attached dutifully turn on or off as necessary.
Posted on 11 September 2022, 11:36
I'd wanted to order a handful more ESP32 microcontrollers from Adafruit a few months ago, but they were entirely out of stock so I put my email address in to be notified when they were available again. A couple of weeks ago I got an email saying "The Feather HUZZAH32 is back in stock! There are 2997 available." I... think that might be enough, haha. I ordered three and they arrived today. One of the things I want to do is to rig up a physical button that will turn off the LCD displays that are attached to the Raspberry Pis in the lounge room which display the current temperature inside and out, as well as the time. Even though we run them at a significantly-lower-than-maximum brightness, they're still very bright when we turn all the lights off when we're going to sleep. They automatically turn off at midnight and come on at 8am, but sometimes I want to turn them off earlier, and also occasionally I'm up before 8 in the morning and instead of the temperature and time I'm greeted with black displays. Should be a fun little project!
Posted on 6 September 2022, 21:50
That was a HELLA productive day off, look at my pedalboard! Everything is so neat and tidy, I'm fucking STOKED at how well it came together.
Posted on 5 September 2022, 17:09
It's here! 🤘🏻 And it fits PERFECTLY on the little stand I made!
Posted on 2 August 2022, 14:43
Beanie loves sitting up on the arm of the lounge (for example https://virtualwolf.org/media/posts/1809) but he also happily just jumps straight down from it to the ground even though we got him a dog ramp (https://virtualwolf.org/media/posts/1944). So this weekend Kristina made a little barricade on the lounge and sides for the ramp so he's only got one way to get up and down. 😁
Posted on 31 July 2022, 15:50
I don't really have a decent place to keep the new guitar amp I'm getting because it's about 2cm too deep to fit sideways beside my desk so I did some DIY today and built a little platform for it to sit above the power board in the corner!
Posted on 30 July 2022, 14:54
I made an LED go blinky and fadey! (This is attached to my ESP32 running MicroPython because I'm more familiar with that than C++ on an Arduino.)
Posted on 17 July 2022, 11:41
My department at work had another one of our quarterly "refresh days" (a free day off without having to use up a day of annual leave), so I spent part of the day putting in some seals to fix the last of the draughty doors, and another part making a huge serve of Quorn-based tomato pasta sauce to have for lunches. Tons of onion, tons of garlic. 👌🏻
Posted on 4 July 2022, 17:52
I'm pretty sure this is the first circuit I've put together since I had one of those 100-in-1 electronic project kits when I was a kid! 😁
Posted on 25 June 2022, 10:51
Today I painted up my X-wing board so it looks like it's an actual star field, rather than just being plain black. Pretty stoked with the results!
Posted on 8 May 2022, 17:49