https://github.com/svrooij/esphome-components
A collection of custom ESP home components
https://github.com/svrooij/esphome-components
Last synced: 23 days ago
JSON representation
A collection of custom ESP home components
- Host: GitHub
- URL: https://github.com/svrooij/esphome-components
- Owner: svrooij
- License: mit
- Created: 2023-07-11T08:09:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-29T13:16:45.000Z (over 1 year ago)
- Last Synced: 2025-02-14T07:17:47.116Z (3 months ago)
- Language: C++
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esphome-components
A collection of custom ESP home components following the [External components](https://esphome.io/components/external_components.html) repository style.
## MPU6050
This MPU6050 component uses the build in motion detection instead off pulling. This makes the sensor a little bit less chatty, since it will only send data when it detects movement.
ESPHome config
```yml
external_components:
# use all components from a local folder
# - source:
# type: local
# path: my_components
- source: github://svrooij/esphome-components@main
components: [ mpu6050 ]
sensor:
- platform: mpu6050
accel_x:
name: "MPU6050 Accel X"
id: accel_x_int
filters:
- offset: 0.153
accel_y:
name: "MPU6050 Accel Y"
id: accel_y_int
# filters:
# - offset: -2.68
accel_z:
name: "MPU6050 Accel Z"
id: accel_z_int
filters:
- offset: -9.989
gyro_x:
name: "MPU6050 Gyro X"
filters:
- throttle_average: 5s
gyro_y:
name: "MPU6050 Gyro Y"
filters:
- throttle_average: 5s
gyro_z:
name: "MPU6050 Gyro Z"
filters:
- throttle_average: 5s
temperature:
name: "MPU6050 Temperature"
filters:
- throttle_average: 5s
```See [full example](./example_mpu6050.yml).