# Gas Tank (https://logable.app/docs/reference/device-types/gas-tank)

Bulk gas vessels and containers monitored by weight or level.

## Metrics

| Field | Type | Required | Unit | Description |
| --- | --- | --- | --- | --- |
| weight | number | No | kg | Scale or load cell reading, in the configured weight unit |
| level | number | No | % | Fill level. A reported value is stored as sent. When it is absent, ingest calculates it from weight and the configured capacity. |
| pressure | number | No | bar | Vessel pressure |
| temperature | number | No | °C | Vessel temperature |

## Configuration

| Field | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| capacity | number | No |  | Weight of gas in a full tank. Needed to work out the level from weight. |
| weightUnit | kg, tons, lbs | No | kg | Unit for the capacity, the empty vessel weight and weight readings |
| tareWeight | number | No |  | Weight of the empty vessel. Set it when the scale reading includes the vessel. Leave blank if the scale is zeroed on the empty vessel. |
| capacityLitres | number | No |  | Volume of a full tank in litres. Used to show litres remaining. |
| material | string | No |  | Gas stored, for example oxygen, nitrogen or LPG |
| orientation | vertical, horizontal | No | vertical | Shape of a bulk vessel, used for the drawing. A tank holding under 100 kg is drawn as a cylinder. |
| usableFloor | number | No |  | The lowest level, as a percentage, that you can actually draw down to. Leave blank if this tank can be drawn to zero. When set, the depletion estimate counts down to this value instead of zero. |
| pressureUnit | psi, bar, kpa | No |  | Unit of the pressure readings |

## Example payload

```json
{
  "timestamp": "2026-07-01T10:00:00.000Z",
  "status": "online",
  "data": {
    "weight": 12500,
    "pressure": 8.5,
    "temperature": 18.5
  }
}
```

For HTTP and MQTT code samples, see https://logable.app/docs/reference/device-types/gas-tank.

## Guides

- [Connect a device](https://logable.app/docs/guides/devices/connect-a-device)