mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-28 23:19:47 -08:00
Merge pull request #190 from mkinney/add_env_sensor_info
add more info about env sensors
This commit is contained in:
commit
acd86c17d2
|
@ -5,7 +5,9 @@ sidebar_label: Environment measurement
|
|||
---
|
||||
## About
|
||||
|
||||
The Environment Measurement Plugin will allow nodes to send a specific message with information from connected environmental sensors. Currently supported sensors are DHT11 and Dallas 1-wire DS18B20. This plugin does only work on ESP32 devices.
|
||||
The Environment Measurement Plugin will allow nodes to send a specific message with information from connected environmental sensors. Currently supported sensors are BME280, BME680, DHT11, DHT12, DHT21, DHT22 and Dallas 1-wire DS18B20.
|
||||
|
||||
The preferred setup is using I2C, so the `environmental_measurement_plugin_sensor_pin` may not be needed.
|
||||
|
||||
## Configuration
|
||||
|
||||
|
@ -49,6 +51,11 @@ These are the settings that can be configured.
|
|||
|
||||
0 = DHT11 (Default)
|
||||
1 = Dallas 1-wire DS18B20
|
||||
2 = DHT12
|
||||
3 = DHT21
|
||||
4 = DHT22
|
||||
5 = BME280
|
||||
6 = BME680
|
||||
|
||||
environmental_measurement_plugin_sensor_pin
|
||||
Which pin is the sensor connected to?
|
||||
|
|
|
@ -9,11 +9,7 @@ import TabItem from '@theme/TabItem';
|
|||
|
||||
## Overview
|
||||
|
||||
:::caution
|
||||
This is a work in progress and is not yet available.
|
||||
:::
|
||||
|
||||
The Environmental Measurement Plugin will allow you to connect climate sensors to report local conditions to your mesh.
|
||||
The Environmental Measurement Plugin will allow you to connect environment sensors to report conditions to your mesh. Examples are temperature, humidity and gas pressure.
|
||||
|
||||
## Settings
|
||||
|
||||
|
@ -50,7 +46,7 @@ Enable/Disable the environmental measurement plugin on-device display.
|
|||
|
||||
### environmental_measurement_plugin_sensor_pin
|
||||
|
||||
Specify the preferred GPIO Pin for sensor readings.
|
||||
Specify the preferred GPIO Pin for sensor readings. May not be needed if using I2C.
|
||||
|
||||
### environmental_measurement_plugin_sensor_type
|
||||
|
||||
|
@ -72,15 +68,32 @@ Interval in seconds of how often we should try to send our measurements to the m
|
|||
values={[
|
||||
{label: 'CLI', value: 'cli'},
|
||||
{label: 'Android', value: 'android'},
|
||||
{label: 'iOS', value: 'iOS'},
|
||||
{label: 'web', value: 'web'},
|
||||
]}>
|
||||
<TabItem value="cli">
|
||||
|
||||
TODO
|
||||
meshtastic --set environmental_measurement_plugin_measurement_enabled true
|
||||
meshtastic --set environmental_measurement_plugin_screen_enabled true
|
||||
meshtastic --set environmental_measurement_plugin_update_interval 15
|
||||
meshtastic --set environmental_measurement_plugin_display_farenheit true
|
||||
meshtastic --set environmental_measurement_plugin_sensor_type 5
|
||||
meshtastic --set environmental_measurement_plugin_sensor_type BME280
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="android">
|
||||
|
||||
TODO
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="iOS">
|
||||
|
||||
TODO
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="web">
|
||||
|
||||
TODO
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
|
Loading…
Reference in a new issue