DoorBird and IP Address

User avatar
boisy
Posts: 281
Joined: Tue Jun 25, 2013 12:43 pm

DoorBird and IP Address

Post 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?
kwijibo007
Posts: 331
Joined: Fri Sep 27, 2013 4:58 pm
Location: Melbourne, Australia

Re: DoorBird and IP Address

Post 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
User avatar
boisy
Posts: 281
Joined: Tue Jun 25, 2013 12:43 pm

Re: DoorBird and IP Address

Post by boisy »

Hey Pete,

Send me an email at boisy AT pitre DOT org and we'll start a correspondence there. Thanks!
User avatar
Korey
Posts: 888
Joined: Wed Jun 04, 2008 11:47 am
Location: Henderson, NV
Contact:

Re: DoorBird and IP Address

Post 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.
--
Korey
User avatar
boisy
Posts: 281
Joined: Tue Jun 25, 2013 12:43 pm

Re: DoorBird and IP Address

Post 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.
kwijibo007
Posts: 331
Joined: Fri Sep 27, 2013 4:58 pm
Location: Melbourne, Australia

Re: DoorBird and IP Address

Post by kwijibo007 »

Hi Boisy,

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

Pete
Post Reply

Return to “Doorbird”