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! :)
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.
Netzteil is german for "power supply device".