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

Please add M5StickC display support to esphome #18

Closed
apolselli opened this issue Jun 22, 2019 · 20 comments
Closed

Please add M5StickC display support to esphome #18

apolselli opened this issue Jun 22, 2019 · 20 comments

Comments

@apolselli
Copy link

apolselli commented Jun 22, 2019

Hello. I am using a couple of M5StickC devices as esphome nodes, with sensors attached, deep_sleep, buttons, IR transmitter, etc.. Here’s one of my configs
https://github.com/apolselli/home-assistant-config/blob/master/esphome/m5stickc.yaml

It’s a pity that I still can’t use the internal display to show some sensors’ or system info.

Please add support for that display in esphome (a wonderful lib to integrate esp32 devices in home assistant). It should be very easy since the arduino code is already there... And of course, other components are welcome too.

Thank You

@apolselli
Copy link
Author

TFT LCD
Driver IC:ST7735S
Resolution:80 * 160
https://github.com/m5stack/M5-Schematic/blob/master/Core/ST7735S_v1.1.pdf

@apolselli
Copy link
Author

Please consider that esphome can become a killer application for M5StickC, when most of the components will be integrated.
Everyone wants external display, buttons and sensors for hassio / home assistant. Home assistant has millions of users. Esphome can act as a glue between esp prototyping boards and home automation enthusiasts. With no soldering required.

And they lived happily ever after.

@aenertia
Copy link

Have a look at my cobbled together hack at putting a display on the WLED project with the m5stickC:

https://github.com/aenertia/m5stickCLED/tree/master

@zhouyangyale
Copy link
Contributor

Hello, we will join later

@xppx99
Copy link

xppx99 commented Sep 19, 2019

Hello! I also have a few m5sticksC, for the money they cost they are of great value!
I'm looking forward to have it's screen suported in ESPHome

@tlrobinson
Copy link

Seconding, M5StickC and ESPHome seem like a perfect combination.

@davidtgbe
Copy link

+1. It Would be great!

@giuseppegimo
Copy link

I too am really interested in that. I bought an m5 stick and I hope to use it with esphome.

@fdev31
Copy link

fdev31 commented Jan 30, 2020

I am very interested as well.
With some guidance and/or time I could eventually use my coding skills on this. It's not the kind of task I already did and I'm new to ESPHome (a couple of days). I never wrote code to interface with a screen, only very basic devices, else I'm using libraries: if some developers can provide advices and/or code I could adapt it would be appreciated :)

@airy10
Copy link

airy10 commented Feb 13, 2020

You can check https://github.com/airy10/esphome-m5stickC (still a work in progress)

@apolselli
Copy link
Author

It works like a charm! Great job

FC76CB95-510A-4120-835E-2E4368D20255

@giuseppegimo
Copy link

Hi @apolselli . Could you please share your m5stick_thermostat code? thanks!

@davidtgbe
Copy link

Works perfect. I've had to copy arial.tft fonts to esphome folder. I've BLE module loaded and it is associated to a Xiaomi temp and humidity sensor (https://esphome.io/components/sensor/xiaomi_lywsdcgq.html). I'm trying to use it as an wireless thermostat to drive my boiler.
The only issue I'm experiencing is that mi5stickc seems to be restarting periodically. Display goes off for less than a second and then restarts.

@abmantis
Copy link

abmantis commented Mar 8, 2020

I've noticed that the IR stays ON after transmitting. Any tips on that?

@xppx99
Copy link

xppx99 commented Mar 14, 2020

I've noticed that the IR stays ON after transmitting. Any tips on that?

I also can reproduce this problem.

@sasanasit
Copy link

You can check https://github.com/airy10/esphome-m5stickC (still a work in progress)

is there a way to turn the display on and off?
thank you

@cromulus
Copy link

cromulus commented Jul 24, 2020

@airy10 +1 to turning display off. I want to use deep sleep mode, but the display is killing my battery life.

It appears that there is a display off command, which is different than the backlight (brightness)

M5.Lcd.writecommand(ILI9341_DISPOFF);
M5.Lcd.setBrightness(0);

Seen here: https://community.m5stack.com/topic/94/turn-off-display/6
Thanks!

@ejdan
Copy link

ejdan commented Oct 5, 2020

I've noticed that the IR stays ON after transmitting. Any tips on that?

You need to invert the transmitter:

remote_transmitter:
  pin:
    number: GPIO9
    inverted: true
  carrier_duty_percent: 50%

@Zontex
Copy link
Contributor

Zontex commented Nov 16, 2020

Seems like ESPHome support added by the community member, closing this issue for now

@Zontex Zontex closed this as completed Nov 16, 2020
@DougManuel
Copy link

Suggestion for disabling backlight:

martydingo/esphome-axp192#7

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

No branches or pull requests