Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

rush2sk8/Intel-Edison-PS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intel Edison Pub/Sub Network

This repo contains all the information necessary to setup and create a publish/subscribe network for Intel Edison boards, and monitor them.

Usage

const MasterNodeConnection = require('./MasterNodeConnection.js')

const master = new MasterNodeConnection('ip', port, 'light:temp', 'button:light', ()=>{})

master.startAutomaticDiscovery()

Each user will be provisioned with what sensors they have and what they want delimited by a colon. The above snippet initializes a node with the sensors light & temp, while it wants to subscribe to any node with button or light.