Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Lilygo T-Embed device. WIP #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lmatter
Copy link
Contributor

@lmatter lmatter commented Jan 16, 2023

I basically works, but there are still some to-dos:

  1. figure out a back button solution (there is only one button)
  2. enable display on startup - I have to enable it via HomeAssitant (and power on as well)
  3. It also doesn't work until you configure it on HomeAssistant.
  4. Better fonts
  5. Battery support

@landonr
Copy link
Owner

landonr commented Jan 18, 2023

I wish I could get this working on a regular tdisplay s3! I tried a bunch of different configs but I can't get the display to work. ill look into getting a tembed!

@landonr
Copy link
Owner

landonr commented May 1, 2023

bought a tembed

@landonr
Copy link
Owner

landonr commented Jun 21, 2023

tembed was stolen from the mail

@landonr
Copy link
Owner

landonr commented Jun 21, 2023

tembed.txt
@sbur83 sent me this

@sbur83
Copy link
Collaborator

sbur83 commented Jun 21, 2023

Never mind what I was doing with the microphone there, mic on was a last ditch effort to get ADC to work for voice assistant using assist; no luck there but DAC is working for sound. The on boot lambda is what's needed, check the link at the bottom for detailed information on getting this kit working with esphome and overcoming the conflicting pin issue using fastled.
I will try the kit with homething when I get a minute, I'm thinking in the ipod binary sensor file we could add an on multipress function to toggle a template binary sensor and id it same as the rotary up pin but I'm just a hack with this stuff and lando will probably know of a more elegant way.

@landonr
Copy link
Owner

landonr commented Jun 22, 2023

this is what im using to do the select hold for detail on simple rotary encoders with a button

binary_sensor:
  - platform: gpio
    internal: true
    pin:
      number: 12
      inverted: true
      mode:
        input: true
        pullup: true
    id: sw1
    on_click:
      min_length: 5ms
      max_length: 350ms
      then:
      - lambda: |-
          id(homeThingMenu)->buttonPressSelect();
    on_multi_click:
    - timing:
        - ON for at least 0.5s
      then:
      - lambda: |-
          id(homeThingMenu)->buttonPressSelectHold();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants