BrewForge Docs

Connect a RAPT Pill

Forward RAPT Pill readings from the RAPT cloud to BrewForge with a stream in the RAPT Portal.

The RAPT Pill sends its readings to KegLand's RAPT cloud. From there, a stream in the RAPT Portal forwards every reading to BrewForge.

Setup

In BrewForge, add a device of type RAPT Pill and copy its webhook URL.

Open the RAPT Portal, click the ☰ menu → My Integrations and add a stream for BrewForge. Set:

FieldValue
NameBrewForge
URLyour BrewForge webhook URL (it contains the device key)
MethodPOST

No headers are needed. RAPT sends the readings in its own format, so there is no payload to paste.

Select the Pill to connect, make sure the stream is Active and click Save. Send a test should report Delivered.

On the free RAPT plan a stream sends a reading every 15 minutes.

Older RAPT Portal: custom webhook

If your RAPT Portal still has ☰ → My Account → Webhooks, create a Custom Webhook instead: name brewforge, your BrewForge webhook URL, method POST. On the Payload tab, paste the Payload BrewForge shows below the setup steps (in the Connect step and under Setup on the device page), then select the Pill on the Devices tab and click Save:

{
  "device_id": "@device_id",
  "device_name": "@device_name",
  "temperature": @temperature,
  "gravity": @gravity
}

Keep @temperature and @gravity without quotes so they arrive as numbers.

What BrewForge reads

FieldUsed as
gravityGravity. A stream sends it as SG minus 1 (0.0685 = 1.0685); a custom webhook as SG, or Plato if you add "gravity_unit": "P".
temperatureTemperature in °C. In a custom webhook, converted from Fahrenheit if you add "temp_unit": "F".
battery, rssiBattery and signal strength. A stream always sends them; in a custom webhook only if you add them to the payload.
gravity_velocityThe Pill's own fermentation speed in SG points per day. A stream always sends it; BrewForge shows it instead of calculating the speed. Values beyond ±100 points a day (right after the Pill was taken out or recalibrated) are ignored.

On this page