Skip to content

Instantly share code, notes, and snippets.

tp-link Tapo TC70

This is the no-frills description for the stuff that really matters.

Tapo TC70 is pan-and-tilt (PTZ) camera.

TC70(EU) Ver 3.20 is sold as of Mid-2024 for 30 EUR in retail stores in Germany. This page is about this version. Earlier versions of the C200 used a Realtek SoC, completely different hardware.

Connectivity

The sad state of radio controlled alarm clocks in Germany as of 2024

There used to be high-quality German radio controlled alarm clocks from brands like JUNGHANS, using frog design. Which didn't fall over when you touched it.

image

Why is there not one quality product with great design on the market anymore, just super cheap looking products imported from Asia and sold by companies that are not well known household brands?

Today the only radio controlled alarm clocks seem to come from Asia, probably designed there as well. Sold under no or dead brands.

Wayland transition notes for X11 users

Please comment below to contribute. Thanks!

X11 concept Wayland concept Notes
"Window" "Top-level Shell Surface" An entire window, including window decorations
X11 (the specfication) Wayland (the protocols) Neither X11 nor Wayland are binaries that can be installed
Xorg, one universally shared default implementation Multiple competing Wayland compositors Unfortunately there is no universally used single Wayland compositor; apparently every desktop environment does its own, and as a result what works in one may not work in another
export DISPLAY=... export WAYLAND_DISPLAY=... How to know which WAYLAND_DISPLAY one needs to export? The sockets (and their names) should be located in /run/user/*. If WAYLAND_SOCKET is detected, the client will prefer to use the socket provided using that environment variable.

Raspberry Pi 5

Raspberry Pi OS Wayland based desktop

  • Performance is acceptable for a desktop on a Pi for the first time, including 1080p YouTube in Chromium
  • Uses Wayfire window manager with Wayland backend by default but can be switched to Xorg with Openbox
  • wfrespawn is used to restart processes like the panel and the desktop (pcmanfm)
  • Screen recording works with sudo apt install wf-recorder. https://github.com/ammen99/wf-recorder is like screen recording with ffmpeg and it really "just works"! sudo apt install wf-recorder -a also records audio.
  • Screen sharing with Webex does not work in Chromium, desplite Wayland and Pipewire being there
  • Hence, how can I switch from Wayland to a X11 session? --> Using the Raspberry Pi Software Configuration Tool (raspi-config) under "6 Advanced Options" --> System then uses Openbox after rebooting. Seems to then use /usr/share/xsessions/LXDE-pi-x.desktop which in turn runs /usr/bin/startlxde-pi which in turn runs `exec /usr/bin/lxsession -s L

DJI Mini 4 Pro Review

Pros

Watch the reviews, they usually show the pros. Key ones:

  • Size: Can actually carry this around casually
  • 360 degrees obstacle avoidance (except at night and in sport mode)
  • Great tracking modes
  • C0 certified

Lubuntu Live ISO session with helloDesktop key components

This is purely for experimentation and development. It gives you a partial helloDesktop experience on Linux including a work-in-progress from-scratch rewrite of the Filer. For the full experience, use helloSystem.

image

Instructions

  • Run Lubuntu 22.04 Live ISO (on real hardware or in a virtual machine), don't install
  • From the Live session, run the script below
@probonopd
probonopd / spur1.md
Last active February 13, 2024 21:25

Märklin Spur 1 digitalisieren

Update 2024: Hier hat es jemand gemacht (mit Fotos): https://www.stummiforum.de/t160883f47-Digitalisierung-M-rklin-BR-aus-Startpackung.html (ESU 51965 + Decoder in Märklin BR 80 aus Startpackung 5500)

Mit Märklin-Bordmitteln sind die Preise für das Unterfangen, 3 Spur 1 Loks aus dem 80ern zu digitalisieren und digital zu fahren, im Jahr 2024 prohibitiv (in Summe wohl ca. 2.000 EUR). Mit Open Source und Fremdhardware ginge es wohl locker für ein Fünftel(!) davon. Wenn das jemand von Märklin liest: Da habt ihr noch eine Marktlücke (Stichwort: 5A Anschlussbox für die Spur 1 und erschwingliche Nachrüstsätze inkl. Permantentmagneten und Lokdecodern für die Spur 1). Ist diese Marktlücke nicht groß genug um lukrativ zu sein?

Lokomotiven

Aus den 80ern:

ESP32-S2 CircuitPython on S2 Mini board

On helloSystem, get CircuitPython from https://circuitpython.org/board/lolin_s2_mini/ and flash with:

python3 -m esptool  --after hard_reset write_flash  0x00000  '/tmp/user/_home_user_Downloads_tinyuf2-lolin_s2_mini-*.zip/combined.bin'

Replug the device, a S2MINIBOOT disk drive will be mounted on the desktop.