| Crates.io | udm-fan |
| lib.rs | udm-fan |
| version | 0.1.0 |
| created_at | 2022-04-06 22:33:23.63113+00 |
| updated_at | 2022-04-06 22:33:23.63113+00 |
| description | A utility for interacting with the fans on a UDM-Pro over the network |
| homepage | https://github.com/ewpratten/udm-fan |
| repository | https://github.com/ewpratten/udm-fan |
| max_upload_size | |
| id | 563390 |
| size | 83,865 |
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:
cargo install udm-fan
The following commands can be used to control the fans on a local UDM-Pro:
# Set the fans to half speed
udm-fan set 128
# Set the fans to full speed (with a custom IP address)
udm-fan set 255 --override-ip 172.16.11.5
# Bring the fans back to automatic control
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