Skip to content

Commit 5d313ce

Browse files
committed
AI cleanup
1 parent c65a19f commit 5d313ce

File tree

1 file changed

+12
-9
lines changed
  • content/components/sensor

1 file changed

+12
-9
lines changed

content/components/sensor/hc8.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
description: "Instructions for setting up HC8 CO2 sensors"
3-
title: "HC8 CO_2 Sensor"
3+
title: "HC8 CO₂ Sensor"
44
params:
55
seo:
66
description: Instructions for setting up HC8 CO2 sensors
77
image: hc8.png
88
---
99

10-
The `hc8` sensor platform allows you to use HC8 CO_2 sensors
10+
The `hc8` sensor platform allows you to use HC8 CO₂ sensors.
1111

12-
{{< img src="hc8-full.png" alt="Image" caption="HC8 CO_2 Sensor." width="50.0%" class="align-center" >}}
12+
{{< img src="hc8-full.png" alt="HC8 CO₂ Sensor" caption="HC8 CO₂ Sensor." width="50.0%" class="align-center" >}}
1313

1414
As the communication with the HC8 sensor is done using UART, you need
1515
to have an [UART bus](/components/uart) in your configuration with the `rx_pin` connected to the TX pin of the
@@ -24,9 +24,9 @@ sensor:
2424
name: HC8 CO2 Value
2525
```
2626
27-
## Configuration variables
27+
## Configuration Variables
2828
29-
- **co2** (*Optional*): The CO_2 data from the sensor in parts per million (ppm).
29+
- **co2** (*Optional*): The CO₂ data from the sensor in parts per million (ppm).
3030
All options from [Sensor](/components/sensor).
3131
3232
- **update_interval** (*Optional*, [Time](/guides/configuration-types#time)): The interval to check the
@@ -37,23 +37,26 @@ sensor:
3737

3838
- **id** (*Optional*, [ID](/guides/configuration-types#id)): Manually specify the ID used for actions.
3939

40-
- **warmup_time** (*Optional*, Time): The sensor has a warmup time and before that, it returns bougus readings (eg: 500ppm, 505ppm...). This setting discards readings until the warmup time happened (`NAN` is returned). The datasheet says preheating takes 10min, with a 90% accuracy after 3 minutes. Empirical evidence shows that reasonable values are usually returned after about 1 minute.
40+
- **warmup_time** (*Optional*, [Time](/guides/configuration-types#time)): The sensor has a warmup period during which it returns inaccurate readings (e.g., 500ppm, 505ppm). This setting discards readings until the warmup time has elapsed (returning `NaN` during warmup). The datasheet specifies a 10-minute preheating time for full accuracy, with 90% accuracy achieved after 3 minutes. Empirical evidence shows that reasonable values are usually returned after about 1 minute. Defaults to `75s`.
4141

4242
{{< anchor "hc8-calibrate_action" >}}
4343

4444
## `hc8.calibrate` Action
4545

4646
This [action](/automations/actions#all-actions) executes baseline calibration command on the sensor with the given ID.
4747

48-
If you want to execute baseline calibration, the HC8 sensor must work in stable gas environment
49-
for at least 2 minutes and you execute this function.
48+
Before executing baseline calibration, ensure the HC8 sensor has been operating in a stable gas environment
49+
(with known CO₂ concentration) for at least 2 minutes.
50+
51+
**Warning:** Only calibrate the sensor in a known stable environment (e.g., outdoors or in a well-ventilated room).
52+
Incorrect calibration will result in inaccurate readings.
5053

5154
```yaml
5255
on_...:
5356
then:
5457
- hc8.calibrate:
5558
id: my_hc8_id
56-
baseline: 400
59+
baseline: 420 # Current outdoor CO₂ level
5760
```
5861

5962
You can provide an [action](/components/api#api-device-actions) to perform from Home Assistant

0 commit comments

Comments
 (0)