mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 17:27:45 +01:00
20 lines
385 B
YAML
20 lines
385 B
YAML
|
i2c:
|
||
|
- id: i2c_qmc5883l
|
||
|
scl: 5
|
||
|
sda: 4
|
||
|
|
||
|
sensor:
|
||
|
- platform: qmc5883l
|
||
|
address: 0x0D
|
||
|
field_strength_x:
|
||
|
name: QMC5883L Field Strength X
|
||
|
field_strength_y:
|
||
|
name: QMC5883L Field Strength Y
|
||
|
field_strength_z:
|
||
|
name: QMC5883L Field Strength Z
|
||
|
heading:
|
||
|
name: QMC5883L Heading
|
||
|
range: 800uT
|
||
|
oversampling: 256x
|
||
|
update_interval: 15s
|