udm-fan-0.1.0 is not a library.
UniFi Dream Machine Pro: Fan control tool
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.
Installation
This crate can be installed via cargo
with:
Usage
The following commands can be used to control the fans on a local UDM-Pro:
# Set the fans to half speed
# Set the fans to full speed (with a custom IP address)
# Bring the fans back to automatic control
Passwords can be provided through:
- The
--ssh-password
flag - The
UDM_SSH_PASS
environment variable - A
.netrc
entry with the hostname being the UDM's IP address - The terminal at runtime