You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@i0null Hi and first of all thanks for your work and sharing.
Unfortunately as a newbie I have to ask for a little help.
I have a LG 55EG9209 with webOS 2.2.1 1341 running.
Not sure if your plugin is even working with my TV.
In the TV setting control by Phone is turned on.
First I had to find the correct place on my Raspberry Pi where the plugin is.
The line in your description unfortunately didn't work for me. File or Folder not found.
cd $NODE_PATH/homebridge-lgtv-2012
-bash: cd: /usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript/homebridge-lgtv-2012: Datei oder Verzeichnis nicht gefunden
So I tried this.
pi@raspberrypi:/ $ cd /usr/local/lib/node_modules/homebridge-lgtv-2012
pi@raspberrypi:/usr/local/lib/node_modules/homebridge-lgtv-2012 $
then
pi@raspberrypi:/usr/local/lib/node_modules/homebridge-lgtv-2012 $ node -e "ip = '192.168.178.44'; lg = require('lgtv-2012').lgtv; tv = new lg({host: ip}); tv.pair_request()"
But this doesn't bring anything. No error but also no pairing code. Nothing in the Terminal and nothing on the TV Screen. Or maybe I'm in the complete wrong place.
I hope you have the time to give a hand.
Thanks in advance.
Daniel
The text was updated successfully, but these errors were encountered:
Hi,
The code for pairing is the "node-lgtv-2012" folder, but this shouldn't be a problem as you appear to have installed them as globals.
You could try issuing the pair request with the following : curl -d "<?xml version='1.0' encoding='utf-8'?><auth><type>AuthKeyReq</type></auth>" --header "Content-Type: application/atom+xml" 192.168.178.44:8080/roap/api/auth
@i0null Hi and first of all thanks for your work and sharing.
Unfortunately as a newbie I have to ask for a little help.
I have a LG 55EG9209 with webOS 2.2.1 1341 running.
Not sure if your plugin is even working with my TV.
In the TV setting control by Phone is turned on.
First I had to find the correct place on my Raspberry Pi where the plugin is.
The line in your description unfortunately didn't work for me. File or Folder not found.
cd $NODE_PATH/homebridge-lgtv-2012
-bash: cd: /usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript/homebridge-lgtv-2012: Datei oder Verzeichnis nicht gefunden
So I tried this.
pi@raspberrypi:/ $ cd /usr/local/lib/node_modules/homebridge-lgtv-2012
pi@raspberrypi:/usr/local/lib/node_modules/homebridge-lgtv-2012 $
then
pi@raspberrypi:/usr/local/lib/node_modules/homebridge-lgtv-2012 $ node -e "ip = '192.168.178.44'; lg = require('lgtv-2012').lgtv; tv = new lg({host: ip}); tv.pair_request()"
But this doesn't bring anything. No error but also no pairing code. Nothing in the Terminal and nothing on the TV Screen. Or maybe I'm in the complete wrong place.
I hope you have the time to give a hand.
Thanks in advance.
Daniel
The text was updated successfully, but these errors were encountered: