Stuff I'm Up To

Technical Ramblings

Project scoRPIon – Wake-on-WiFi — July 8, 2018

Project scoRPIon – Wake-on-WiFi

A friend setup his home systems to turn on his PC using Amazon Alexa and tasker to trigger a Raspberry Pi to operate a relay and effectively activate the power button.

What a wonderful idea!

I have a host of Raspberry Pi’s, but instead of Alexa I have chosen the Google Home (Assistant) for my voice control.

My PC is located upstairs from my router and connects using 802.11ac WiFi. Being WiFi that rules out using Wake-on-LAN, which I used to do. So using a RPI to trigger a relay is genius.

Continue reading

Advertisements
Node.js v8 on Raspberry Pi Zero — June 27, 2018

Node.js v8 on Raspberry Pi Zero

With Raspbian on my Zero I only get Node v4 in the repository. So How do I get a newer version of Node.js?

If I follow the standard Node instruction for installing from a repository I get:

$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

## Installing the NodeSource Node.js 8.x LTS Carbon repo...

## You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js 4 and later.

So it looks like I must download the tar.xz file.

Continue reading

Raspberry Pi Wifi at boot — June 26, 2018
Raspberry Echo – Alexa — February 21, 2017

Raspberry Echo – Alexa

When the Amazon Echo first came out I was looking at them in earnest, but decided I couldn’t justify the expense for something that I may lose interest in or not really make use of. A friend had an Amazon Echo Dot and combined that with a smart Lightwave RF lighting system in his new apartment I had to admit it was a very nice feature. But still I held back.

Then I discovered that you could install Alexa onto a Raspberry Pi!

As I have more than a few Raspberry Pi’s and a spare, here or there, left over from upgrading others, I thought I’d give it a go.

Continue reading

Raspbian & Realtek 8192eu WiFi — February 19, 2017

Raspbian & Realtek 8192eu WiFi

Probably the best way to get Raspbian up and running over Wifi is to use an out of the box supported Wifi adapter. But as things move on faster Wifi becomes available and not all of the USB adapters are ready to play.

One that I bought recently was one with a Realtek 8192eu chipset. This is supposed to deliver 300Mbps Wifi, but comes at the price of not being natively supported by Raspbian.

I could go install the build essentials and try to compile the driver myself. But that seems like a lot of work.

So a little digging around and I found it’s pretty straight forward to get going and it’s not a problem unique to me. Someone else has already created the necessary drivers all I need to do is install them.

Continue reading

OSMC Installation — September 24, 2016

OSMC Installation

I’ve been a fan and user of OpenELEC on my Raspberry Pi’s for some time. It’s always performed great and was pretty straightforward to install and use. But it seems the developers are struggling to keep up with the releases of Kodi.

This isn’t necessarily a problem. It’s not like I need a new Kodi when the version I have works just fine. But I ran into OSMC and it has a newer version of Kodi and promised to be just as straight forward.

… and you know what? It really was.

Continue reading

Build a Raspberry Pi Media Centre — September 22, 2016

Build a Raspberry Pi Media Centre

Following on from the previous post about setting up a Home Media Client/Server setup I thought I’d put together a “how to” for building your own Raspberry Pi Media Centre with Kodi and a list of ingredients.

Buy a Raspberry Pi SBC

Which one? The fastest and best at the time is the Raspberry Pi 3 Model B. The Pi 2 Model B will do, but why not take on the latest and greatest?

* SBC = Small Board Computer.

Continue reading

Home Media Client/Server — September 21, 2016

Home Media Client/Server

Playing Media

kodi
Kodi

A couple of years ago I decided to get the TV connected to something other than satellite and cable. It seems that in this environment XMBC was the daddy of all things media and a few generations on it’s now called Kodi and is truly an awesome media player.

The way to use Kodi to stream media to the TV over HDMI was either to buy a pre-built Kodi device or build my own using a Raspberry Pi. Don’t let the build your own side of things put you off – it really is more simple than you can imagine. All for under £50 you can build a very capable HD 1080p media player.

  • Raspberry Pi
  • Case for the Raspberry Pi
  • 8GB Micro SD card
  • 2A Micro USB Power Supply (same as your phone uses)
  • HDMI cable
openelec
OpenELEC

You can even buy the SD card preloaded with Kodi so no need to copy it on yourself. That said I chose to download and install OpenELEC (Open Embedded Linux Entertainment Center) which is a pre-made Linux Operating System containing Kodi and ready to go.

Now you can use wireless from the newer Raspberry Pi 3 Model B, which has it built in, or by using a USB adapter with a Model 2 B, I really wouldn’t recommend it. Wi-fi just doesn’t have the bandwidth for full HD in my opinion (unless you run 802.11ac). So get the Pi hooked onto your Ethernet network.

Continue reading