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

power: add eth008 power backend #1275

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

JensKle
Copy link
Contributor

@JensKle JensKle commented Sep 28, 2023

Description
Adding a new power driver for robot electronics eth008 using HTTP-GET API.
Locally tested with labgrid-client power on/off/cycle.

Checklist

  • Documentation for the feature
  • Tests for the feature
  • The arguments and description in doc/configuration.rst have been updated
  • Add a section on how to use the feature to doc/usage.rst
  • Add a section on how to use the feature to doc/development.rst
  • PR has been tested
  • Man pages have been regenerated

@Bastian-Krause
Copy link
Member

CI test errors are not your fault, #1277 fixes them.

Bastian-Krause
Bastian-Krause previously approved these changes Oct 4, 2023
Copy link
Member

@Bastian-Krause Bastian-Krause left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

FYI: there is also https://github.com/pdudaemon/pdudaemon, a project that focuses only on PDUs. labgrid's PDUDaemonDriver interfaces with it. So it might be worth a thought to implement this rather over there. Let us know how you think about this.

Note: we should wait for #1277 and rebase this to make CI run this before merging.

@Bastian-Krause Bastian-Krause added the needs rebase Needs a rebase onto the master branch, maintainter could probably not push to submitter branch. label Oct 11, 2023
@Bastian-Krause Bastian-Krause removed the needs rebase Needs a rebase onto the master branch, maintainter could probably not push to submitter branch. label Nov 6, 2023
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (d08687c) 63.0% compared to head (5a8acba) 62.9%.
Report is 14 commits behind head on master.

Files Patch % Lines
labgrid/driver/power/eth008.py 27.2% 16 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1275     +/-   ##
========================================
- Coverage    63.0%   62.9%   -0.1%     
========================================
  Files         160     161      +1     
  Lines       11901   11932     +31     
========================================
+ Hits         7502    7510      +8     
- Misses       4399    4422     +23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Bastian-Krause Bastian-Krause changed the title power: add Eth008 driver power: add eth008 power backend Nov 28, 2023
@jluebbe jluebbe merged commit e8fdd87 into labgrid-project:master Dec 15, 2023
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants