Rpi Cooling
@aaronge/rpi-coolingv2026.08.26.1
01README
Raspberry Pi official-case PWM fan telemetry (RPM, PWM duty cycle, discrete cooling state) via hwmon/thermal sysfs, as a typed, versioned Swamp model — catches a fan that's been commanded to spin but the tachometer reports it isn't.
02Models
@aaronge/rpi-coolingv2026.08.26.1rpi_cooling.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| hwmonBasePath | string | Base sysfs path to search for the fan's hwmon device. |
| thermalBasePath | string | Base sysfs path to search for the fan's cooling_device. |
| fanHwmonName | string | The hwmon "name" file value identifying the fan device. Confirmed as |
| fanCoolingDeviceType | string | The thermal cooling_device "type" file value identifying the fan\ |
fn readCooling()
Locate the fan's hwmon device by name and read fan1_input/pwm1,
Resources
cooling(infinite)— PWM fan RPM, duty cycle, and discrete cooling state from sysfs
03Stats
A
100 / 100
Downloads
14
Archive size
8.5 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
04Platforms