A specification and an implementation for controlling power supplies via http
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Stefan Tatschner 9d3524dc52 Update dep 1 month ago
bin Update deps 1 month ago
contrib Add udev rules example for rnd power supply 10 months ago
devices Add option to set human readable names to a powersupply 10 months ago
man Add forgotten types 10 months ago
.gitignore Update dependencies and ignore rules 1 year ago
.woodpecker.yml Add template for CI 1 month ago
LICENSE Initial commit 2 years ago
Makefile Add Makefile 1 year ago
README.md Update faulty config snippet 11 months ago
go.mod Update dep 1 month ago
go.sum Update dep 1 month ago
http.go Update dep 1 month ago
netzteil.go Add option to set human readable names to a powersupply 10 months ago

README.md

opennetzteil

Opennetzteil is a specification for a http interface for power supply devices. This project provides a server and a cli client.

The following devices are supported:

Writing drivers is simple; please contribute! :)

Run it

Build it:

$ make

Configure 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 or nginx for this.

What means Netzteil?

Netzteil is german for "power supply device".