Doorbird video doorbell binding

That was it!!

I used the admin-login and not the login for the device and the device had no API permission. Now everything works fine.

Thank you very much for the fast response and help!

1 Like

Ok i had put the wrong password. This bindding is amizing!! good work!! thank you!!

Hi Mark, thanks a lot for creating this binding, it is great.
I’m pretty new to OpenHAB and I’m only a sporadic Linux user, but I managed to follow the instructions a few weeks ago and installed it in my RPi2 OpenHabian.
I successfully created the items + sitemap and now I can see and control the different elements in Paper UI as well as in Basic UI.
I’m able to get all the different images control the light, but i’m NOT able to receive the events for the motion and doorbell channels, this is where I need some help.
Reading the comments above I double checked that I’m using the correct user-login (not admin login) and that both Doorbird and RPi2 are in the same network connected to the same unmanaged switch.
Looking into the logs I can see messages for for the image refreshing every 10 seconds or whenever I do an action like turn on light. But I never receive the motion or doorbell events.
I did a capture with wireshark to see if for some reason my switch was blocking UDP broadcast to the RPi2 but I was able to see the different UDP packages on ports 6524 and 35344.
My second guess is that the Sodium crypto library is not doing what it should to recognize this messages, but here is where my expertise is very basic since I almost never use linux.
The one thing I did was restart OH and check the logs to see if I could find any Libsodium or LazySodium errors that could tell me anything… I don’t really know what to look for. There are some messages in there around “getLazySodium” which do not seem like errors so I assume it is loading properly?

Below is the logfile (I removed most of the update image messages to avoid spamming):

2019-08-24 14:51:52.909 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_MotionDetectedImage-doorbird:d101:27701563:motionImage' has been added.

2019-08-24 14:51:52.918 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_SIP_Hangup-doorbird:d101:27701563:sipHangup' has been added.

2019-08-24 14:51:52.941 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_DoorbellHistoryIndex-doorbird:d101:27701563:doorbellHistoryIndex' has been added.

2019-08-24 14:51:52.946 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_DoorbellMontage-doorbird:d101:27701563:doorbellMontage' has been added.

2019-08-24 14:51:52.960 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_Restart-doorbird:d101:27701563:restart' has been added.

2019-08-24 14:51:52.985 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_DoorbellHistoryImage-doorbird:d101:27701563:doorbellHistoryImage' has been added.

2019-08-24 14:51:53.009 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_MotionHistoryIndex-doorbird:d101:27701563:motionHistoryIndex' has been added.

2019-08-24 14:51:53.019 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_PressedImage-doorbird:d101:27701563:doorbellImage' has been added.

2019-08-24 14:51:53.034 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_MotionHistoryImage-doorbird:d101:27701563:motionHistoryImage' has been added.

2019-08-24 14:51:53.040 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_Motion-doorbird:d101:27701563:motion' has been added.

2019-08-24 14:51:53.053 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_Image-doorbird:d101:27701563:image' has been added.

2019-08-24 14:51:53.065 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_MotionHistoryTimestamp-doorbird:d101:27701563:motionHistoryTimestamp' has been added.

2019-08-24 14:51:53.081 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_Get_DoorbellMontage-doorbird:d101:27701563:getDoorbellMontage' has been added.

2019-08-24 14:51:53.087 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_DoorbellHistoryTimestamp-doorbird:d101:27701563:doorbellHistoryTimestamp' has been added.

2019-08-24 14:51:53.091 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_OpenDoor1-doorbird:d101:27701563:openDoor1' has been added.

2019-08-24 14:51:53.099 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_PressedTimestamp-doorbird:d101:27701563:doorbellTimestamp' has been added.

2019-08-24 14:51:53.108 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_Pressed-doorbird:d101:27701563:doorbell' has been added.

2019-08-24 14:51:53.113 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_MotionTimestamp-doorbird:d101:27701563:motionTimestamp' has been added.

2019-08-24 14:51:53.121 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_GetImage-doorbird:d101:27701563:getImage' has been added.

