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
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
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.
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.
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…
Found a 60x60 LED panel for 20dkk in the thrift store last week. Found an LED driver in the trash a couple days later. Just had to adjust the output power and change the power connector. Who knows, dali control might be broken, but I’m not living in an office. Think it’s gonna be my new work desk light.
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
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.
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.
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.
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?
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 subdirectoriesfor file in ./*/*.mp4; doif[[ -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"fidone
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.