labgrid-project / labgrid-project/labgrid
Gude EPC 1202 incompatible with existing gude power backends
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 528
- Forks
- 278
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 4
Description
Hi Everyone,
I'm using labgrid in its release v23.0.3.
I bought a EPC 1202 from Gude (firmware v1.11) and want to use this driver to control my device power cycle.
I try all gude driver without success.
Here is the output of the ov.html:
<!DOCTYPE html>
<html><head><!--
<meta http-equiv="powerstate" content="Power Port,1">
<meta http-equiv="powerstate" content="Power Port,1">
<meta http-equiv="powerstate" content="Power Port,1">
<meta http-equiv="powerstate" content="Power Port,1">
-->
</head><body></body></html>
And this is not compatible with available power drivers.
- gude.py => driver does not search for ov.html
- gude24.py => pattern is not compatible with ov.hml
- gude8031.py => driver does not search for ov.html
- gude8225.py => driver does not search for ov.html
- gude8316.py => pattern is not compatible with ov.hml
I'm quite confused with this and don't know how to handle it.
I modified gude24.py to fit the ov.html output, but don't know if it's the correct way.
Moreover, we can use http://192.168.0.2/statusjsn.js?components=1 to get statuses of outputs and parse using json.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing gude.py, gude24.py, gude8031.py, and gude8225.py with the EPC 1202 ov.html output. Investigate the statusjsn.js?components=1 endpoint and determine the compatibility needed for power status and cycling. Done means the existing Gude power backend can control and report the EPC 1202 correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100