circle-nodesNode-RED

Integrate Brewfather with Node-RED using the API, webhooks, or the community package.

Node-REDarrow-up-right is a visual flow-based programming tool commonly used for home automation and IoT. It runs on Node.js and lets you wire together APIs, hardware devices, and online services using a browser-based drag-and-drop editor.

Node-RED is useful as middleware between Brewfather and other systems. Common use cases include:

  • Forwarding device data from one service to another (e.g., from a sensor to Brewfather's Custom Stream)

  • Automating actions based on Brewfather data (e.g., sending notifications when gravity drops below a threshold)

  • Aggregating data from multiple sources into a single dashboard

Brewfather does not have a dedicated Node-RED setup wizard in the app UI. Instead, use one of these patterns:

Option A: API-based flows (pull/poll)

Use this approach when you want Node-RED to read data from Brewfather -- for example, fetching batch status, recipe details, or fermentation readings on a schedule.

  1. Open Settings > Integration > Generate API-Key.

  2. Select required scopes.

  3. Copy both:

    • API-Key

    • User Id

  4. Configure your Node-RED flow to call the Brewfather API.

API docs: https://api.brewfather.apparrow-up-right

In the current UI, Generate Key is only shown when no user API key exists. Delete/regenerate when rotating keys.

Option B: Webhook-based flows (push)

Use this approach when you want Brewfather to push device data to Node-RED in real time. Each time a device logs a reading, Brewfather forwards it to your Node-RED endpoint.

  1. Create an HTTPS endpoint in Node-RED.

  2. In Brewfather, open Settings > Power-ups for a supported integration.

  3. Click (configure webhook) and add your endpoint URL.

  4. Choose Processed or Raw format.

Webhook guide: Webhook (Device Forwarding)

Option C: Post to Custom Stream

Use this approach when you want Node-RED to send data to Brewfather -- for example, collecting sensor data from custom hardware and forwarding it to Brewfather for logging in a batch.

Configure a Node-RED HTTP POST node to send JSON data to your Brewfather Custom Stream endpoint.

Node-RED package

Community package:

https://flows.nodered.org/node/node-red-contrib-brewfatherarrow-up-right

Last updated

Was this helpful?