I’ve tried everything I can think of. Attempting to make a bedside keyboard to turn on and off lights with LED indicators. So far I cannot get any entity to show up other than firmware.
esphome:
name: 10-pad
friendly_name: 10Pad
esp32:
board: wemos_d1_mini32
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "***********************************"
ota:
- platform: esphome
password: "********************************"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "10-Pad Fallback Hotspot"
password: "**********"
captive_portal:
matrix_keypad:
id: mykeypad
rows:
- pin: GPIO3
- pin: GPIO1
columns:
- pin: GPIO0
- pin: GPIO4
- pin: GPIO5
- pin: GPIO2
- pin: GPIO14
keys: "123456789A"
has_diodes: false
on_key:
- lambda: ESP_LOGI("KEY", "key %d pressed", x);
binary_sensor:
- platform: matrix_keypad
id: key1
key: 1
icon: mdi:button-pointer
name: "Key1"
- platform: matrix_keypad
icon: mdi:button-pointer
name: "Key2"
id: key2
key: 2
- platform: matrix_keypad
icon: mdi:button-pointer
name: "Key3"
id: key3
key: 3
- platform: matrix_keypad
icon: mdi:button-pointer
name: "Key4"
id: key4
key: 4
- platform: matrix_keypad
icon: mdi:button-pointer
name: "Key5"
id: key5
key: 5
- platform: matrix_keypad
icon: mdi:button-pointer
name: "Key6"
id: key6
key: 6
- platform: matrix_keypad
icon: mdi:button-pointer
name: "Key7"
id: key7
key: 7
- platform: matrix_keypad
icon: mdi:button-pointer
name: "Key8"
id: key8
key: 8
- platform: matrix_keypad
icon: mdi:button-pointer
name: "Key9"
id: key9
key: 9
- platform: matrix_keypad
icon: mdi:button-pointer
name: "Key10"
id: keyA
key: A
light:
- platform: esp32_rmt_led_strip
chipset: WS2812
rgb_order: GRB
pin: 13
num_leds: 10
rmt_channel: 3
id: p10_rgb_led
name: 10P RGB LED
effects:
- random:
- flicker:
- addressable_rainbow:
- strobe:
- flicker:
name: Broad Flicker
alpha: 95%
intensity: 10%
- addressable_rainbow:
name: Fast Rainbow
speed: 50
- platform: partition
name: "10P LED 1"
id: led_1
segments:
- id: p10_rgb_led
from: 0
to: 0
- platform: partition
name: "10P LED 2"
id: led_2
segments:
- id: p10_rgb_led
from: 1
to: 1
- platform: partition
name: "10P LED 3"
id: led_3
segments:
- id: p10_rgb_led
from: 2
to: 2
- platform: partition
name: "10P LED 4"
id: led_4
segments:
- id: p10_rgb_led
from: 3
to: 3
- platform: partition
name: "10P LED 5"
id: led_5
segments:
- id: p10_rgb_led
from: 4
to: 4
- platform: partition
name: "10P LED 6"
id: led_6
segments:
- id: p10_rgb_led
from: 5
to: 5
- platform: partition
name: "10P LED 7"
id: led_7
segments:
- id: p10_rgb_led
from: 6
to: 6
- platform: partition
name: "10P LED 8"
id: led_8
segments:
- id: p10_rgb_led
from: 7
to: 7
- platform: partition
name: "10P LED 9"
id: led_9
segments:
- id: p10_rgb_led
from: 8
to: 8
- platform: partition
name: "10P LED 10"
id: led_10
segments:
- id: p10_rgb_led
from: 9
to: 9