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

Short circuit the "on" command #141

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Short circuit the "on" command #141

merged 1 commit into from
Dec 5, 2023

Commits on Dec 5, 2023

  1. Short circuit the "on" command

    The "on" command is special since it doesn't make use of the websocket
    connection. It instead sends a wake-on-lan package. This means `ws.connect()`
    isn't needed for this and actually just slows down the command because it
    causes ws4py to try to establish a connection to a TV that is most likely off,
    considering the command being executed.
    Tenzer committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    e440eef View commit details
    Browse the repository at this point in the history