customized sensors on ESP Home, triggered by TTL messages of Xiaomi BT gateway.
https://github.com/nldroid/CustomP1UartComponent https://esphome.io/custom/uart.html
- edit the .h file; I have one of Zelkova K1 smart-lock, one of BT temp&humi 2, and two of Flora Sensors (HHCCJCY01). you should modify the codes according to your configurations.
- edit yaml match the content of .h file.
- upload
- '[E][uart:096]: Reading from UART timed out at byte 0!' on every ttl message.
- timestamp not converted to readable format.
- keyid not converted to readable format.