Hi Matthew. I did get the display on my M5Stick working in ESPHome, though all I did was fill it with the color green until motion was detected by the TOF HAT and then the script would change the color to red for a few seconds. Unfortunately, somewhere along the way the device has disappeared from ESPHome so I don’t have the YAML.
But I’ve got two suggestions for you to try:
-
Try adding the AXP192 power management configuration lines from https://github.com/airy10/esphome-m5stickC/blob/6f4d842a2a2baf7e0b51ac90bcae1423af898de5/sample-config/m5stickc.yaml as the AXP192 controls the display’s brightness. It’s possible your display is working, but it’s so dim you can’t see it. There more on this topic at Do you have an m5stick-c working with current esphome? - #28 by wjcarpenter
-
Try removing the configuration lines for the infrared transmitter and the status LED. I vaguely recall that there was some weird conflict with one of those (I think it was the IR transmitter) and one of the other built-in components.