LGWebOSRemote icon indicating copy to clipboard operation
LGWebOSRemote copied to clipboard

Is-it possible to add left, right, up, down and select buttons?

Open Gustry opened this issue 8 years ago • 12 comments

Very nice tool, it's working well. So as to set my channel, I need to use arrows such as left, right, up, down and click (ok) on my remote. Is it possible to add these buttons in this CLI tool?

I can do it my self, but I can't find some documentation about what is the command to send to the TV. Is there a doc somewhere? Would it be feasible?

Thanks

Gustry avatar Sep 02 '17 10:09 Gustry

https://mym.hackpad.com/ep/pad/static/rLlshKkzdNj has some details about this, you need to start up another connection for the mouse by the looks of things, no idea why the up/down/left/right buttons are in the mouse control, but this isn't something I've implemented... The protocol details there would be enough to get started, and the C# implementation someone has done here would obviously help https://github.com/gr4b4z/lgtv.net/blob/master/LgTvApi.cs

klattimer avatar Sep 02 '17 15:09 klattimer

would totally merge this if you pull it off, good luck!

klattimer avatar Sep 02 '17 15:09 klattimer

Ok, thanks, I started a proof of concept, it needs a second socket. I will make a PR

Gustry avatar Sep 10 '17 09:09 Gustry

Just to add an idea, I realized the Magic Remote is able to call the voice function on supported TV's, would it be possible to register a faux Magic Remote and get that feature enabled? This way it might be possible to trigger a keyword with Alexa, and be able to talk directly with the TV.

akhan23wgu avatar Oct 06 '17 02:10 akhan23wgu

@Gustry did you make any progress?

klattimer avatar Oct 31 '17 18:10 klattimer

(This is probably a wrong thread for this comment.)

@klattimer Thank you so much for your library! I was using it for a while, but because it didn't play well with my personal project, I had to rewrite my own version. Also, the hackpad link that you posted is going to be extremely helpful and much easier than reading the ConnectSDK source!

Link to the repo: https://github.com/supersaiyanmode/PyWebOSTV

I'd like to credit your work in my version. Please let me know how would you like to be credited.

supersaiyanmode avatar Dec 05 '17 05:12 supersaiyanmode

@klattimer Sorry, I'm away from home for a few months now. I haven't made any progress, but it's still on my todo list.

Gustry avatar Dec 05 '17 06:12 Gustry

I tried to access the document in hackpad you mentioned, but I can't access it anymore with this dropbox portal. Any luck from your side?

Gustry avatar Mar 07 '18 23:03 Gustry

@Gustry I, too, am trying to access that link. If you find that somewhere can you please link it here. It would be a great help!

In the meanwhile, you may want to take a look at my version, that if mouse connectivity is what you're looking for.

supersaiyanmode avatar Mar 07 '18 23:03 supersaiyanmode

Still no luck :(

@supersaiyanmode I tried your library! It works perfectly! Thanks.

Gustry avatar Mar 08 '18 22:03 Gustry

@Gustry have you made any progress since last year? Is this possible to do now?

recklessnl avatar Jul 20 '19 13:07 recklessnl

@recklessnl, I'm now using the library above, it works well

Gustry avatar Jul 20 '19 14:07 Gustry