~rumpelsepp/opennetzteil

A spec and an implementation for controlling power supplies via http
Add udev rules example for rnd power supply
Do not panic in case the rnd power supply is absent
Add systemd service file

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~rumpelsepp/opennetzteil
read/write
git@git.sr.ht:~rumpelsepp/opennetzteil

You can also use your local clone with git send-email.

#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".