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

Add binary control support #16

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on May 8, 2020

  1. Add binary control buffer generator

    This creates a buffer containing the binary information needed to control certain devices.  It looks like the initial PR for this (ssut#5) was for a unit which supported certain string-based commands – this is not the case with mine and others (per related sampsyo/wideq#12).  This is a dynamic method which will build up the binary control string from the specification and current Status object.
    ncovercash committed May 8, 2020
    Configuration menu
    Copy the full SHA
    d35f69e View commit details
    Browse the repository at this point in the history
  2. Add helper setDeviceControlBinary

    This implements a special rti/rtiControl request where the control data is sent as a b64 string, rather than a more standard key/value methodology.
    
    See sampsyo/wideq#12 for more information about this spec/request.
    ncovercash committed May 8, 2020
    Configuration menu
    Copy the full SHA
    c475c32 View commit details
    Browse the repository at this point in the history
  3. Add binary refrigerator control commands

    The old ones are left as-is (not renamed) for backwards compatibility.  In the future, I would recommend prefixing them with "setKey" for clarity.
    
    These new methods take advantage of the setDeviceControlBinary methods and control refrigerators that use binary control.
    ncovercash committed May 8, 2020
    Configuration menu
    Copy the full SHA
    93b1ed7 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2020

  1. Configuration menu
    Copy the full SHA
    f8c1ace View commit details
    Browse the repository at this point in the history