forked from esphome/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbmp3xx.json
135 lines (135 loc) · 6.42 KB
/
bmp3xx.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"bmp3xx.sensor": {
"schemas": {
"CONFIG_SCHEMA": {
"type": "schema",
"schema": {
"config_vars": {
"id": {
"key": "GeneratedID",
"id_type": {
"class": "bmp3xx::BMP3XXComponent",
"parents": [
"PollingComponent",
"Component",
"i2c::I2CDevice"
]
}
},
"temperature": {
"key": "Optional",
"type": "schema",
"schema": {
"extends": [
"sensor.SENSOR_SCHEMA"
],
"config_vars": {
"unit_of_measurement": {
"default": "\u00b0C"
},
"accuracy_decimals": {
"default": "1"
},
"device_class": {
"default": "temperature"
},
"state_class": {
"default": "measurement"
},
"oversampling": {
"key": "Optional",
"default": "2X",
"type": "enum",
"values": {
"NONE": null,
"2X": null,
"4X": null,
"8X": null,
"16X": null,
"32X": null
},
"docs": "The oversampling parameter for the temperature sensor. See [Oversampling Options](https://esphome.io/components/sensor/bmp3xx.html#bmp3xx-oversampling).\n\n*See also: [BMP388 / BMP390 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp3xx.html#configuration-variables)*"
}
}
},
"docs": "The information for the temperature sensor.\n * **name** (**Required**, string): The name for the temperature sensor.\n \n * **oversampling** (*Optional*): The oversampling parameter for the temperature sensor. See [Oversampling Options](https://esphome.io/components/sensor/bmp3xx.html#bmp3xx-oversampling).\n \n * **id** (*Optional*, [ID](https://esphome.io/guides/configuration-types.html#config-id)): Set the ID of this sensor for use in lambdas.\n \n * All other options from [Sensor](https://esphome.io/components/sensor/index.html#config-sensor).\n \n \n\n*See also: [BMP388 / BMP390 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp3xx.html#configuration-variables)*"
},
"pressure": {
"key": "Optional",
"type": "schema",
"schema": {
"extends": [
"sensor.SENSOR_SCHEMA"
],
"config_vars": {
"unit_of_measurement": {
"default": "hPa"
},
"accuracy_decimals": {
"default": "1"
},
"device_class": {
"default": "pressure"
},
"state_class": {
"default": "measurement"
},
"oversampling": {
"key": "Optional",
"default": "16X",
"type": "enum",
"values": {
"NONE": null,
"2X": null,
"4X": null,
"8X": null,
"16X": null,
"32X": null
},
"docs": "The oversampling parameter for the temperature sensor. See [Oversampling Options](https://esphome.io/components/sensor/bmp3xx.html#bmp3xx-oversampling).\n\n*See also: [BMP388 / BMP390 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp3xx.html#configuration-variables)*"
}
}
},
"docs": "The information for the pressure sensor.\n * **name** (**Required**, string): The name for the pressure sensor.\n \n * **oversampling** (*Optional*): The oversampling parameter for the temperature sensor. See [Oversampling Options](https://esphome.io/components/sensor/bmp3xx.html#bmp3xx-oversampling).\n \n * **id** (*Optional*, [ID](https://esphome.io/guides/configuration-types.html#config-id)): Set the ID of this sensor for use in lambdas.\n \n * All other options from [Sensor](https://esphome.io/components/sensor/index.html#config-sensor).\n \n \n\n*See also: [BMP388 / BMP390 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp3xx.html#configuration-variables)*"
},
"iir_filter": {
"key": "Optional",
"default": "OFF",
"type": "enum",
"values": {
"OFF": null,
"2X": null,
"4X": null,
"8X": null,
"16X": null,
"32X": null,
"64X": null,
"128X": null
},
"docs": "Set up an Infinite Impulse Response filter to increase accuracy. One of `OFF`, `2x`, `4x`, `16x`, `32`, `64x`, `128x`. Defaults to `OFF`.\n\n*See also: [BMP388 / BMP390 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp3xx.html#configuration-variables)*"
},
"update_interval": {
"key": "Optional",
"default": "60s",
"docs": "**[Time](https://esphome.io/guides/configuration-types.html#config-time)**: The interval to check the sensor. Defaults to `60s`.\n\n*See also: [BMP388 / BMP390 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp3xx.html#configuration-variables)*"
},
"i2c_id": {
"key": "GeneratedID",
"use_id_type": "i2c::I2CBus",
"type": "use_id"
},
"address": {
"key": "Optional",
"default": "119",
"data_type": "hex_uint8_t",
"docs": "**int**: Manually specify the I\u00b2C address of the sensor. Defaults to `0x77`. Another address can be `0x76`.\n\n*See also: [BMP388 / BMP390 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp3xx.html#configuration-variables)*"
}
},
"extends": [
"core.COMPONENT_SCHEMA"
]
}
}
}
}
}