Several years ago I used ESPHome to set up a UART modem for picking up caller ID information and sending to HA for announcements, etc. It worked great, but recently this has stopped working and I cannot figure out why. I’m stuck and looking for any pointers.
What’s changed:
ESPHome updates.
Also, I use Ooma and had to replace the Telo box when the old one quit working.
I wasn’t paying enough attention to know exactly when it quit. I kind of suspect the Ooma box but not sure.
What I’ve tried:
Unplugging and replugging power and phone line
Plugging new phone cable, connected straight into Ooma box
Reflashed ESPHome firmware
Replaced modem module
Enabled UART debugging
None of this has made any difference
What happens now:
From the logs, I can see the modem gets the RING, so I think the modem is working.
However, there is no caller ID information received.
My phones still get the CID info, so I think the new Ooma box is sending it ok.
Logs:
[15:22:31][V][text_sensor:013]: ‘uart_readline’: Received new state RING
[15:22:31][D][text_sensor:064]: ‘uart_readline’: Sending state ‘RING’
[15:22:31][D][uart_debug:158]: <<< “RING\r\n”
[15:22:37][D][uart_debug:158]: <<< “\r\n”
[15:22:37][V][text_sensor:013]: ‘uart_readline’: Received new state RING
[15:22:37][D][text_sensor:064]: ‘uart_readline’: Sending state ‘RING’
[15:22:37][D][uart_debug:158]: <<< “RING\r\n”
[15:22:43][D][uart_debug:158]: <<< “\r\n”
ESPHome Config:
uart:
id: uart_bus
tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 9600
debug:
direction: BOTH
dummy_receiver: false
after:
delimiter: "\n"
sequence:
- lambda: UARTDebug::log_string(direction, bytes);