From 22b34ba612161370817fe0bfd7a4a2126d07ee4e Mon Sep 17 00:00:00 2001 From: Erick Hitter <services@ethitter.com> Date: Fri, 16 Dec 2016 19:14:38 -0800 Subject: [PATCH] Remove or disable Dash-specific bits --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 2aac165..0c3fd9c 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ * LIBRARIES */ -var dashButton = require( 'node-dash-button' ); + var request = require( 'request' ); /** @@ -16,9 +16,9 @@ var config = require( './config.json' ); Object.keys( config.buttons ).forEach( function( index ) { var buttonConfig = config.buttons[index]; - var button = dashButton( buttonConfig.mac, config.arp_interface ); +// var button = dashButton( buttonConfig.mac, config.arp_interface ); - button.on( 'detected', buttonActivated ); +// button.on( 'detected', buttonActivated ); } ); var homeAssistantApiBase = config.home_assistant_proto + '://' + config.home_assistant_host + ':' + config.home_assistant_port + '/api/'; -- GitLab