2019-08-24 14:51:53.124 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_Light-doorbird:d101:27701563:light' has been added.

2019-08-24 14:51:53.143 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_MotionMontage-doorbird:d101:27701563:motionMontage' has been added.

2019-08-24 14:51:53.168 [.ItemChannelLinkAddedEvent] - Link 'Doorbell_Get_MotionMontage-doorbird:d101:27701563:getMotionMontage' has been added.

2019-08-24 14:51:53.410 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_doorbellTimestamp-doorbird:d101:27701563:doorbellTimestamp' has been added.

2019-08-24 14:51:53.483 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_doorbellImage-doorbird:d101:27701563:doorbellImage' has been added.

2019-08-24 14:51:53.619 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_openDoor1-doorbird:d101:27701563:openDoor1' has been added.

2019-08-24 14:51:53.652 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_motion-doorbird:d101:27701563:motion' has been added.

2019-08-24 14:51:54.044 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_image-doorbird:d101:27701563:image' has been added.

2019-08-24 14:51:54.314 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_imageTimestamp-doorbird:d101:27701563:imageTimestamp' has been added.

2019-08-24 14:51:54.351 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_motionHistoryIndex-doorbird:d101:27701563:motionHistoryIndex' has been added.

2019-08-24 14:51:54.549 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_motionHistoryImage-doorbird:d101:27701563:motionHistoryImage' has been added.

2019-08-24 14:51:54.621 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_sipHangup-doorbird:d101:27701563:sipHangup' has been added.

2019-08-24 14:51:54.648 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_getMotionMontage-doorbird:d101:27701563:getMotionMontage' has been added.

2019-08-24 14:51:54.659 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_motionMontage-doorbird:d101:27701563:motionMontage' has been added.

2019-08-24 14:51:54.676 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_getImage-doorbird:d101:27701563:getImage' has been added.

2019-08-24 14:51:54.744 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_motionTimestamp-doorbird:d101:27701563:motionTimestamp' has been added.

2019-08-24 14:51:54.774 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_doorbellHistoryImage-doorbird:d101:27701563:doorbellHistoryImage' has been added.

2019-08-24 14:51:54.778 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_restart-doorbird:d101:27701563:restart' has been added.

2019-08-24 14:51:54.860 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_doorbellHistoryIndex-doorbird:d101:27701563:doorbellHistoryIndex' has been added.

2019-08-24 14:51:55.074 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_motionHistoryTimestamp-doorbird:d101:27701563:motionHistoryTimestamp' has been added.

2019-08-24 14:51:55.096 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_doorbellHistoryTimestamp-doorbird:d101:27701563:doorbellHistoryTimestamp' has been added.

2019-08-24 14:51:55.163 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_light-doorbird:d101:27701563:light' has been added.

2019-08-24 14:51:55.190 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_getDoorbellMontage-doorbird:d101:27701563:getDoorbellMontage' has been added.

2019-08-24 14:51:55.209 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_motionImage-doorbird:d101:27701563:motionImage' has been added.

2019-08-24 14:51:55.254 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_doorbell-doorbird:d101:27701563:doorbell' has been added.

2019-08-24 14:51:55.289 [.ItemChannelLinkAddedEvent] - Link 'doorbird_d101_27701563_doorbellMontage-doorbird:d101:27701563:doorbellMontage' has been added.

2019-08-24 14:52:06.696 [hingStatusInfoChangedEvent] - 'doorbird:d101:27701563' changed from UNINITIALIZED to INITIALIZING

2019-08-24 14:52:06.826 [hingStatusInfoChangedEvent] - 'doorbird:d101:27701563' changed from INITIALIZING to UNKNOWN

2019-08-24 14:52:11.759 [WARN ] [core.thing.internal.ThingManagerImpl] - Initializing handler for thing 'doorbird:d101:27701563' takes more than 5000ms.

2019-08-24 14:52:36.970 [hingStatusInfoChangedEvent] - 'doorbird:d101:27701563' changed from UNKNOWN to ONLINE

2019-08-24 14:52:49.545 [vent.ItemStateChangedEvent] - doorbird_d101_27701563_image changed from NULL to raw type (image/jpeg): 29339 bytes

2019-08-24 14:52:49.557 [vent.ItemStateChangedEvent] - Doorbell_Image changed from NULL to raw type (image/jpeg): 29339 bytes

2019-08-24 14:52:49.560 [vent.ItemStateChangedEvent] - doorbird_d101_27701563_imageTimestamp changed from NULL to 2019-08-24T14:52:49.000+0200

2019-08-24 15:03:44.151 [vent.ItemStateChangedEvent] - doorbird_d101_27701563_image changed from raw type (image/jpeg): 29463 bytes to raw type (image/jpeg): 29715 bytes

2019-08-24 15:03:44.162 [vent.ItemStateChangedEvent] - Doorbell_Image changed from raw type (image/jpeg): 29463 bytes to raw type (image/jpeg): 29715 bytes

2019-08-24 15:03:44.175 [vent.ItemStateChangedEvent] - doorbird_d101_27701563_imageTimestamp changed from 2019-08-24T15:03:34.000+0200 to 2019-08-24T15:03:44.000+0200

	at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.getLazySodiumJavaInstance(DoorbirdEvent.java:100) ~[?:?]

	at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.decryptV1(DoorbirdEvent.java:181) ~[?:?]

	at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.decrypt(DoorbirdEvent.java:159) ~[?:?]

	at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.processPacket(DoorbirdUdpListener.java:113) ~[?:?]

	at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.receivePackets(DoorbirdUdpListener.java:90) ~[?:?]

	at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.run(DoorbirdUdpListener.java:64) ~[?:?]

	at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.loadLazySodiumJava(DoorbirdEvent.java:83) ~[?:?]

	at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.<clinit>(DoorbirdEvent.java:77) ~[?:?]

	at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.loadLazySodiumJava(DoorbirdEvent.java:83) ~[?:?]

	at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.<clinit>(DoorbirdEvent.java:77) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.loadLazySodiumJava(DoorbirdEvent.java:83) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.<clinit>(DoorbirdEvent.java:77) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.getLazySodiumJavaInstance(DoorbirdEvent.java:100) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.decryptV1(DoorbirdEvent.java:181) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.decrypt(DoorbirdEvent.java:159) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.processPacket(DoorbirdUdpListener.java:113) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.receivePackets(DoorbirdUdpListener.java:90) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.run(DoorbirdUdpListener.java:64) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.loadLazySodiumJava(DoorbirdEvent.java:83) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.<clinit>(DoorbirdEvent.java:77) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.getLazySodiumJavaInstance(DoorbirdEvent.java:100) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.decryptV1(DoorbirdEvent.java:181) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.decrypt(DoorbirdEvent.java:159) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.processPacket(DoorbirdUdpListener.java:113) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.receivePackets(DoorbirdUdpListener.java:90) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.run(DoorbirdUdpListener.java:64) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.loadLazySodiumJava(DoorbirdEvent.java:83) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent$LazySodiumJavaHolder.<clinit>(DoorbirdEvent.java:77) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.getLazySodiumJavaInstance(DoorbirdEvent.java:100) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.decryptV1(DoorbirdEvent.java:181) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdEvent.decrypt(DoorbirdEvent.java:159) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.processPacket(DoorbirdUdpListener.java:113) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.receivePackets(DoorbirdUdpListener.java:90) ~[?:?]

		at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.run(DoorbirdUdpListener.java:64) ~[?:?]

2019-08-24 15:03:54.224 [vent.ItemStateChangedEvent] - doorbird_d101_27701563_image changed from raw type (image/jpeg): 29715 bytes to raw type (image/jpeg): 30052 bytes

2019-08-24 15:03:54.248 [vent.ItemStateChangedEvent] - Doorbell_Image changed from raw type (image/jpeg): 29715 bytes to raw type (image/jpeg): 30052 bytes

