node-webos
node-webos copied to clipboard
How to simulate remote control channel up/down
Hi WeeJeWel,
I was wondering how to have the same remote control options from my LG TV at my notebook and after some research I found your library.
But when I call getChannels I get this:
errorCode: "1010"
errorText: "tuner channel map does not exist"
And when I try to use getChannel I get:
errorCode: "BROADCAST_ERROR_1003"
errorText: "No information"
And the setChannel with a random channelNumber returns:
errorCode: -3965
errorText: "db: no index for query"
My guess is that only Live TV channels can be handled with these commands, and I use "Cable TV" connected through HDMI.
Do you have any idea of how can I have the same remote control channel up/down behavior?
I thought I could send a HandleKeyInput with code 27(Channel UP (+)) and 28(Channel DOWN (-)) but I don't know if there is a command to do so. *I got this key codes from here: http://developer.lgappstv.com/TV_HELP/index.jsp?topic=%2Flge.tvsdk.references.book%2Fhtml%2FUDAP%2FUDAP%2FAnnex+A+Table+of+virtual+key+codes+on+remote+Controller.htm
I can't find a documentation to solve my doubts, so if you could shed some light about this or share some documentation links, I'll really appreciate that!
Thanks in advance!
Auch! I can't test with cable as I don't have that. I will implement channelUp and channelDown asap for you :)
Would you mind sharing your links/documents with me?
I hope I can learn enough to even help you with this project!
On Mon, Jan 25, 2016 at 1:00 PM, Emile Nijssen [email protected] wrote:
Auch! I can't test with cable as I don't have that. I will implement channelUp and channelDown asap for you :)
— Reply to this email directly or view it on GitHub https://github.com/WeeJeWel/node-webos/issues/1#issuecomment-174533629.
Sure! I got most commands from here: https://github.com/msloth/lgtv.js/blob/master/index.js#L647
Thanks a lot Emile!
Anyway I tried it(ssap://tv/channelDown) super excited... but with no luck unfortunately :(
Maybe it only works for liveTV cable inputs.
If you get any idea, please share with me!
On Mon, Jan 25, 2016 at 1:06 PM, Emile Nijssen [email protected] wrote:
Sure! I got most commands from here: https://github.com/msloth/lgtv.js/blob/master/index.js#L647
— Reply to this email directly or view it on GitHub https://github.com/WeeJeWel/node-webos/issues/1#issuecomment-174535949.