From e2d4b947e4217672f907e75f85f64e0e7ffe5de1 Mon Sep 17 00:00:00 2001 From: Toby Date: Sun, 20 Sep 2026 21:32:33 +0200 Subject: [PATCH] lsm6ds: add temporary status diagnostics --- esphome/components/lsm6ds_base/lsm6ds_base.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/esphome/components/lsm6ds_base/lsm6ds_base.cpp b/esphome/components/lsm6ds_base/lsm6ds_base.cpp index f0eb4051b..739bee81d 100644 --- a/esphome/components/lsm6ds_base/lsm6ds_base.cpp +++ b/esphome/components/lsm6ds_base/lsm6ds_base.cpp @@ -101,6 +101,11 @@ void LSM6DSComponent::update() { if (!this->read_register(0x1E, &status, 1)) return; + ESP_LOGD(TAG, "STATUS=0x%02X accel_odr=0x%02X gyro_odr=0x%02X", + status, + static_cast(this->accel_odr_), + static_cast(this->gyro_odr_)); + if (this->gyro_odr_ != LSM6DS_ODR_OFF && (status & 0x01)) { // GDA - Gyroscope data available uint8_t data[6]; if (this->read_register(0x22, data, 6)) {