udm-fan
is a utility for interacting with the fans on a UDM-Pro over the network. It works by sending PWM fan control commands over the UDM's SSH management interface.
This crate can be installed via cargo
with:
sh
cargo install udm-fan
The following commands can be used to control the fans on a local UDM-Pro:
```sh
udm-fan set 128
udm-fan set 255 --override-ip 172.16.11.5
udm-fan auto ```
Passwords can be provided through:
--ssh-password
flagUDM_SSH_PASS
environment variable.netrc
entry with the hostname being the UDM's IP address