mirror of
https://github.com/esphome/esphome.git
synced 2026-08-23 06:36:23 +00:00
76 lines
1.6 KiB
YAML
76 lines
1.6 KiB
YAML
sensor:
|
|
- platform: lsm6ds
|
|
name: "LSM6DS Temperature"
|
|
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: acceleration_x
|
|
name: "LSM6DS Accel X"
|
|
accuracy_decimals: 4
|
|
filters:
|
|
- sliding_window_moving_average:
|
|
window_size: 4
|
|
send_every: 1
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: acceleration_y
|
|
name: "LSM6DS Accel Y"
|
|
accuracy_decimals: 4
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: acceleration_z
|
|
name: "LSM6DS Accel Z"
|
|
accuracy_decimals: 4
|
|
|
|
# Gyroscope axes (unit: °/s)
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: gyroscope_x
|
|
name: "LSM6DS Gyro X"
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: gyroscope_y
|
|
name: "LSM6DS Gyro Y"
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: gyroscope_z
|
|
name: "LSM6DS Gyro Z"
|
|
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: angular_rate_x
|
|
name: "LSM6DS Angular Rate X"
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: angular_rate_y
|
|
name: "LSM6DS Angular Rate Y"
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: angular_rate_z
|
|
name: "LSM6DS Angular Rate Z"
|
|
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: pitch
|
|
name: "LSM6DS Pitch"
|
|
- platform: motion
|
|
motion_id: lsm6ds_motion
|
|
type: roll
|
|
name: "LSM6DS Roll"
|
|
|
|
motion:
|
|
- platform: lsm6ds
|
|
id: lsm6ds_motion
|
|
# Accelerometer full-scale range: 2G | 4G | 8G | 16G
|
|
accelerometer_range: 4G
|
|
|
|
accelerometer_odr: 104HZ
|
|
|
|
gyroscope_range: 2000DPS
|
|
|
|
gyroscope_odr: 208HZ
|
|
axis_map:
|
|
x: y
|
|
y: x
|
|
z: -z
|