Add temperature for QMC5883L (#3730)

This commit is contained in:
tronikos 2024-04-02 19:57:12 -07:00 committed by GitHub
parent eb562e89b0
commit 53230c9fb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,10 @@ configuration for this sensor to work.
name: "QMC5883L Field Strength Z"
heading:
name: "QMC5883L Heading"
temperature:
name: "QMC5883L Temperature"
filters:
- offset: 34.0
range: 200uT
oversampling: 512x
update_interval: 60s
@ -49,6 +53,10 @@ Configuration variables:
:ref:`Sensor <config-sensor>`.
- **heading** (*Optional*): The heading of the sensor in degrees. All options from
:ref:`Sensor <config-sensor>`.
- **temperature** (*Optional*): The temperature of the sensor. Per the datasheet:
"Temperature sensor gain is factory-calibrated, but its offset has not been compensated, only relative
temperature value is accurate". Above example has an offset that you need to calibrate. All options from
:ref:`Sensor <config-sensor>`.
- **range** (*Optional*): The range parameter for the sensor.
- **oversampling** (*Optional*): The oversampling parameter for the sensor.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.