This script announces a DoorBird video doorbell via mDNS. It is meant to be used if the DoorBird is on a different subnet or VLAN and mDNS discovery therefore fails.
mDNS discovery is required to work for the DoorBird Android and iOS apps.
- Ensure you have
python3
andpip
installed. - cd into the
/opt
folder withcd /opt
- Clone the git repo with
sudo git clone https://github.com/florian-h05/doorbird-mdns-announcer.git
- Change ownership to your user with
sudo chown -R $USER:$USER doorbird-mdns-announcer
- cd into that folder with
cd doorbird-mdns-announcer
- Install dependencies with
pip install -r requirements.txt
- Set up the systemd service file (
nano doorbird-mdns-announcer.service
):- Replace
%USER
with your username. - Replace
%ANNOUNCE
with your DoorBird's mac and ip, format ismac/ip
- Optionally set up the interfaces.
- Replace
- Copy the systemd service file with
sudo cp doorbird-mdns-announcer.service /etc/systemd/system
- Enable and start the service with
sudo systemctl enable --now doorbird-mdns-announcer
usage: announcer.py [-h] -a ADVERTISE [-i INTERFACE]
options:
-h, --help show this help message and exit
-a ADVERTISE, --advertise ADVERTISE
<Required> Advertise DoorBird device, format is <mac>/<ipv4>
-i INTERFACE, --interface INTERFACE
Interfaces to advertise from given by their IP address(es)