Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to simulate remote control channel up/down #1

Open
Nevitones opened this issue Jan 25, 2016 · 4 comments
Open

How to simulate remote control channel up/down #1

Nevitones opened this issue Jan 25, 2016 · 4 comments

Comments

@Nevitones
Copy link

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!

@WeeJeWel
Copy link
Owner

Auch! I can't test with cable as I don't have that. I will implement channelUp and channelDown asap for you :)

@Nevitones
Copy link
Author

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 notifications@github.com
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
#1 (comment).

@WeeJeWel
Copy link
Owner

Sure! I got most commands from here: https://github.com/msloth/lgtv.js/blob/master/index.js#L647

@Nevitones
Copy link
Author

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 notifications@github.com
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
#1 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants