BrewBench Monitor App API

Send data from a device to the BrewBench App.

Generic Device Reading

POST https://sensor.brewbench.co/device/{token}

Post data from any device. At least one data value is required. Data should not be posted more often than every 15 minutes (900 seconds). Your API key is required either in the path or header.

Path Parameters

Name
Type
Description

token*

String

API Token (App -> Settings)

Headers

Name
Type
Description

X-API-KEY*

String

API Token (App -> Settings)

Request Body

Name
Type
Description

name*

String

A user unique name for you device

source

String

Source Name (Default Generic)

temp

Number

Temperature

temp_unit

String

C or F (Default C)

gravity

Number

Gravity

gravity_unit

String

G or P (Default P)

temp_adjust

Number

Amount to adjust the temp value by

ambient

Number

Ambient Temperature

ambient_unit

String

C or F (Default C)

ambient_adjust

Number

Amount to adjust the ambient value by

device_id

String

A user unique id for you device (takes precedence over name for device lookup)

pressure

Number

Pressure

pressure_unit

String

psi, bar, mBar, Pa, kPa, hPa, inHg, mmHg (Default psi)

co2_ppm

Number

CO2 Parts Per Million

bpm

Number

Bubbles Per Minute

moisture

Number

Moisture %

humidity

Number

Humidity %

battery

Number

Battery voltage (4.2 - 3.3)

rssi

Number

WiFi RSSI

angle

Number

Hydrometer angle

hysteresis

Number

Hydrometer hysteresis

interval

Number

Post interval in seconds

comment

String

Comment

{
  "error": {
    "statusCode": 400,
    "name": "Error",
    "message": "missing required device data"
  }
}

Last updated