Closed m11rphy closed 7 years ago
/this made the tv turn on
[9/13/2016, 9:48:26 PM] [TV] LGTv2 connecting [9/13/2016, 9:48:27 PM] [TV] LGTv2 connected [9/13/2016, 9:48:42 PM] [TV] LGTv2 disconnected
I'm improving the plugin, soon I will release an update
Thanks for letting me know, this is a great plugin and i appreciate all the effort you are putting into this. Would be amazing if we could load netflix and plex
Open Netflix and other apps is possibile with the API! I also managed to handle the volume but unfortunately I had to set the device as a light bulb in HomeKit 😃
I've got errors like this when TV is switched off
[9/20/2016, 8:56:46 PM] [LG TV] LGTv2 connecting [9/20/2016, 8:56:49 PM] [LG TV] LGTv2 error Error: connect EHOSTUNREACH 192.168.254.33:3000
And like this, when it's switched on with a remote control:
[9/20/2016, 8:57:18 PM] [LG TV] LGTv2 connecting [9/20/2016, 8:57:19 PM] [LG TV] LGTv2 error Error: connect ECONNREFUSED 192.168.254.33:3000
Any thoughts how to avoid this?
Thanks!
I can turn off the tv but not on! Any idea?
@ebugakov Same thing happens to my to. Need help!!
@ebugakov @toshibochan I'm trying to fix wake on lan
That's great! Thanks @alessiodionisi!!!
@alessiodionisi any progress on fix wake on LAN?
I get the same problem with @ebugakov . How to solve this problem?
Maybe the tv no stay on standby mode! I don't see any option on settings for standby mode.
@alessiodionisi any update budy, this is so close to being perfect
Hello guys, the problem is wake_on_lan
module. I'm working to fix it or write a custom WOL module 😄
@alessiodionisi how's it going buddy ?
Thanks @alessiodionisi! Hope you can fix the bug!!
Random side note, I'm currently using https://github.com/AlexGustafsson/homebridge-wol/blob/master/index.js
this works fine for turning on the TV, it appears to use the wake-on-lan
package :)
I'm using this plugin with a node shell script that executes the turn off:
var lgtv = require("lgtv2")({
url: 'ws://192.168.0.60:3000'
});
lgtv.on('connect', function () {
console.log('Connected');
lgtv.request('ssap://system/turnOff', function (err, res) {
lgtv.disconnect();
});
});
I'm rewriting much code of the plugin to solve the problems
TV turning on fine but have to turn tv on twice in home app before tv will turn on. I basically have to tell the tv to turn on then turn off before it will come on. the home app then reports the tv as off when its home