Open Limych opened 4 months ago
Because the TM1638 is not an I2C device. You can't share the clock pin with the I2C bus. It doesn't work that way.
But it somehow works with the native firmware. And it works absolutely correctly.
While waiting for an answer, I studied the question in more detail. As I understand it, the operation of the I2C bus is temporarily suspended while communicating with the display.
The problem
I'm trying to update an outdoor temperature and humidity sensor to ESPHome. The device worked perfectly under Tuya. By analyzing the printed circuit board and using trial firmware, all internal elements were found.
Among others, there is an HTU21D sensor operating via an I2C bus and a display similar to the TM1638. They use a common clock pin (SCL for I2C, CLK for display)
When working separately, everything functions correctly. But when adding both components at the same time, the display does not work. Although no errors are given.
Which version of ESPHome has the issue?
2024.5.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.5.4
What platform are you using?
ESP8266
Board
Konlen WiFi TH Sensor (TYWE3S inside)
Component causing the issue
tm1638
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response