Mark Coleman

Running script forever with foreverjs

Reboot! C_LOG_26

My next challenge is to figure out how to make sure our node script is running on boot of the raspberry pi.

Simplified Script
This is our simplified script we want to run at system boot.

var wpi = require('wiring-pi');

var express = require('express');
var app = express();

wpi. . . .

Read More

December 26, 2015

Controlling the Flow

Relay tied into an extension cord, C_LOG_23

Now that I have the relay hooked up I was able to make the small LEDs on the relay flash it is now time to use it to switch power. Before we get started I would like to state I really don't know what I am doing but do have some basic electrical experience and need to state we are now dealing with 120v which is dangerous. Please be careful . . .

Read More

December 23, 2015

Wiring up a Relay

C_LOG_21

A couple weeks ago I purchased a SunFounder 2channel 5v relay so I can use the Pi to control a device remotely (I am looking at you Mr. Christmas Tree)

The Relay
Silvrback blog image

This was the first time pulling it out of the box and immediately I was confused on how to hook this thing up as there were no diagrams or instructions. After . . .

Read More

December 20, 2015

Homebridge -> LED

C_LOG_16

Tonight was a big night. I had the goal of using home kit to turn on and off the LED attached to the raspberry pi. This was accomplished by the open source project homebridge which I setup previously on my iMac. The documentation on creating a plugin is is sparse but I was able to piece together a working accessory that worked with . . .

Read More

December 15, 2015

Pump up the Pi

Migrating to a larger microSd Card, C_LOG_15

In my pi adventures I think it is time to swap out to a larger microSd card. I was able to pick up a class 10 32gb microSd card for about $12 dollars.

Before

Silvrback blog image
about 3.6gb free on the stock sd card that was in my kit


Since I am late to this game off to google to find a suitable guide. This describes . . .

Read More

December 14, 2015

Trying out Wiring Pi

Write to that GPIO real good, C_LOG_12

Previously I tried out the pi-gpio package to get my led to flash, but wanted to explore other options. After a bit of searching around the internets I stumbled upon wiringPi and a corresponding node wrapper.

The documentation didn't have any apparent quick start examples but after reading a few examples. I clobbered together an . . .

Read More

December 11, 2015

Webstorm -> Raspberry

Deploy to Raspberry from WebStorm C_LOG_10

I have been using nano for my early development musing for the raspberry pi now it is time to find another way. I like WebStorm so let's see how I can deploy a small express app to the raspberry.

Create the app

from the guide on expressjs

var express = require('express');

var app = express(); . . .

Read More

December 09, 2015

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!