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, security researcher.

Contact

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

Hey Mycroft, Where Is the International Space Station?
Easy
  • 1,834
  • 37

Full instructions

Developing my first skill with the Mycroft.ai open source voice assistant on a Raspberry Pi 3 - aka Picroft!

Setup SQL Anywhere on Raspberry Pi
Easy
  • 186
  • 3

Protip

Setup of SQL Anywhere on Raspberry Pi to allow collecting and processing sensor data offline on the edge, plus synchronizing when online.

Sound Detector with Visual Alerts
Easy
  • 2,057
  • 3

Full instructions

Create a WiFi-enabled sound detector that sends your phone notifications using Prowl and Python!

Measure Plant Growth
Easy
  • 1,124
  • 16

Find out how much plants grow without killing the plant.

How to Add Alexa to a Raspberry Pi
Easy
  • 2,453
  • 22

Full instructions

Solution that allows turning any Linux-based device into an Amazon Echo.

Shoe Box RetroPie Console
Easy
  • 699
  • 10

Full instructions

A RetroPie install on a Raspberry Pi Zero W with an Arcade Bonnet from Adafruit all packed in a shoe box decorated with neon duct tape.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login