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

Xgimi internal keycodes #21

Closed
AlexOwl opened this issue Jul 20, 2023 · 10 comments
Closed

Xgimi internal keycodes #21

AlexOwl opened this issue Jul 20, 2023 · 10 comments
Labels
enhancement New feature or request

Comments

@AlexOwl
Copy link

AlexOwl commented Jul 20, 2023

KEYCODE_FOCUS_LEFT = 2097; // manual focus
KEYCODE_FOCUS_RIGHT = 2098; // manual focus
KEYCODE_MOTOR_LEFT_OVERSTEP = 2095;
KEYCODE_MOTOR_LEFT_START = 2092;
KEYCODE_MOTOR_RIGHT_OVERSTEP = 2096;
KEYCODE_MOTOR_RIGHT_START = 2093;
KEYCODE_MOTOR_STOP = 2094;

KEYCODE_FOCUS_AUTO = 2099; // autofocus
KEYCODE_FOCUS_AUTO_NEW = 2103; // same as previous

2101 - shortcut settings
2102 - choose source
2106 - hibernate/turn off tooltip
2108 - xmusic player

@jirislav
Copy link

What model did you use?

I just tried it for XGIMI H1, but none of these work as described. They mostly do nothing, but some behave as simple back / ok buttons.

@AlexOwl
Copy link
Author

AlexOwl commented Jan 19, 2024

@jirislav Xgimi Horizon Pro

@gunionbag
Copy link

Hi manymuch,

Love your work. A question though. With the latest v0.0.7 update how should the "choose_source" command work? Is that using the call service with "remote.send_command", and if so, should the command be "choose_source", but are you able to specify the source?

Thanks in advance,

gunionbag

@manymuch
Copy link
Owner

manymuch commented Feb 1, 2024

@gunionbag yes, call the service like below:

service: remote.send_command
data:
    command: choose_source
target:
    entity_id: remote.z6x

may not work in all device, if success, will show the source menu, and you can use the script to add up/down/ok command after that.

@gunionbag
Copy link

gunionbag commented Feb 1, 2024 via email

@gunionbag
Copy link

Hi manymuch,

I tried this out this evening but couldn't get it to work. And then I remembered I haven't been able to get any of the commands to work with my Horizon Ultra projector using your integration. The only command I have been able to get to work is the poweron command using the following:

service: remote.send_command
data:
hold_secs: 3
command: poweron
target:
entity_id: remote.xhu

I do have the token that I managed to work out for the projector in the configuration.xml file.

Are you, or is anyone else able to confirm that your integration works for the Horizon Ultra projector? If not, and you don't have access to a Horizon Ultra projector I am happy to help troubleshoot/test to try and get this working if you're interested.

@gunionbag
Copy link

Actually, does anyone know how to work out what the key codes are for a Bluetooth remote control? In this case the remote control for a Horizon Ultra?

@manymuch manymuch added the enhancement New feature or request label Feb 3, 2024
@leo-storch
Copy link

Hi manymuch,

I tried this out this evening but couldn't get it to work. And then I remembered I haven't been able to get any of the commands to work with my Horizon Ultra projector using your integration. The only command I have been able to get to work is the poweron command using the following:

service: remote.send_command data: hold_secs: 3 command: poweron target: entity_id: remote.xhu

I do have the token that I managed to work out for the projector in the configuration.xml file.

Are you, or is anyone else able to confirm that your integration works for the Horizon Ultra projector? If not, and you don't have access to a Horizon Ultra projector I am happy to help troubleshoot/test to try and get this working if you're interested.

The same happens to me but with Horizon Pro, only the method poweron / 3 secs hold works. None of the others commands I had success.

@Maxime-Marie
Copy link

Hi manymuch,

I tried this out this evening but couldn't get it to work. And then I remembered I haven't been able to get any of the commands to work with my Horizon Ultra projector using your integration. The only command I have been able to get to work is the poweron command using the following:

service: remote.send_command data: hold_secs: 3 command: poweron target: entity_id: remote.xhu

I do have the token that I managed to work out for the projector in the configuration.xml file.

Are you, or is anyone else able to confirm that your integration works for the Horizon Ultra projector? If not, and you don't have access to a Horizon Ultra projector I am happy to help troubleshoot/test to try and get this working if you're interested.

Same problem with my Horizon (1080p) only the poweron works with 3 sec hold

@manymuch
Copy link
Owner

manymuch commented Mar 7, 2024

@Maxime-Marie @gunionbag @leo-storch For UDP commands not working issues, please see #40.
Closing this issue for it's original toplic.

@manymuch manymuch closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants