Skip to content

add secomp power backend - #1848

Open
Rubusch wants to merge 2 commits into
labgrid-project:masterfrom
Rubusch:lothar/secomp-pdu
Open

add secomp power backend#1848
Rubusch wants to merge 2 commits into
labgrid-project:masterfrom
Rubusch:lothar/secomp-pdu

Conversation

@Rubusch

@Rubusch Rubusch commented Apr 5, 2026

Copy link
Copy Markdown

Add driver for the SECOMP PDU and similar generic devices.


Please first check if you already have support! If so, pease leave me a note! ;)

This is a driver for a pretty generic device. It's sold under various names/brands (or they're using the same/similar hardware). So, chances are you already have support for it, I did not find. I'm controlling three of such devices, so it's "tested" here in different setups. AFAIR we bought this one here.
https://www.galaxus.ch/de/s1/product/value-ip-steckdosenleiste-usv-zubehoer-13359261
I've heard that the hardware goes under the name/brand SECOMP.

If labgrid really still lacks support for such device, feel free to merge if you find it useful or let me know what to improve.

@Emantor
Emantor force-pushed the lothar/secomp-pdu branch from c46999f to 79eccb9 Compare May 31, 2026 12:33
@Bastian-Krause Bastian-Krause changed the title pdu: secomp add secomp power backend Jul 7, 2026

@ozan956 ozan956 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi, thank you for the PR. Few things to think about:

I believe this driver can be simplified by matching the tinycontrol.py's style (same idea: GET request to set, GET + XML parse to read status).

That tinycontrol driver uses urljoin and lets requests handle embedded URL credentials natively. So, no manual urlparse/netloc.split('@') needed. Adopting that pattern would drop custom URL surgery.

You can also add "assert port is None", as in tinycontrol.

This PDU is sold and rebranded under various names, such as
LogiLink PDU8P01 or Secomp 8016.

This is a rather generic 19" PDU, tested was the 8-port version.
It takes HTTP(s) with username and password; '0' turns a
particular outlet to "on"; confirms by "applied".

Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
Add some lines for the Secomp PDU.

Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
@jluebbe
jluebbe force-pushed the lothar/secomp-pdu branch from 79eccb9 to b3af543 Compare August 26, 2026 12:36
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.

3 participants