2019-08-24 15:03:54.254 [vent.ItemStateChangedEvent] - doorbird_d101_27701563_imageTimestamp changed from 2019-08-24T15:03:44.000+0200 to 2019-08-24T15:03:54.000+0200

2019-08-24 15:04:04.295 [vent.ItemStateChangedEvent] - doorbird_d101_27701563_image changed from raw type (image/jpeg): 30052 bytes to raw type (image/jpeg): 29735 bytes

Any recommendations on how I can verify that the library is loading correctly and properly working? Any idea on where I should look?

Again, thanks a lot!

I can see that the UDP packets are being received. However, it looks like it’s failing to load the LazySodium crypto library.

What version of the doorbird-deps do you have in your addons directory?

I just pushed a new version of the dependency libraries. I don’t think libsodium was compiled for armv6 in the version you have.

https://github.com/mhilbush/openhab-binding-releases/raw/master/doorbird/doorbird-deps-1.0.5.jar

Hi Mark, thanks for the fast answer.
I was just able to check today and indeed I had v1.0.2 installed.
So I uninstalled the binding in Paper UI downloaded the 1.0.5 version and replaced the .jar file in the plugins folder. After restarting OH2 I’m no longer able to see the doorbird binding.
Am I missing something?

Sorry, we’ve been reworking how the library dependencies are handled. Can you download all the jar files located here and put them in your addons directory.

1 Like

It seems that did the trick!
I was able to see the binding again in Paper UI and just had to modify my items a little bit.
I already had one motion event but I will do a more thorough test tomorrow for motion and doorbell.

Thanks a lot!

2019-08-26 23:15:19.165 [nt.ItemStatePredictedEvent] - Doorbell_Motion predicted to become ON

2019-08-26 23:15:19.173 [vent.ItemStateChangedEvent] - doorbird_d101_d6d7ba24_motionTimestamp changed from 2019-08-26T18:47:23.000+0200 to 2019-08-26T23:15:18.000+0200

2019-08-26 23:15:19.180 [vent.ItemStateChangedEvent] - Doorbell_Motion changed from NULL to ON

2019-08-26 23:15:22.057 [vent.ChannelTriggeredEvent] - doorbird:d101:d6d7ba24:motion triggered UNTRIGGERED

2019-08-26 23:15:22.065 [ome.event.ItemCommandEvent] - Item ‘Doorbell_Motion’ received command OFF

2019-08-26 23:15:22.081 [nt.ItemStatePredictedEvent] - Doorbell_Motion predicted to become OFF

2019-08-26 23:15:22.103 [vent.ItemStateChangedEvent] - Doorbell_Motion changed from ON to OFF

2 Likes

Has anyone got the Doorbird video to work using a SIP client when taking a SIP call from the unit? I can get voice to work, but cannot get video to work with freepbx/zoiper

When pressing the doorbell no event will be triggered.
I can see the following lines in the debug log:

22:24:09.902 [DEBUG] [rbird.internal.listener.DoorbirdEvent] - Event is eventId='1', intercomId='XXXXXX', timestamp=1568319848
22:24:09.905 [DEBUG] [internal.listener.DoorbirdUdpListener] - Unknown doorbell event type: 1

Motion events are working normally.

@oeiber In the doorbird thing config, what did you put in the Doorbird Identifier parameter? If it’s not a 1 , try changing it to 1 .

You‘re right, there‘s a alphanummerical value (spa01) in the binding‘s id setting. I’m currently on vacation, but I‘ll tell you the result next week.
May I ask you what you‘re using the id setting in your code for? As far as I know the thing id can also be used for uniqueness.
Thank you for your help!

Sure. Doorbirds publish doorbell-pressed and motion events on the same UDP port. Therefore, if you have multiple Doorbirds, each thing handler needs a way to know if the event is for the Doorbird represented by that thing/thing handler.

I do think it’s odd that only the doorbell pressed event uses the Doorbird Id. If you have multiple Doorbirds, it’s unclear what would happen with motion events. Possibly both thing handlers might report the motion. :frowning: As I only have one Doorbird, I really can’t test this. But, I’ll take another look at the API spec, as I might be interpreting something incorrectly.

