Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmptrluke/esphome_hp303b
An ESPHome component for the HP303B barometric pressure sensor.
https://github.com/dmptrluke/esphome_hp303b
Last synced: 19 days ago
JSON representation
An ESPHome component for the HP303B barometric pressure sensor.
- Host: GitHub
- URL: https://github.com/dmptrluke/esphome_hp303b
- Owner: dmptrluke
- License: mit
- Created: 2019-07-13T15:37:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-07T08:49:50.000Z (over 3 years ago)
- Last Synced: 2023-05-25T18:56:13.696Z (over 1 year ago)
- Language: C++
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esphome_hp303b
An ESPHome custom sensor component for the HP303B barometric pressure sensor.An example of how to use this file is below:
```yaml
esphome:
name: barometric_pressure_sample
platform: ESP8266
board: d1_mini
libraries:
- "wemos/LOLIN_HP303B_Library" # lib from github
- "SPI" # lib from platformio
includes:
- hp303b.h
sensor:
- platform: custom
lambda: |-
auto hp_sensor = new HP303BSensor();
App.register_component(hp_sensor);
return {hp_sensor};sensors:
name: "Barometric Pressure"
icon: "mdi:gauge"
unit_of_measurement: hPa
accuracy_decimals: 1
```