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

[REQUEST] Add simple example script to view all incoming messages #129

Open
jetenginesupreme opened this issue Dec 21, 2020 · 0 comments
Open

Comments

@jetenginesupreme
Copy link

jetenginesupreme commented Dec 21, 2020

Could someone please lead me in the right direction? The code appears to be described in the README (but it errors out)

def message_received(message):
    print message

receiver = Receiver('...')
receiver.on_message = message_received

This small addition would help me and a lot of other people who just want to see the communication when interacting with the receiver (for adding commands to home automation systems etc.)

Also, this would be a nice feature to add in to the main onkyo script perhaps $onkyo --listen ?

Thank you in advance.

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