voydz / alexa-lgtv-remote Goto Github PK
View Code? Open in Web Editor NEWControl your webOS powered LG TV with amazon's alexa.
License: MIT License
Control your webOS powered LG TV with amazon's alexa.
License: MIT License
Can you provide a small howto on installing this (for me a RPi3 ;)?
And what commands we needs to give Alexa?
Thanks,
Frank
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the alexa-lgtv-remote package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp build && node dist/index.js
npm ERR! You can get their info via:
npm ERR! npm owner ls alexa-lgtv-remote
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.9.59-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "run" "start"
npm ERR! cwd /home/pi/Desktop/alexa-lgtv-remote-master
npm ERR! node -v v4.8.2
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
When running 'npm run start'. The tv is connected and I am able to set a toast perfectly fine. A lot of the packages were missing, I installed them manually (even after 'npm install'). Overall seems like great code and I'm excited to get this working, it seems to have all of the features that I was looking for!
First Does this work? Also on Install all dependencies with npm install. what do I install first?, and on Run the app with npm run start what do I start.
Please help thank you
npm run start works fine.
It says its listening on port 3000!
When I run the simulator on amazon I get this error:
"The remote endpoint could not be called, or the response it returned was invalid."
Under the skill config I have it set to HTTPS / Europe and this in the box https://MYIP
I have made a self signed certificate. I have even tried changing the ip to a domain I own.
Am I doing anything wrong?
Per se isn't an issue, but thas will a great update and I'll help with that (the translation)... if some one give me a little coaching (becouse I'm rookie in Alexa development, Node.js and all this world... )
Hi and thanks for to info on the other help. I am kinda new at this I was trying to put this in pparedes1 Issues, but he does not have a Issues tab. I am trying to Put this in AWS Lambda and I am not sure what Files I need to be Zipped and uploaded there I assume it is all the Files in the SRC Folder. Also not sure on Designer Which Trigger I should use: Alexa Skills Kit, or Alexa Smart Home. If it is Alexa Smart Home. did you have to Discover Device with Alexa? If you know the answers to his Please help or if you know away to get to pparedes1 that would help also.
Thank you for you time on this
Also I understand what info to put in this File, but what does this mean? : Configure your environment. First cp .env.example .env, then manipulate the values in .env. was I suppose to change the name of this File?
Here is what i got in the file .env
PORT=3000
TV_SOCKET=XXX.XXX.X.XXX:3000
TV_MAC=XX:XX:XX:XX:XX:XX
This is what I get after npm run Start:
C:\Users\TEST\Downloads\alexa-lgtv-remote-master (1)\alexa-lgtv-remote-master>npm run start
[email protected] start C:\Users\TEST\Downloads\alexa-lgtv-remote-master (1)\alexa-lgtv-remote-master
gulp build && node dist/index.js
[19:28:41] Using gulpfile ~\Downloads\alexa-lgtv-remote-master (1)\alexa-lgtv-remote-master\gulpfile.js
[19:28:41] Starting 'build'...
[19:28:41] Starting 'lint'...
[19:28:49] Finished 'lint' after 7.87 s
[19:28:49] Starting 'builder'...
[19:28:50] Finished 'builder' after 555 ms
[19:28:50] Finished 'build' after 8.43 s
alexa-lgtv-remote listening on port 3000!
{ Error: getaddrinfo ENOTFOUND 3000 3000:80
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
message: 'getaddrinfo ENOTFOUND 3000 3000:80',
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3000',
host: '3000',
port: 80 }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.