My next challenge is to figure out how to make sure our node script is running on boot of the raspberry pi.
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. . . .
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 . . .
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)
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 . . .
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 . . .
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.
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 . . .
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 . . .
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.
from the guide on expressjs
var express = require('express'); var app = express(); . . .
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.