-
Creating circular speaker grill holes in Freecad
February 11, 2024: Creating a circular hole pattern
Tags: freecad, cad, speaker, holes, circular, and pattern
I found it surprisingly difficult to create a circular speaker grill pattern in [Freecad](https://www.freecad.org/. Filling a diameter with many small holes was not easily achieved by standard tools. I also tried to use Lattice2 Workbench, to no avail. I finally found a solution using a Python script.
-
Reading mender storage database
December 18, 2023: Getting to know your mender-store
Tags: mender, linux, lmdb, yocto, and menderartifact
I recently had to debug how mender finds out what you are actually running via the
mender show-artifact
command. I always thought that it just reads the artifact_info/etc/mender/artifact_info file and outputs whatever it contains.Turns out that this is NOT, or no longer the case if you use mender 3 and upwards.
-
Reverse engineering the protocol of a BLE lamp to integrate it in HomeAssistant
January 15, 2023: Creating a HACS integration for a lamp in HomeAssistant
Tags: bluetooth, reverse-engineering, home-assistant, beurer, and tl100
I recently acquired a daylightAlso known as a SAD lamp lamp through a reward program from my health insurer.
It is the Beurer TL100 Daylight therapy lamp, it has bluetooth and can be controlled by the Beurer LightUp app.
I have HomeAssistant running at home and naturally wanted to integrate the lamp into my setup, so that I could control it via the Web. -
Notes on Using ROOTFS_POSTPROCESS_COMMAND in Yocto
December 23, 2022: Some lessons learned in removing unwanted files
Tags: yocto, linux, bitbake, rootfs, security, and networking
If you are using yocto, you might want to add/remove some files after you have built all other packages.
Here is how you can do that.