After changing it to 1, it’s still the same: only motion events where triggered.

That’s odd. Can you provide a debug log?

Hello @mhilbush,

I like your work, but i have a small problem.

I have 2 Doorbirds model D2101KV.
If I configure 1 it works perfectly. But when I add a second one.
The second one doesn’t work. But the first one keeps on working.

Then i tried to remove both and add the second one first this time, now it works perfect.
When i add the first one now. The first one doesn’t work now, but te second one is still working.

So basically i can’t get 2 doorbirds to work @ the same time. But they work perfect when there’s only one configured at a time.

Can you help me out?

This probably is the first time more than one Doorbird has been tried, so you’re in untested territory. Hopefully we can get to the bottom of it.

When you say it doesn’t work, what exactly do you mean? Does it totally not work, or is it just the doorbell and motion events that don’t work?

Currently I only tried to use Doorbell and Motion and did not work. (Only works on the first doorbird i add)
I will test if other Items work and post the feedback asap.

Some extra info:
Both Doors appear online in PaperUi under Things.
How i added them:
doorbird:d210x:doorbell1
“Doorbird D210x Doorbell”
[
doorbirdId=“1”,
doorbirdHost=“bha-”,
userId="",
userPassword="",
imageRefreshRate=120,
doorbellOffDelay=2,
motionOffDelay=60
]
doorbird:d210x:doorbell2
“Doorbird D210x Doorbell”
[
doorbirdId=“2”,
doorbirdHost=“bha-”,
userId="",
userPassword="",
imageRefreshRate=120,
doorbellOffDelay=2,
motionOffDelay=60
]

Thanks.

If it’s just the doorbell and motion events that are not working, then I know where to look first.

Can you capture a debug log that shows a press of each of the doorbells? In the console…

log:set DEBUG org.openhab.binding.doorbird

Here is the log on reboot:

2019-09-30 17:14:57.085 [hingStatusInfoChangedEvent] - ‘doorbird:d210x:doorbell1’ changed from UNINITIALIZED to INITIALIZING
2019-09-30 17:14:57.112 [hingStatusInfoChangedEvent] - ‘doorbird:d210x:doorbell1’ changed from INITIALIZING to UNKNOWN

2019-09-30 17:14:57.118 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Got command REFRESH for channel doorbird:d210x:doorbell1:doorbell of thing doorbird:d210x:doorbell1
2019-09-30 17:14:57.120 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Scheduled job to refresh image channel every 120 seconds
2019-09-30 17:14:57.123 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Scheduled listener job to start in 5 seconds
2019-09-30 17:14:57.131 [hingStatusInfoChangedEvent] - ‘doorbird:d210x:doorbell1’ changed from UNKNOWN to ONLINE
2019-09-30 17:14:57.158 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Scheduled job to refresh image channel every 120 seconds
2019-09-30 17:14:57.159 [hingStatusInfoChangedEvent] - ‘doorbird:d210x:doorbell2’ changed from INITIALIZING to UNKNOWN
2019-09-30 17:14:57.160 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Scheduled listener job to start in 5 seconds
2019-09-30 17:14:57.164 [hingStatusInfoChangedEvent] - ‘doorbird:d210x:doorbell2’ changed from UNINITIALIZED to INITIALIZING
2019-09-30 17:14:57.173 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Got command REFRESH for channel doorbird:d210x:doorbell2:doorbell of thing doorbird:d210x:doorbell2
2019-09-30 17:14:57.186 [hingStatusInfoChangedEvent] - ‘doorbird:d210x:doorbell2’ changed from UNKNOWN to ONLINE
2019-09-30 17:15:02.131 [DEBUG] [nternal.listener.DoorbirdUdpListener] - Listener got UDP socket on port 6524 with timeout 3000
2019-09-30 17:15:02.167 [DEBUG] [nternal.listener.DoorbirdUdpListener] - Listener got SocketException: Address already in use (Bind failed)
java.net.BindException: Address already in use (Bind failed)
at java.net.PlainDatagramSocketImpl.bind0(Native Method) ~[?:?]
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:93) ~[?:?]
at java.net.DatagramSocket.bind(DatagramSocket.java:392) ~[?:?]
at java.net.DatagramSocket.(DatagramSocket.java:242) ~[?:?]
at java.net.DatagramSocket.(DatagramSocket.java:299) ~[?:?]
at java.net.DatagramSocket.(DatagramSocket.java:271) ~[?:?]
at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.receivePackets(DoorbirdUdpListener.java:77) [204:org.openhab.binding.doorbird:2.5.0.201908251445]
at org.openhab.binding.doorbird.internal.listener.DoorbirdUdpListener.run(DoorbirdUdpListener.java:64) [204:org.openhab.binding.doorbird:2.5.0.201908251445]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2019-09-30 17:15:05.125 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Downloading image using url=http://bha-1CCAE372068F/bha-api/image.cgi
2019-09-30 17:15:05.161 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Downloading image using url=http://bha-1CCAE37205F9/bha-api/image.cgi
2019-09-30 17:15:05.224 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - HTTP GET failed: 404, Not Found
2019-09-30 17:15:05.247 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - HTTP GET failed: 404, Not Found
2019-09-30 17:17:05.227 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Downloading image using url=http://bha-1CCAE372068F/bha-api/image.cgi
2019-09-30 17:17:05.257 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Downloading image using url=http://bha-1CCAE37205F9/bha-api/image.cgi
2019-09-30 17:17:05.298 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - HTTP GET failed: 404, Not Found
2019-09-30 17:17:05.329 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - HTTP GET failed: 404, Not Found

