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

Is forwarding of keyboard_remote events possible ? #256

Open
madbrain76 opened this issue Sep 16, 2023 · 1 comment
Open

Is forwarding of keyboard_remote events possible ? #256

madbrain76 opened this issue Sep 16, 2023 · 1 comment

Comments

@madbrain76
Copy link

I setup a remote node with an FLIRC USB infrared receiver. This is a device that receives IR signals and outputs keystrokes (emulates a USB keyboard). I got the device to work in a remote HAOS node. I can trigger an automation from IR this way :

alias: Test keyboard remote
description: ""
trigger:
  - platform: event
    event_type: keyboard_remote_command_received
    event_data:
      device_name: flirc.tv flirc Keyboard
      key_code: 2
condition: []
action: []
mode: single

Is it possible to receive this event from my main node, and use them in an automation ? If so, how is the forwarding done ?

Also, I don't know if I setup the main/remote node connectivity correctly. There is no sharing of devices/entities going on whatsoever, which can't be right. Yet the sensor for the remote node shows "connected" state. What could I be missing ? I did RTFM.

@madbrain76
Copy link
Author

Never mind, I got it all working ! Events are forwarded properly. But are not prefixed with the prefix, somehow.

Ie. event_type has to be keyboard_remote_command_received, same as it is locally, and not remote_keyboard_remote_command_received (I setup remote_" as prefix).

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

1 participant