Things used in this project

Hardware components:
Pi 3 02
Raspberry Pi 3 Model B
female
×1
09590 01
LED (generic)
×1
11026 02
Jumper wires (generic)
×1
Software apps and online services:
1 (1) uuki6aifg9
beame.io beame-insta-ssl

Schematics

Pin Connections
Raspberry pins wad1hjthys

Code

sample node gpio serverJavaScript
this is a basic server that provides on /off of a led
var http = require('http');
var url = require('url');
var Gpio = require('onoff').Gpio;

var led = new Gpio(14, 'out');

http.createServer(function (req, res) {

  res.writeHead(200, {'Content-Type': 'text/html'});
  var command = url.parse(req.url).pathname.slice(1);
  switch(command) {
    case "on":
      led.writeSync(1);
      res.end("It's ON");
      break;
    case "off":
      led.writeSync(0);
      res.end("It's OFF");
      break;
    default:
      res.end('Hello? yes, this is pi!');
  }

}).listen(1337);
console.log("Our on off server is listenting on port 1334");
beame-sdk
this is the core sdk that is used in beame-insta-ssl
expose your device via SSL/TLS
Make your device publicly accessible.

Credits

13076567 10153694447819151 682718389807829598 n
Zeev's Glozman

developer, engineer, hacker.

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Using Android Phone as Raspberry Pi's Display
Easy
  • 370
  • 6

Full instructions

Using Android Phone as Raspberry Pi's display via SSH through VNC Viewer.

Controlling Raspberry Pi's Terminal Using Android Phone
Easy
  • 611
  • 8

Full instructions

Controlling the terminal window of the Raspberry Pi 3 using Android Phone via SSH.

PIR Motion Sensor with Raspberry Pi
Easy
  • 530
  • 10

Protip

Quick project to interface PIR sensor to Raspberry Pi.

SMART HOME SECURITY SYSTEM
Easy
  • 2,151
  • 16

Full instructions

Detects intrusion and notifies house owner. The owner remotely watches the house and if any theft is suspected will turn on the buzzer.

Boost Your Google Home With Prota OS for RPi
Easy
  • 1,993
  • 8

Full instructions

Extend your Google Home features to smart light, smart speakers, smart cam and smart appliances with those DIY tricks based on Raspberry Pi.

Simple Room Monitoring Project Using Raspberry Pi + Cayenne
Easy
  • 326
  • 3

It's IoT build night at Hexlab Makerspace! Tonight we are building a simple room monitoring device.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Feedback