Hello, here I will share with you some info about how I managed to automatize my doorbell with Kodi.
First of all, you need to setup the Camera Overlay in Kodi and add a Network Camera to the Add-on. You can find more info and Add-on for Camera here:
When you Successfully finished the first step, you need to find a way to trigger the Add-On. This step will be a little bit confusing and will vary by each one of you depending of your Doorbell setup. My Doorbell is just a normal doorbell setup on which I installed an Arduino connected to my Home Local Network. When the doorbell button is pressed, Arduino automatically opens a HTTP link on a Web Server that is running on Raspberry Pi along with the Kodi. This HTTP link is an PHP Script that triggers the Camera Overlay.
In my System, there is one more step which is not important for you to setup this. Also, my Arduino first triggers OpenHab which then sends me an E-Mail and triggers the PHP Script and Kodi.
Also, its Simple. You need to Trigger this PHP Script (on some Web Server on your home network) every time the doorbell button is pressed.
You can download here the PHP Script: doorbell_script. The file you need to execute is “zvono.php”. In file “zvono.php” change this line: $params = ‘xbmc:xbmc@IP_ADDRESS:8080’; with your username and password and the IP Address of Kodi. Ensure that you have enabled the Remote and Web Access in Kodi.
That is. I hope I helped a little bit. If you need more help about the Arduino and triggering the link, write me a comment. Regards!