alengwenus / esphome_components

External components for ESPHome
GNU General Public License v3.0
29 stars 9 forks source link

Introduce RX indicator #8

Closed syssi closed 2 years ago

syssi commented 2 years ago
sml:
  - id: sml0
    uart_id: uart0
    rx_led_pin: GPIO1
  - id: sml1
    uart_id: uart1
    rx_led_pin: GPIO32
  - id: sml2
    uart_id: uart2
    rx_led_pin: GPIO16
alengwenus commented 2 years ago

I think we could also use the on_message trigger of the logger component to have an led indicate receiving of new SML messages?

syssi commented 2 years ago

Yes. If we are able to identify a specific log message about a received message this should work too. Feel free to close this PR if you don't like this approach. I've used the SMLreader project in the past and I like to have some LED indicator to verify everything is working as expected.