madmicio / LG-WebOS-Remote-Control

Remote Control for LG TV WebOS
393 stars 74 forks source link

3 dots button #74

Open blaktro opened 2 years ago

blaktro commented 2 years ago

Is it possible to send command for that '3 dots' button on lg magic remote?

Xinne commented 2 years ago

Hi, i've created a pull request (#82) to add extra custom buttons. i've discovered that the three dots button uses the SCREEN_REMOTE command, so if you patch your installation (or wait for @madmicio to merge the pull request) you can do:

custom_buttons:
  - name: SCREEN_REMOTE
    icon: mdi:dots-horizontal
blaktro commented 2 years ago

Tank you! Now I can at last turn on/off Logitech z906 speakers by script. Before I was able to do this only through the "3 dots' menu using magic remote.

madmicio commented 2 years ago

hi guys, sorry but I was a bit absent from the project. today i fixed the on / off problem and fixed the colors. I study the pull requests and then update

madmicio commented 2 years ago

Hi, i've created a pull request (#82) to add extra custom buttons. i've discovered that the three dots button uses the SCREEN_REMOTE command, so if you patch your installation (or wait for @madmicio to merge the pull request) you can do:

custom_buttons:
  - name: SCREEN_REMOTE
    icon: mdi:dots-horizontal

I haven't read the code yet, but have you changed the size of the card?

Xinne commented 2 years ago

Hi!

I haven't read the code yet, but have you changed the size of the card?

Yeah, well, i've used the same technique that is used to display the source buttons. Scaling seems to work fine, is there something else that should be kept in thought when changing the size of the card?

Ps.. wouldn't mind helping to close some issues, love the project!