Files
esphome/tests/components/bmi270/common.yaml
T

81 lines
2.0 KiB
YAML

sensor:
- platform: bmi270
name: "BMI270 Temperature"
- platform: motion
motion_id: bmi270_motion
type: acceleration_x
name: "BMI270 Accel X"
accuracy_decimals: 4
filters:
- sliding_window_moving_average:
window_size: 4
send_every: 1
- platform: motion
motion_id: bmi270_motion
type: acceleration_y
name: "BMI270 Accel Y"
accuracy_decimals: 4
- platform: motion
motion_id: bmi270_motion
type: acceleration_z
name: "BMI270 Accel Z"
accuracy_decimals: 4
# Gyroscope axes (unit: °/s)
- platform: motion
motion_id: bmi270_motion
type: gyroscope_x
name: "BMI270 Gyro X"
- platform: motion
motion_id: bmi270_motion
type: gyroscope_y
name: "BMI270 Gyro Y"
- platform: motion
motion_id: bmi270_motion
type: gyroscope_z
name: "BMI270 Gyro Z"
- platform: motion
motion_id: bmi270_motion
type: angular_rate_x
name: "BMI270 Angular Rate X"
- platform: motion
motion_id: bmi270_motion
type: angular_rate_y
name: "BMI270 Angular Rate Y"
- platform: motion
motion_id: bmi270_motion
type: angular_rate_z
name: "BMI270 Angular Rate Z"
- platform: motion
motion_id: bmi270_motion
type: pitch
name: "BMI270 Pitch"
- platform: motion
motion_id: bmi270_motion
type: roll
name: "BMI270 Roll"
motion:
- platform: bmi270
id: bmi270_motion
# Accelerometer full-scale range: 2G | 4G | 8G | 16G
accelerometer_range: 4G
# Accelerometer output data rate: 12_5HZ | 25HZ | 50HZ | 100HZ |
# 200HZ | 400HZ | 800HZ | 1600HZ
accelerometer_odr: 100HZ
# Gyroscope full-scale range: 125DPS | 250DPS | 500DPS | 1000DPS | 2000DPS
gyroscope_range: 2000DPS
# Gyroscope output data rate: 25HZ | 50HZ | 100HZ | 200HZ |
# 400HZ | 800HZ | 1600HZ | 3200HZ
gyroscope_odr: 200HZ
axis_map:
x: y
y: x
z: -z