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

driver/power: Add support for Gude 87-1210-18 #1534

Merged
merged 3 commits into from
Oct 30, 2024

Commits on Oct 30, 2024

  1. driver/power/gude8031: Fix line ending

    This file has been created with CRLF, but all other files in this repo
    seem to be LF-only.
    This changes the line-ending of the file to LF-only.
    
    Signed-off-by: Chris Fiege <[email protected]>
    SmithChart committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    1ce0abb View commit details
    Browse the repository at this point in the history
  2. driver/power/gude8031: Apply ruff format

    Signed-off-by: Chris Fiege <[email protected]>
    SmithChart committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    df66ce8 View commit details
    Browse the repository at this point in the history
  3. driver/power/gude8031: Add Support for Gude 87-1210-18

    The Gude Expert Power Control 87-1210-18 is a vertical 20 port power
    distribution unit:
    https://gude-systems.com/en/products/expert-power-control-87-1210/
    
    It uses the same HTTP-API, as the Gude Power Control 8031 - but simply
    has more ports.
    This commit adds support and documentation for this device.
    
    Loosing the restrictions on the `index` makes it possible to re-use this
    driver.
    
    Setting a non-existent port fails silently.
    But getting a non-existent port will cause an exception.
    I deem this behavior acceptable, since a new device will be tested
    during hardware setup anyway.
    So we do not need to check the actual number of ports during normal
    operation.
    
    Signed-off-by: Chris Fiege <[email protected]>
    SmithChart committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    af5a3bf View commit details
    Browse the repository at this point in the history