Samfox2 / homebridge-doorbell

Apache License 2.0
4 stars 4 forks source link

Trigger doorbell from automation part of ios app #6

Closed haavardNO closed 6 years ago

haavardNO commented 7 years ago

Is it possible to add the possibility to trigger the doorbell from the automation part of the home app? If that was the case I could trigger the doorbell when a switch changes state. And by that trigger the door notification.

brownad commented 7 years ago

I don't think the doorbell works in the way you might expect.

Doorbell needs to be a service with another plugin, like a motion sensor.

You might be better off using a motion sensor instead of the doorbell.

Sent from my iPhone

On 18 Apr 2017, at 13:18, haavardNO notifications@github.com wrote:

Is it possible to add the possibility to trigger the doorbell from the automation part of the home app? If that was the case I could trigger the doorbell when a switch changes state. And by that trigger the door notification.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

haavardNO commented 7 years ago

I have several motion sensors already connected with zwave and indigo. And I have sensor connected to my doorbell. But I don't see a way to trigger the rich notification without a doorbell addition to homebridge. Or am I missing something?

Sendt fra min iPhone

Den 18. apr. 2017 kl. 15.11 skrev brownad notifications@github.com:

I don't think the doorbell works in the way you might expect.

Doorbell needs to be a service with another plugin, like a motion sensor.

You might be better off using a motion sensor instead of the doorbell.

Sent from my iPhone

On 18 Apr 2017, at 13:18, haavardNO notifications@github.com wrote:

Is it possible to add the possibility to trigger the doorbell from the automation part of the home app? If that was the case I could trigger the doorbell when a switch changes state. And by that trigger the door notification.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

brownad commented 7 years ago

Motion sensors also have notifications - I get updates from the doorbird camera as I placed it in the same room as the camera stream. Just switch it on in iOS to show notifications on your motion sensor.

brownad commented 7 years ago

I did this with my doorbird, have a look at my repo to see more

haavardNO commented 7 years ago

Can I use the doorbird plugin when I dont have a doorbird?

brownad commented 7 years ago

Doorbird nope it's tightly coupled to their apis

But you can use this sample plugin to see what works doesn't work.

As I understand you have to add a doorbell service to another service to make the doorbell work e.g. A camera

Sent from my iPhone

On 19 Apr 2017, at 08:05, haavardNO notifications@github.com wrote:

Can I use the doorbird plugin when I dont have a doorbird?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Samfox2 commented 6 years ago

Ok, I borrowed the camera-ffmpeg code from @KhaosT and added the doorbell service and a basic webserver to trigger it from „outside“. The device is recognized in home app and you can receive notifications - but the code is really messy. Maybe somebody has time to implement it as optional service class into the camera-ffmpeg plugin as it would be useable with many video doorbell setups :-)

https://github.com/Samfox2/homebridge-videodoorbell

Samfox2 commented 6 years ago

Does work now in homebridge-videodoorbell