SkillAgentSearch skills...

Myqnode

NodeJS module for Chamberlain MyQ Garage Door Opener

Install / Use

/learn @MathewsTito/Myqnode
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

MyQNode

This is a NodeJS module that allows you to control your Chamberlain MyQ enabled Garage Door Opener.

Follow Chamberlain's userguide to install the MyQ Gateway on your network, as well as to create an account with the myQ portal.

Pre-requisites

es6-promise

Installation

npm install myqnode --save

Usage

var myQ = require('myqnode').myQ;
var Promise = require('es6-promise').Promise

myQ.getDevices('<userid>','<password>')
   .then(function(respObj){
        console.log(respObj); 
   },
   function(respObj){
        console.log("Error executing method "+respObj);
       }
    );


myQ.openDoor('<userid>','<password>','<deviceId>')
   .then(function(state){
      	console.log("Sucessfully Opened Door,"+state);
   },
       function(state){
       	console.log("Error Opening Door",+state);
   }
    );
View on GitHub
GitHub Stars9
CategoryDevelopment
Updated7y ago
Forks3

Languages

JavaScript

Security Score

70/100

Audited on Apr 24, 2018

No findings