# node-adafruit-bme280

> Node.js package to access Adafruit BME280 Temperature, Humidity and Pressure Sensor

Latest version **1.0.2** (published 2016-07-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-adafruit-bme280
pnpm add node-adafruit-bme280
yarn add node-adafruit-bme280
bun add node-adafruit-bme280
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-07-07 |
| First published | 2016-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | marcinpopielarz |
| Maintainers | marcinpopielarz |
| Keywords | Adafruit, BME280, Pressure, Humidity, Temerature, Sensor, IoT |

## Links

- npm: https://www.npmjs.com/package/node-adafruit-bme280
- Repository: https://github.com/marcinpopielarz/node-adafruit-bme280
- Homepage: https://github.com/marcinpopielarz/node-adafruit-bme280#readme
- Issues: https://github.com/marcinpopielarz/node-adafruit-bme280/issues
- npm.io page: https://npm.io/package/node-adafruit-bme280

## Dependencies (1)

- [python-shell](https://npm.io/package/python-shell.md) ^0.4.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2016-07-07
- 1.0.1 — 2016-07-06
- 1.0.0 — 2016-07-06

## README

# Node Adafruit BME280 Sensor Driver
This node module allows to read data from Adafruit BME280 temperature, humidity and pressure sensor (https://www.adafruit.com/product/2652). It was tested on Raspberry Pi 3 with sensor connected to I2C protocol.
This module uses original Adafruit_Python_GPIO libraries and python-shell node.js bridge to connect to sensor and read its data.

## Prerequisites
- It uses https://github.com/adafruit/Adafruit_Python_GPIO. Install this package first.

## Installation
```
npm --save install node-adafruit-bme280
```

## Usage
```
var BME280 = require('node-adafruit-bme280')

BME280.probe(function(temperature, pressure, humidity) {
  console.log(temperature);
  console.log(pressure);
  console.log(humidity);
});

```
### Resources
- BME280 Home page - https://www.adafruit.com/product/2652
- BME280 Datasheet - https://cdn-shop.adafruit.com/datasheets/BST-BME280_DS001-10.pdf
- BME280 Adafruit Learn PDF - https://cdn-learn.adafruit.com/downloads/pdf/adafruit-bme280-humidity-barometric-pressure-temperature-sensor-breakout.pdf

---
_Source: https://npm.io/package/node-adafruit-bme280 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
