Tech

@tech

Hardware, software, DIY, modding...

Tech @tech 22 Nov 2026, at 11:53 Tech @tech

Tech @tech 4 Nov 2026, at 23:48
A cheaply packaged 80 LED battery powered string light.
String light basic 80 LED and timer: Warm white light. For indoor and outdoor use. Type: CB-3x1.5(C)-80. Battery: 3 x AA (not included). Timer: 8 hours on / 16 hours off. Total Volt/Watt: 4.5V/0.75W Total Volt: DC 4.5V. Cabel length: 50 cm. Total length: 4.45 m. Bulb distance: 5 cm.

Found some very cheap (15DKK) battery powered LED string lights. I’m probably gonna mod them to run off of a 5v supply, but what kinds of battery life might we expect if we used it as is?

Read More
On power consumption avg: 35 mA
Off power consumption avg: 0.74 mA

It’s pretty neat to have a proper power meter. Though I think I might have had a somewhat high resistance connection somewhere. But assuming 3.6 v (nimh batteries) and that I haven’t messed up the measurements too badly:

  • Average on power consumption: 35 mA
  • Average off power consumption: 0.74 mA

Now that would be 0.13 W at those 3.6 v… Which is a lot less than the stated 0.75 W… Hm. Anyways, that gives 12.2 mA average consumption across its on/off cycle. Using 1900 mAh rechargable batteries, that gives us almost 6.5 days. So I guess you could put it up in the office and take the batteries home to recharge every weekend. But for any long term installation, yea, I’d replace with wall power…

Now this assumes a constant 3.6v, so in practice it’ll likely last longer. Now if we assumed the 0.75W instead, it would be more like 9 hours, which would be completely unusable.

Also, while not super significant in the scope of what the LEDs consume, that 0.74 mA current consumption while off is surprisingly bad for a battery powered device. Either that or the standards I’ve set are too high :p


Tech @tech 22 Nov 2026, at 11:53
Two circuit boards are soldered together. A USB-C socket and a constant-current regulator. It’s a mediocre job.
The assembly is contained within heat-shrink tubing. It’s primitive but functional.

Assembled a little circuit with a current regulator for running them more permanently off of USB power. Seems to work nicely.

Read More

Notes for anyone further interested:

  • The current regulator is a CN5711. It’s operation mode is linear, so it does heat up a bit. Not a problem at the 80mA I’ve set, but worth keeping in mind. For maximum efficiency, a buck regulator with a low value resistor would be better.
  • Remember to get USB-C sockets with the CC resistors for requesting 5V. Only being able to run off of old USB A supplies just leads to unneccesary confusion.
  • Don’t forget your order of assembly. Threading 80 LEDs through heat shrink is boring.
Tech @tech 17 Nov 2026, at 23:17

I just want a picture of a god damn hotdog

I’ve been trying to set up some kind of in-home streaming speaker system for the past two evenings and just none of it works??? Have I lost touch?

Read More

I find a 3rd gen squeezebox in the thrift store. Neat. Try setting up Music Assistant with it from a pretty regular containerized Home Assistant setup. Doesn’t show up as a player - oh well, the documentation says there’s only partial support. Also it starts rebooting at random. Wuh oh. Online forums suggest bad caps. It is from around the capacitor plague, so I guess that checks out (also I open it up and the wifi antennas have somehow rusted???).

Okay, so I set up a raspberry pi with hifiberry os (and a HAT i found in the trash), to try and get it to work. Still doesn’t show up as a squeezebox device, but does appear as both sendspin and airplay devices. Progress? Well streaming doesn’t work, silence or errors out. Can stream from jellyfin using the extension though.

Okay, so the internet says hifiberry os does not work well with music assistant. Lets try picoreplayer instead then. Looks to be the most widely adopted and supported. Well I’m using a Pi 3 A+, so no inbuilt ethernet - it takes me a while to discover that usb ethernet adapters must be explicitly enabled on boot. Okay got that fixed.

And now it boots, except it still doesn’t show up in music assistant, and now I’m doubting if there’s some issue with the network bridging I’m doing.. I can make it show up as an airplay device. Though any stream fails to start… I should go to bed.

Tech @tech 8 Nov 2026, at 22:09

Three Sony DVCAM tapes

… well shit, I guess I need to find a DVCAM deck now…

Tech @tech 3 Nov 2026, at 20:40

About switching those new matter-based ikea smart bulbs into zigbee mode

