1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-08 14:10:54 +00:00
2025-02-05 12:05:50 +13:00

20 lines
401 B
YAML

i2c:
- id: i2c_hmc5883l
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: hmc5883l
address: 0x68
field_strength_x:
name: HMC5883L Field Strength X
field_strength_y:
name: HMC5883L Field Strength Y
field_strength_z:
name: HMC5883L Field Strength Z
heading:
name: HMC5883L Heading
range: 130uT
oversampling: 8x
update_interval: 15s