esphome / firmware

Holds firmware configuration files for projects that the ESPHome team provides.
https://esphome.io/projects
Apache License 2.0
152 stars 116 forks source link

Timers on box #210

Closed jlpouffier closed 3 months ago

jlpouffier commented 3 months ago

FONCTIONALITIES

Timers on the S3 Boxes, only the micro-wake-word variations, we will deprecate the non-micro-wake-word soon. The Split was initially done to avoid long compilation times of the micro-wake-word component on a low-powered machine. OTA fixes that, we do not need to support both variations.

Timer timeline

A timeline will be visible to represent the state of the timer CleanShot 2024-06-24 at 18 16 01

Where?

How does the timeline work?

Q&A

Timer Widget

CleanShot 2024-06-24 at 18 20 56

Where

How does the widget work?

Q&A

Timer end behavior

When a timer ends, many things happen

Q&A

TODO LIST FOR THIS PR

touchscreen: platform: gt911 display: s3_box_lcd id: s3_box_touchscreen interrupt_pin: GPIO3 on_touch:

However, on the original box, the interupt_pin was working only once, and the touch even was never registered again. So I fell back to a more dirty approach: I used the update_interval and updated the touchscreen component every 50ms. If any of you can find out why the inputerp_pin is not working on the original S3-BOX, that would be great

touchscreen:
  platform: tt21100
  display: s3_box_lcd
  id: s3_box_touchscreen
  update_interval: 50ms
  on_touch:
    - switch.turn_off: timer_ringing