Archive for the 'Linux' 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…)

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…)

Raspberry Pi Full Screen Browser (Raspbian July 2017)

Saturday, July 22nd, 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…)

Creating a SSH Tunnel in Java

Sunday, April 9th, 2017

tl;dr

How to create a SSH tunnel in a Java app from a localhost port through a jump box to a specific port on a server. Allowing a connection to the remote server port as if it was a localhost port.

Examples found online provided only one ‘hop’, not the double ‘hop’ needed. The code below supports 2 hops, but in theory could be used to support any number of hops.

(more…)

Raspberry Pi Full Screen Browser (Raspbian November 2016)

Thursday, December 29th, 2016

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…)