An open API service indexing awesome lists of open source software.

https://github.com/rumpelsepp/opennetzteil

A specification and an implementation for controlling power supplies via http
https://github.com/rumpelsepp/opennetzteil

automation golang http opennetzteil powersupply

Last synced: 9 months ago
JSON representation

A specification and an implementation for controlling power supplies via http

Awesome Lists containing this project

README

          

# opennetzteil

Opennetzteil is a [specification](https://rumpelsepp.org/man/netzteil-http.7.html) for a http interface for power supply devices.
This project provides a server and a cli client.

The following devices are supported:

* [R&S®HMC804x](https://www.rohde-schwarz.com/de/produkt/hmc804x-produkt-startseite_63493-61542.html)
* [RND320](https://cdn-reichelt.de/documents/datenblatt/D400/RND320-KD3005D.pdf)

Writing drivers is simple; please contribute! :)

## Run it

Build it:

```
$ make
```

[Configure](https://rumpelsepp.org/man/netzteil.5.html) it:

```
$ cat $HOME/.config/netzteil/config.toml
[http]
bind = ":8000"

[[netzteile]]
handle = "file:///dev/ttyACM0"
model = "rnd320"
```

Run it:

```
$ ./netzteild
```

This is a usual http server.
More complex setups with reverse proxy, authentication, tls, … are possible but out of scope for including it here.
Use [caddy](https://caddyserver.com/) or [nginx](http://nginx.org/) for this.

## What means Netzteil?

Netzteil is german for "power supply device".