This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var fs = require('fs'); | |
| var readline = require('readline'); | |
| var google = require('googleapis'); | |
| var googleAuth = require('google-auth-library'); | |
| var S = require('string'); | |
| var schedule = require('node-schedule'); | |
| var mqtt = require('mqtt'); | |
| // Based on sample code from https://developers.google.com/google-apps/calendar/quickstart/nodejs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var LightwaveRF = require("lightwaverf"); | |
| var mqtt = require('mqtt'); | |
| var config_lwrf = require("../config/config_lwrf.js"); | |
| var lw = new LightwaveRF({ip:"10.52.2.118"}); | |
| function LWRFController(lw) { | |
| this.timeout = 100; | |
| this.queue = []; | |
| this.ready = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var meshblu = require('meshblu'); | |
| var meshbluJSON = require("./meshblu.json"); | |
| var LightwaveRF = require("lightwaverf"); | |
| // Specifies how you want your message payload to be passed | |
| // from Octoblu to your device | |
| var MESSAGE_SCHEMA = { | |
| type: 'object', | |
| properties: { | |
| roomNumber: { |
NewerOlder