Skip to main content

falkp.no/blog

Tag: Python

BlueDo - Bluetooth proximity automation

Lock your desktop, mute music or run any other command when leaving your PC. There are dozens of apps like this. This one just aims to make it beautiful, modern and easy.

logo

Blueproximity was a program to do this, but it never worked great for me, and has since rottened. This project was inspired, but I trid making it Gnome-ish. That means simple, limited options, but does the job.

Check Commander - Curses interface for Checkmk

A curses interface for checkmk. I named it Checkmk Commander, but Check Commander is easier to say.

logo

I use Checkmk daily. A few common tasks are acknowledging, downtiming and reinventorizing hosts and services. In the web UI this takes lots of clicks and time. So I wrote this client to optimize my workflow.

check commander screenshot

Example workflow in web UI:

  • A new service has been detected on host1, thus I have to reinventorize it.
  • Click on host name.
  • Click WATO
  • Click services
  • Click “fix all missing/vanished”, wait.
  • Click “1 change”
  • Click “Activate affected”, wait.

The same in Check Commander:

Ninjabox

# Overview

Untrickable laser alarm, with an easy-to-knock-out fusebox.

A tribute to (the alarms in) Mark of the Ninja.

Fusebox

# Background

In the game you have to sneak into buildings with high tech alarms. Some of the laser traps can be deactivated by knocking out the fuse box with a dart.

So I made a laser alarm with a fusebox that can be knocked out. This is mainly to keep kids occupied, and motivated to practice throwing.

Car-logger - part 3

# Overview

A self-hosted, real-time, inexpensive open source car tracker built with Raspberry Pi Zero W, Nextcloud, and optionally Home Assistant.

Plan

I’ve had a few earlier tries at car position logging, read those first if you’re interested: Car logger 2.

# Background

Goal: logging and sharing location of my non-connected car, for practicality and fun.

Earlier tries was using a phone, but that had problems. No Android phone will switch back on if it runs out of power without manual intervention.

Volumio based radio with NFC

# Overview

Volumio based internet radio, controlled by NFC, built in an old speaker.

Complete speaker

# Background

Inspired by the extreemly good looking Spotify Box and QR based systems like Audiosphere, I wanted to make something similar for my kids. I’ve earlier built a few radios based on small, cheap bluetooth speakers like music angel, but wanted something with better sound this time.

# Prototype

QR are fast and cheap, so I made a quick prototype. It turned out they are unreliable when there’s no display to give feedback on how the camera sees them. Both lighting and focus was a problem.