https://github.com/omarghader/airqualiry-wp6003-ble
Read the data of the air quality box WP6003 and expose it on a REST API
https://github.com/omarghader/airqualiry-wp6003-ble
air-quality bluetooth home-assistant iot smart-home
Last synced: 5 months ago
JSON representation
Read the data of the air quality box WP6003 and expose it on a REST API
- Host: GitHub
- URL: https://github.com/omarghader/airqualiry-wp6003-ble
- Owner: omarghader
- Created: 2022-02-23T16:46:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-06T12:29:11.000Z (over 3 years ago)
- Last Synced: 2024-01-30T14:13:35.095Z (over 2 years ago)
- Topics: air-quality, bluetooth, home-assistant, iot, smart-home
- Language: Go
- Homepage: https://omarghader.github.io/esp32-airquality-box-wp6003-homeassistant/
- Size: 8.79 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A very lightweight app that connects to the air quality box WP6003 and gather the information via BLE.
- Consumes 10MB RAM
- Tiny docker image 10MB
It collects:
- CO2
- HCHO
- TVOC
- Temperature
ESP32 version is on my blog : [https://omarghader.github.io/esp32-airquality-box-wp6003-homeassistant/](https://omarghader.github.io/esp32-airquality-box-wp6003-homeassistant/)
## Requirements
- Airbox WP6003 Bluetooth : [Buy here from aliexpress](https://s.click.aliexpress.com/e/_AMEXyX)
- Airbox WP6003 Bluetooth : [Buy here from amazon https://fij.li/airquality-wp6003](https://fij.li/airquality-wp6003)
## How to build
```sh
make build
# for arm (raspberry pi)
make build-arm64
```
## How to package by docker
```sh
make build compress docker-build
# for arm (raspberry pi)
make build-arm64 compress docker-build-arm64
```
## How to run
```sh
./bin/airquality -addr=XX:XX:XX:XX:XX:XX
```
## Calibrate
```sh
./bin/airquality -addr=XX:XX:XX:XX:XX:XX -calibrate
```