esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
408 stars 26 forks source link

Support for Adafruit MSA301/MSA311 Accelerometer #2648

Open lboue opened 5 months ago

lboue commented 5 months ago

Describe the problem you have/What new integration you would like Add support for Adafruit MSA301/MSA311 Accelerometer in ESPHome

The MSA311 is a super small and low-cost triple-axis accelerometer. It's inexpensive, but has just about every 'extra' you'd want in an accelerometer:

The MSA311 is very similar to the MSA301, but is not a drop-in replacement. The I2C address has changed from 0x26 to 0x62!

Please describe your use case for this integration and alternatives you've tried:

Arduino library

CircuitPython library

Additional context

latonita commented 2 months ago

@lboue I'm on it. got a device finally.

lboue commented 2 months ago

Thanks @latonita

latonita commented 2 months ago

@lboue some basic support added. few configuration options exposed.

lboue commented 2 months ago

Thank @latonita . It works fine.

latonita commented 2 months ago

@lboue welcome to check documentation https://github.com/esphome/esphome-docs/pull/3865

lboue commented 2 months ago

@lboue welcome to check documentation esphome/esphome-docs#3865

It's perfect. The level of detail is impressive. So it's very easy to understand.