Recent submissions

Comment · 1 year ago
The driver supports alternate keycode mappings specifically for that reason, but before reading your comment I was unaware of the motivation behind reversing the pulse order. Thanks!
Comment · 1 year ago
Nice one! Using an ESP32 is a much more economical choice these days, but well, I really wanted to write a Linux kernel driver ;-)
Comment · 1 year ago
Unfortunately only a handful of subystem APIs have Rust bindings right now, so I did not get far enough to write up anything meaningful. Maybe next year support has matured to make a reimplementation in Rust feasible; then I will happily write about my experiences :-)
Comment · 1 year ago
Yes, noise is a problem, which unfortunately makes the lamp quite unpopular with my girlfriend ;-) Some is indeed coming from the folding mechanism itself, but the majority of noise is actually caused by the stepper motor, despite limiting the current to the necessary minimum. One could try to switch to a more advanced (i.e. silent) stepper motor driver than the A4988 (I mainly picked that one because ESPHome already has a driver for it), or use a servo motor instead.
Comment · 1 year ago
Comment · 1 year ago
Part of the reason for automating it was that I wanted to integrate the lamp into my home theater setup: When the movie starts, the lamp slowly closes and synchronously dims out (guests always react with a smile to this). Pressing the pause button dims it up again and gives one just enough light to find the bathroom ;-)
Comment · 1 year ago
I have converted the timelapse to H.264/AAC, hope this plays everywhere now.
Comment · 1 year ago
Thanks for letting me know about the video playback issue, I used the following script to create the timelapse:

  ffmpeg \
   -pattern_type glob \
   -framerate 30 \
   -i "img/*.JPG" \
   -i "star_wars_style_march.mp3" \
   -s:v 1920x1080 \
   -c:a libopus \
   -c:v vp9 \
   -shortest \
   deathstar_timelapse.webm
I actually thought that VP9 and Opus are well supported everywhere by now, but maybe that is not the case…

Regarding GitLab, as a general rule, I try to avoid products dominating the market, and I quite like their OSS policy…

Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton