Stock photo of two big fans, from https://www.pexels.com/photo/blue-plastic-bucket-on-brown-wooden-wall-5502720/

Let Domoticz Tell You when Your Bedroom has been Ventilated

Even though my instance of the Domoticz home automation system has been running for several years now, I only ever used its dashboard occasionally to check on the power consumption of my electrical appliances. The recent addition of a Z-Wave reed contact to my bedroom window, however, made it possible to notify me when the room needed ventilation. And when the window has been open for long enough.

#Software

Stock photo of a five-strike symbol, from https://www.pexels.com/photo/5-strike-symbol-1010973/

Reviving the HTML-Access Counter

In the early days of the WWW, any modest webpage had a counter showing how many visitors it had attracted so far. Not for tracking customer journeys or ad revenues, but rather just for fun.

#Software

Stock photo of a smartphone, from https://www.pexels.com/photo/white-smartphone-1851415/

A Handy Pushover Console Script

Several years ago, I had purchased a one-off licence to use the Pushover push notification service, so a home automation suite based on Domoticz could inform me of unexpected events. Digging a bit deeper into the API, I found that it can be readily used to notify me of (important) system events on Linux hosts.

#Software

Stock photo of a motherboard, from https://www.pexels.com/photo/black-and-gray-motherboard-2582937/

Sniffing the SMBus

There's plenty of ways to add a temperature display to a desktop computer. But capturing temperature readings from the system management bus (SMBus) isn't among the widely used techniques. As the SMBus is very similar to I2C in its nature, technically it shouldn't be too complicated to monitor (and decode) the data exchange on the board. Unfortunately, there's a bunch of challenges included here, as the hardware I2C on many microcontroller boards will only capture traffic directed to a single slave address. Here's my workaround, showing how to use a Teensy 2.0 to capture the data.

#Hardware #Software

Stock photo of a program code, from https://www.pexels.com/photo/blur-bright-business-codes-207580/

One-time temporary directories under Linux

Every so often I'm in need of a temporary directory. May it be to clone some git repo in order to copy a bunch of files, or to compile some modified source code without impacting my main build. Here's a little bash script I frequently use to create such a directory and wipe it after its (one-time) use.

#Software