Archive

Doorbell home automation (Kodi)

When someone rings, the camera feed pops up over whatever is playing on Kodi.

The existing doorbell got a camera: when someone rings, Kodi shows who’s at the door on the TV.

How it works

  • An Arduino is wired to the doorbell button and connected to the home network.
  • A press opens an HTTP link on a web server running on a Raspberry Pi next to Kodi.
  • A PHP script, zvono.php, tells Kodi to launch the Camera Overlay add-on and show the network camera feed.
  • The script needs Kodi’s username, password and IP address, and Remote and Web Access must be enabled in Kodi.

In my setup the Arduino first triggers openHAB, which sends an email alert and then calls the PHP script.

This is an archived project, first published on 2 June 2016.