September 12, 2025Sep 12 đ What is FanBridge?FanBridge is a lightweight Docker service that connects your Unraid serverâs drive temperatures to an external microcontroller (Arduino / RP2040).The microcontroller generates Intel-spec PWM signals to control 4-pin fans, while FanBridge handles all the logic, UI, and integration.Designed to run unprivileged on Unraid with simple device mappings â no need for --privileged.⨠FeaturesDrive â PWM mapping with custom fan curves, overrides, and exclusionsWeb UI with tabs for Drives, Config, Serial Tools, and LogsUSB serial integration (auto-detects /dev/serial/by-id)Commands supported: PING, STATUS, VERSION, TEST, PWM set (0â100%)Secure UI with login/password, CSRF protection, and rate limitingLogging system with filters, in-UI view, and download optionPrometheus metrics available at /metricsUnraid aware: parses disks.ini for temperature datađŚ Installation (Unraid)Install via Community Applications or add manually:Repository: ghcr.io/robro92/fanbridge:latestMap your device(s):Preferred: /dev/serial/by-id/usb-...Alternative: /dev/ttyACM0 or /dev/ttyUSB0Add via template: Device â Add Device â pick your microcontrollerMap Unraidâs disks.ini:Host: /var/local/emhttp/disks.iniContainer: /unraid/disks.ini (Read-only)Optional environment variables:FANBRIDGE_SERIAL_PORT=/dev/serial/by-id/usb-...FANBRIDGE_SERIAL_BAUD=115200FANBRIDGE_SECURE_COOKIES=1 (enable if reverse proxy w/ HTTPS)Apply and start the container.Access WebUI â http://[Unraid-IP]:8080/First run will prompt you to create an admin user.đ§ ConfigurationDrives Tab â view temperatures, spin status, toggle exclusionsConfig Tab â set fan curves, apply thresholds, enable auto-applySerial Tab â PING / STATUS / VERSION tools + PWM sliderLogs Tab â live logs, filters, clear + downloadđ SecurityPassword-protected UICSRF protection on POST endpointsSecurity headers + Content Security PolicyRuns unprivileged (no need for --privileged)đ MetricsBasic Prometheus endpoint at /metrics includes:fanbridge_http_requests_total{method,code}fanbridge_serial_commands_total{kind,status}fanbridge_serial_open_failures_totalđ TroubleshootingâOperation not permittedâ on /dev/ttyACM0â Make sure you added the device, not bind-mounted the path.Serial not foundâ Map /dev/serial/by-id read-only and use that path.Logs emptyâ Use download function (live buffer only stores recent entries).đŹ Support & FeedbackUse this thread for support, questions, and feature requests.Please include logs (/api/logs/download) and container config if reporting an issue. Edited September 12, 2025Sep 12 by RoBro92
February 16Feb 16 This seems pretty cool but I can't seem to figure out which microcontrollers are going to work with it without plugging one in and installing it. Any chance you could provide a list of supported hardware and some suggestion as to how the fans are intended to be wired?
February 16Feb 16 Author 12 hours ago, ailstyn said:This seems pretty cool but I can't seem to figure out which microcontrollers are going to work with it without plugging one in and installing it. Any chance you could provide a list of supported hardware and some suggestion as to how the fans are intended to be wired?Hi Thank you for your post, apologies this support forum is pretty sparce all info is available on the Github for the projet. I am planning to build a dedicated custom PCB for this but for now you can cobble it together with a few resistors, a BJT transistor and a cheap fan hub. It is designed to work with a rp2040 microcontroller it has been working flawlessly for me for many months. I'd appreciate if you could try it out and let me know how you get on with it. https://github.com/RoBro92/fanbridge
February 16Feb 16 I'll order a couple pieces and give it a shot but I've got a couple questions. It looks like on the wiring diagram that each pin goes to one fan, you tie tach to ground, and let the board supply power from the SATA cable? How do you assign pins to fans then?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.