This week I read about homebridge. This immediately peaked my interest in my adventures with the Raspberry Pi. I wonder if I could ask siri to flash the led? I suppose the easiest way is to see if we can get homebridge setup based on the readme.md.
sudo npm install -g homebridge
After a few seconds I ran the command
homebridge and just as . . .
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 example . . .
Drawing a random Homer ornament, C_LOG_11
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(); app.get('/', function (req, . . .
Using Node to flash my led, C_LOG_9
Tonight I want to get an LED to flash via nodejs. After quick google search I found a package with a small guide.
After setting things up and attempting to run the
quick2wire-gpio-admin it said it was already setup?
Install the package and get create the sample script
npm install pi-gpio
var gpio = require( . . .
Shine you crazy LED, C_LOG_8
Yesterday I took the day off from raspberry pi and decorated our Christmas tree. Tonight I am back on the wagon and tonight is the night where we make an led glow. The first process is to lean what is this gpio thing about. Ok general purpose input and output that sounds like exactly what we need now to the basic basic example can we get to . . .
Today was a day of family and a day of Christmas tree decoration.
Leave you with Opie v Bart