Page 1 of 1

DoorBird and IP Address

PostPosted: Tue Jan 05, 2021 7:55 am
by boisy
To the author... thanks for writing the DoorBird plug-in. I'm using it with my D202B and I prefer to use hostnames instead of IP addresses to access my devices, and since my DoorBird is setup for DHCP, its IP address could change at any time.

I modified both the plugin.py and Devices.xml to indicate "Network address" instead of "IP address" and also commented out the code in plugin.py that checks for an IP address in the field. Now you can put either an IP address or a hostname and it works just fine. It's much more flexible this way.

I can forward the changes to the plug-in author. Is he still supporting the plugin?

Re: DoorBird and IP Address

PostPosted: Tue Jan 05, 2021 1:52 pm
by kwijibo007
Hi Boisy, I’d be happy to include the changes. What’s the best way get the changes to me?

Pete


Sent from my iPhone using Tapatalk

Re: DoorBird and IP Address

PostPosted: Tue Jan 05, 2021 6:40 pm
by boisy
Hey Pete,

Send me an email at boisy AT pitre DOT org and we'll start a correspondence there. Thanks!

Re: DoorBird and IP Address

PostPosted: Tue Jan 05, 2021 6:47 pm
by Korey
boisy wrote:
I prefer to use hostnames instead of IP addresses to access my devices, and since my DoorBird is setup for DHCP, its IP address could change at any time.


Why not use MAC address based DHCP Reservation?

Your devices will always get same IP you have assigned.

Re: DoorBird and IP Address

PostPosted: Tue Jan 05, 2021 9:04 pm
by boisy
That's an option, but I prefer names since I may want to change network addresses in the future.

Names are just more convenient.

Re: DoorBird and IP Address

PostPosted: Wed Jul 28, 2021 5:39 am
by kwijibo007
Hi Boisy,

I've added the requested changes in v1.1.0 of the plugin. Apologies for the delay.

Pete