-
Notifications
You must be signed in to change notification settings - Fork 180
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
Conversation
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]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1534 +/- ##
========================================
- Coverage 56.6% 56.6% -0.1%
========================================
Files 168 168
Lines 13033 13033
========================================
- Hits 7385 7384 -1
- Misses 5648 5649 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few typos in the commit messages, looks good otherwise.
Signed-off-by: Chris Fiege <[email protected]>
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]>
Updated the commit messages as suggested. |
Description
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 PR adds support and documentation for this device.
While I am on it: Re-format the file with
ruff
and replace the Windows Line-Endings.Change has been tested locally against a Gude 87-1210-18.
Checklist