I have setup that provides Obihai phone details to my Home Assistance instance.
It provides details like:
- Each line status if device supports multiple lines
- Call status
- Call history with inbound/outbound indication
I have telegram notifications setup in Home Assistant so my family gets notified for any incoming call while we are not at home. I have AppDaemon app to handle status change and then send notifications.
Some technical details:
I am listening system logs events from Obihai device to analyze all kind of activity happening there and then update Home Assistant as log it. There is a configuration file to fit your need. You can also configure to use opencnam web service to find out caller name from the number and update Home Assistant with name and number.
Here are the screenshots how it looks in Home Assistant:
Hope this helps someone, more details on how to use on my github: