cleverblog.pl

Practical engineering notes from real production work.

Linux, Raspberry Pi and home automation — verified in production.

Changing the category automatically opens the selected category.

Latest articles

.NET

Debugging TargetParameterCountException in .NET: hidden indexer in IReadOnlyList<T>

When .NET reflection throws "Parameter count mismatch", the real cause may be an IReadOnlyList<T> indexer. Learn how to find and fix it.

.NET

Idempotency Isn't Enough: Three Retry Bugs in Pipelines with Retrying

Even with stable IDs, unique constraints and retries, a pipeline can become inconsistent after a crash. Learn how to protect artifacts and task order.

Home Assistant · Linux

Flashing the CC2652P Chip Using CH9102X

Flash the CC2652P coordinator with a CH9102X USB-Serial adapter for Zigbee2Mqtt. A step-by-step guide to updating the firmware.

Linux

File Permissions in Linux (chmod)

Learn how to change file and directory permissions in Linux with chmod, using symbolic, numeric, recursive and bulk permission methods.

Linux

Managing systemd services in Linux

Learn how to start, stop and restart Linux services with systemctl, service and /etc/init.d scripts. Administrator privileges are required.

Linux

Adding your own systemd service in Linux

Learn how to add a Linux service with systemd and systemctl, then enable it to start automatically at boot. Administrator privileges are required.

Linux

Viewing logs in Linux (systemctl and journalctl)

Learn how to view Linux process logs with systemctl status and journalctl, including full logs. Administrator privileges are required.

Linux

Checking the file system on the next reboot (fsck)

Learn how to force fsck at the next reboot and configure regular filesystem checks in Linux using tune2fs.

Linux

Copying files over SSH (scp)

Learn how to copy files over SSH with SCP: from your computer to a server, back again, or directly between two Linux servers.

Raspberry Pi

Programming and Flashing CC2531 Without a Cable Using Raspberry Pi

Flash a CC2531 using only a Raspberry Pi, with no CC Debugger, UART cable or ESP. Works with any CC2531 device, including EBYTE E18-2G4U04B PA.

Domoticz

Integrating Domoticz with a Printer

Manage a system printer with scripts that send printer status to Domoticz and clear the system print queue when needed.

Domoticz

Domoticz Integration with Xiaomi Mi Temperature & Humidity Monitor

Send Xiaomi thermometer data to Domoticz automatically, including temperature, humidity and battery level.