Archive for the 'howto' Category

Stupid Remote v4: TV remote control Web App

Wednesday, June 20th, 2018

tl;dr

Stupid Remote is a web app that controls devices over HDMI CEC and infrared: turning tvs on and off, switching inputs adjusting volume. Customization requires editing simple HTML and JavaScript and uses cec-client and lircd for control.

Stupid Remote v4 has been released, changes include new docs, audited dependencies and working Swagger UI.

(more…)

OpenCV Face Recognition

Tuesday, May 15th, 2018

tl;dr

OpenCV is an Open Source computer vision library that, among other things, can recognize faces, including eyes and smiles.

I set out a few weeks ago to build some prototypes with the library, to get an idea of how it works. I have created 3 prototypes, one that detects faces, one that detects eyes and one that detects smiles. All the projects are on GitHub here and they all use Python 3.

(more…)

3D Printing The first few weeks

Friday, April 20th, 2018

In February I finally got a Prusa i3 Mk3 3D printer that was ordered in December, a very late Xmas gift. I had struggled with a MakerBot Replicator previously, but based on my research, I had high hopes for the Mk3.

This is the story of the first few weeks of 3D printing and what I learned.

(more…)

Filebeat on OpenBSD 6.2

Sunday, March 25th, 2018

I recently installed a new of OpenBSD 6.2 server. As part of that install, I needed to install Filebeat to forward logs to an ELK server (Elasticsearch, Logstash and Kibana).

The process to install and configure are much simpler then previous OpenBSD versions (as covered here) because Go 1.7 is now a simple binary package install.

The following steps assumes you have installed OpenBSD 6.2 and will cover dependent package and Filebeat installation, and configuration of Filebeat.

(more…)

OpenBSD 6.2 VPN Endpoint for iOS and macOS

Sunday, February 25th, 2018

tl;dr

The following instructions describe how to remotely connect to a network over an IPsec / L2TP VPN through an OpenBSD server, using native clients on macOS and iOS.

There are many VPN appliances commercially available that provide a nice UI and often come with an expensive support contract. If you are willing to roll up your sleeves a little and don’t mind using the command line, it is possible to create your own VPN server with OpenBSD.

(more…)

Raspberry Pi Full Screen Browser (Raspbian December 2017)

Sunday, December 10th, 2017

tl;dr

Steps to setup a Raspberry Pi running Raspbian to boot into a full screen web browser, hiding mouse pointer, disabling screen saver. Includes installing additional fonts and putting the browser in kiosk mode.

(more…)

Linux Infrared Control Part 4: Trigger Apps via IR

Monday, December 4th, 2017

tl;dr

Would you like to use a remote control to control your computer? How about using your computer to send remote control signals to your TV or Stereo instead of using the remote?

This is the fourth in a series of posts where I will describe how to use a Raspberry Pi, Raspbian and Linux Infrared Remote Control (Lirc) to receive and send infrared remote control signals. This post will be focused on how to trigger applications and depends on Linux Infrared Control Part 1: Receive IR and Linux Infrared Control Part 2: Send IR.

(more…)

Linux Infrared Control Part 3: Final Hardware

Monday, November 13th, 2017

tl;dr

Would you like to use a remote control to control your computer? How about using your computer to send remote control signals to your TV or Stereo instead of using the remote?

This is the third in a series of posts where I will describe how to use a Raspberry Pi, Raspbian and Linux Infrared Remote Control (Lirc) to receive and send infrared remote control signals. This post will be focused on finalizing the hardware created and depends on Linux Infrared Control Part 1: Receive IR and Linux Infrared Control Part 2: Send IR.

(more…)

Linux Infrared Control Part 2: Send IR

Saturday, November 4th, 2017

tl;dr

Would you like to use a remote control to control your computer? How about using your computer to send remote control signals to your TV or Stereo instead of using the remote?

This is the second in a series of posts where I will describe how to use a Raspberry Pi, Raspbian and Linux Infrared Remote Control (Lirc) to receive and send infrared remote control signals. This post will be focused on sending output and depends on Linux Infrared Control Part 1: Receive IR.

(more…)

Linux Infrared Control Part 1: Receive IR

Sunday, October 29th, 2017

tl;dr

Would you like to use a remote control to control your computer? How about using your computer to send remote control signals to your TV or Stereo instead of using the remote?

This is the first in a series of posts where I will describe how to use a Raspberry Pi, Raspbian and Linux Infrared Remote Control (Lirc) to receive and send infrared remote control signals. This first post will be focused on setup and receiving input.

(more…)