Motion on first Doorbird (Working)

2019-09-30 17:21:21.773 [DEBUG] [r.DoorbirdEvent$LazySodiumJavaHolder] - LazySodium has not been loaded yet. Try to load it now.
2019-09-30 17:21:22.333 [DEBUG] [r.DoorbirdEvent$LazySodiumJavaHolder] - Successfully loaded bundled libsodium crypto library!!
2019-09-30 17:21:22.358 [DEBUG] [bird.internal.listener.DoorbirdEvent] - Received and successfully decrypted a Doorbird event!!
2019-09-30 17:21:22.360 [DEBUG] [bird.internal.listener.DoorbirdEvent] - Event is eventId=‘motion’, intercomId=‘ghfjwx’, timestamp=1569856881
2019-09-30 17:21:22.362 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Handler: Update MOTION channels for thing doorbird:d210x:doorbell1
2019-09-30 17:21:22.364 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Downloading image using url=http://bha-1CCAE372068F/bha-api/image.cgi
2019-09-30 17:21:22.375 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - HTTP GET failed: 404, Not Found
2019-09-30 17:21:22.384 [vent.ChannelTriggeredEvent] - doorbird:d210x:doorbell1:motion triggered TRIGGERED

Doorbell on first Doorbird (Working)

2019-09-30 17:23:09.002 [DEBUG] [bird.internal.listener.DoorbirdEvent] - Received and successfully decrypted a Doorbird event!!
2019-09-30 17:23:09.005 [DEBUG] [bird.internal.listener.DoorbirdEvent] - Event is eventId=‘1’, intercomId=‘ghfjwx’, timestamp=1569856988
2019-09-30 17:23:09.008 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Handler: Update DOORBELL channels for thing doorbird:d210x:doorbell1
2019-09-30 17:23:09.011 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - Downloading image using url=http://bha-1CCAE372068F/bha-api/image.cgi
2019-09-30 17:23:09.024 [DEBUG] [ng.doorbird.internal.DoorbirdHandler] - HTTP GET failed: 404, Not Found
2019-09-30 17:23:09.036 [vent.ChannelTriggeredEvent] - doorbird:d210x:doorbell1:doorbell triggered PRESSED
2019-09-30 17:23:09.043 [DEBUG] [ternal.profile.DoorbirdSwitchProfile] - DoorbirdSwitchProfile handling trigger event PRESSED

Actions on the second doorbird creates no logging.