So I went to ikea to discover they had switched to matter for all their smart bulbs and had sold off almost all their older zigbee stuff. But! You can switch those back to zigbee for legacy support right? Well there’s a reddit thread and a github issue about it. And it does seem to work: Power cycle 6 times (from on, switch the power 12 times) to reset the device (blinks warm white). Power cycle 12 times (from on, switch the power 24 times) to throw it into zigbee pairing mode (blinks cold white). If using zha, it’ll currently show up without a name or manufacturer, but brightness and color temp works.

If support doesn’t improve, it might be time to add a matter antenna to the HA setup…

Tech @tech 31 Oct 2026, at 00:03

A big conference webcam. It appears to have been ripped off of its tilt/yaw arm.

I found the webcam off a conference setup in the trash. Looks like it might have been violently removed from where it was installed. The cable hanging off it has had its isolation sliced through entirely in a few places, though that might have happened from motion in use. The pan and tilt motors are gone, but it might still work or at least provide an interesting dissasembly.

Read More
A scuffed up six-pin connector besides a ripped of ground wire.

Red, white, green black wires on the loose connector. Yea pretty good chance that’s USB. Soldered on a cable to test and yup, it just works, even the zoom. The autofocus and exposure seems to work well and feels much more like a digital camera than a webcam. Maybe the image quality shows a bit of age. Oh well.

A somewhat clear image of my desk.
The same view but zoomed in a bit.

The main board inside is branded logitech. I’ll take some pictures of the insides next time I open it up. I think my plans for it is just 3d printing an 1/4" 20 adapter and some place to mount a usb socket.

Tech @tech 22 Sept 2026, at 23:28 Tech @tech

Tech @tech 10 Sept 2026, at 22:04

Working on little patch panels for my work desks

A d-series 4 port patch panel balancing under a window sill.
Sketching out a case in freeCAD. The lines are as straight as me.
Panel case 3D model front.
Panel case 3D model back.

The idea is to minimize any cable clutter on the desks while making it easier to set up a device or tool. So if I need to use a scanner, I can pull it from its drawer where it’s packed with a power and usb cable, and just plug it in.


Tech @tech 11 Sept 2026, at 22:01
The assembled patch panel box.
The patch panel used to connect a scanner and drawing pad.

Yea something like that. Need a clamp to keep it in place though.


Tech @tech 22 Sept 2026, at 23:28
The box painted and clamped down.
A 10 inch rack panel held underneath a monitor.

Found a tiny table clamp. It works well and looks super clean.

Also I’m pivoting. Literally. I realized the whole point of my workdesk monitor is being able to pivot it in front and to the side. That’s not gonna work with a bunch of cables anchored to the desk. Now how to mount this beneath the monitor safely… I first considered mounting to some plastic tabs on the back, but i worry that would make for too weak a structure… Maybe shim the vesa mount?

Tech @tech 20 Sept 2026, at 01:56 Tech @tech

Tech @tech 18 Sept 2026, at 02:17

I’ve been backing up youtube videos from a select few channels for reasons for quite a while now, though I never got around making them actually easy to watch. It feels very silly to have the files available locally and still stream them from an unreliable service. So I’m gonna give Tube Archivist a try.

Read More

I of course don’t want to redownload everything, but in my infinite wisdom, I decided to remove the youtube video IDs from the file names, which is like the one thing you need for importing existing files. But at least I have the original URL saved in the file metadata so, if you’re in the same situation, you could do something similar to this using ffmpeg:

#!/bin/bash
mkdir -p out
# mp4 files are located in channel subdirectories
for file in ./*/*.mp4; do 
    if [[ -f "$file" ]]; then
        #Extract file name
        dirname="${file%/*}/"
        basename="${file:${#dirname}}"
        # Extract file metadata with ffmpeg
        ffmpeg -i "$file" -f ffmetadata meta.txt
        # grep video id, trim the newline and select the last 11 characters (IDs are always this length)
        vidid=$(grep -oP 'watch\?v\\=([A-Za-z0-9_-]{11})' meta.txt | tr -d '\n' | tail -c 11)
        rm meta.txt
        # Rename into out directory, as ta expects everything flat
        mv "$file" "out/${basename%.*}[$vidid].mp4"
    fi
done

Do note that this works, but it’s not well written. The video id extraction thing is especially … off. I just don’t get along with regex things outside, well, I don’t get along with anything pattern matching anywhere tbh.


Tech @tech 18 Sept 2026, at 20:07

Oh I could of course just have done

vidid=$(grep 'comment=' meta.txt | tr -d '\n' | tail -c 11)

instead… Which would also avoid getting a false video ID from a link in the description. Ask me how I know.


Tech @tech 20 Sept 2026, at 01:56
A bunch of truenas emails of storage quota alerts being set and cleared repeatedly.

It ingests through a directory in the application data… On the nvme disk.