Closed farmgal10 closed 7 years ago
Hello, farmgal10! Did you mean this to be a pull?
No, I didn't, sorry.
On Feb 7, 2017 at 9:59 AM, <B money (mailto:notifications@github.com)> wrote:
Hello, farmgal10! Did you mean this to be a pull?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/bklavet/Echo-skill-to-control-Directv/pull/28#issuecomment-278024309), or mute the thread (https://github.com/notifications/unsubscribe-auth/AYRH5W_MA9VCCjqRzgi-jX5zomuAfo_Jks5raIa6gaJpZM4L5DQt).
]]>
no problem
var http = require('http'); // if going through a proxy that uses SSL change to "require('https');"
// Your external IP. Alexa can only access publically-accessible IPs. No LAN access unfortunately. // Make sure to set up port forwarding on port 8080 to your DTV's IP on your router. // In my case I had to move receiver to DMZ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// var local_ip = '2601:340:4203:8d50:7454:4057:8cc7:a4eb'; //externalIP or FQDN ////////////////////////////////////////////////////////////////////////// //var local_ip = '';
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
var DTVControl = function () { AlexaSkill.call(this, APP_ID); };
// Extend AlexaSkill DTVControl.prototype = Object.create(AlexaSkill.prototype); DTVControl.prototype.constructor = DTVControl;
//Ignore Certificate errors if using HTTPS communication process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
DTVControl.prototype.intentHandlers = { DirectvIntent: function (intent, session, response) {
}
exports.handler = function (event, context) {
};