Open jkeilson opened 7 months ago
My initial post was light on details. I tried installing using the web installer and the esphome CLI with your yaml. Both "succeeded", but then the device would not visibly start up, and I've captured the text output above. Based on your comment in issue 10, I figured it could be faulty hardware, but then went to flash with something else, and was able to successfully flash it the UIFlow firmware, and even get sensor readings, so I'm not inclined to believe that the hardware is faulty. I think the more likely case is that there's a new hardware revision that is poorly documented/communicated by the M5stack folks:
SKU:K023 vs K023-B (which is what I have)
The key difference seems to be that the sensor changes from the SHT20 to the SHT30, but maybe there's other stuff too. In any case, the i2c address is different (0x40 vs 0x45) and I can't imagine that the SHT20 library included will work. Would you prefer to close this as out of scope? I can fork and try to work through it, though I'd appreciate your expertise.
Thanks for figuring this out, @jkeilson! I would be happy to accept a PR adding support for this new hardware revision. The sensor seems to be supported by ESPHome in the sht3xd platform.
Trying to just install doesn't work right now and just boot loops. Am I missing something, or is this just user error?