Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buzzer13/esphome-components
Custom ESPHome component repository
https://github.com/buzzer13/esphome-components
esphome esphome-component
Last synced: about 11 hours ago
JSON representation
Custom ESPHome component repository
- Host: GitHub
- URL: https://github.com/buzzer13/esphome-components
- Owner: buzzer13
- License: gpl-3.0
- Created: 2023-06-12T21:01:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-26T02:39:14.000Z (10 months ago)
- Last Synced: 2024-01-26T03:34:00.625Z (10 months ago)
- Topics: esphome, esphome-component
- Language: C++
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESPHome custom components
This repository contains a collection of my custom components for [ESPHome](https://github.com/esphome/esphome).
## Usage
Add this to your `.yaml` file:
```yaml
external_components:
- source: github://buzzer13/esphome-components@main
```## Components
### `tm1650`
7-segment LED display driver component.
Based on the [TM1637 ESPHome component](https://github.com/esphome/esphome/tree/dev/esphome/components/tm1637) and [analysis of 303WIFILC01 clock](https://github.com/maarten-pennings/303WIFILC01).
#### Example
Check out [`example_tm1650.yaml`](example_tm1650.yaml) or code below:
```yaml
external_components:
- source: github://buzzer13/esphome-components@main
components:
- tm1650time:
- platform: homeassistant
id: tm_hassi2c:
- id: i2c_main
sda: 13
scl: 12
scan: truedisplay:
- platform: tm1650
id: disp_tm1650
# i2c_id: i2c_main
# intensity: 1
# length: 4
# mode: 0
# power: true
# segment_map: PABCDEFG
update_interval: 500ms
lambda: |-
static int dot = 0;if (++dot & 1) {
it.strftime("%H.%M", id(tm_hass).now());
} else {
it.strftime("%H%M", id(tm_hass).now());
}
```#### Configuration for 303WIFILC01 clock
There are two sample configurations for the clock in this repository:
- [Minimal config](config_303wifilc01_minimal.yaml). Configures basic time sync, status led and display.
- [Full config](config_303wifilc01_full.yaml). Includes everything from minimal config plus:
- Handles **Set/Up/Down** push buttons (mapped to the display brightness control by default).
- Automatically turns off display at night and startup from 12 AM till 8 AM.
- Displays multiple text strings pulled from Home Assistant API.
- Exposes following configuration switches to the Home Assistant:
- Display brightness (current, day and night).
- Time and text display timeouts in seconds.