Skip to content

Gude EPC 1202 incompatible with existing gude power backends #1263

Open
@est-flouveau

Description

@est-flouveau

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions