Samfox2 / homebridge-doorbell

Apache License 2.0
4 stars 4 forks source link

Nothing happens #4

Closed RienduPre closed 6 years ago

RienduPre commented 7 years ago

Hi,

I followed your procedure, but nothing happens when I ring my DoorBird.

The DoorBird camera is visible in the Home App and I have a Doorbell accesoire, which states not supported

Any help is appreciated.

Thanks, Rien

brownad commented 7 years ago

You need to have the camera configured too using the ffmpeg plugin, have both accessories in the same room. When you restart homebridge it will fire off the event to take a screenshot and push to iOS.

The trigger on pressing anything does not exist. That needs wiring up the doorbird api. Something i want to do but have no time

Sent from my iPhone

On 20 Jan 2017, at 18:43, RdP notifications@github.com wrote:

Hi,

I followed your procedure, but nothing happens when I ring my DoorBird.

The DoorBird camera is visible in the Home App and I have a Doorbell accesoire, which states not supported

Any help is appreciated.

Thanks, Rien

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

RienduPre commented 7 years ago

I have the Doorbird camera using ffmpeg running and both are in the same room. Nothing happens when I restart the homebridge. What am I missing?

RienduPre commented 7 years ago

img_1934

brownad commented 7 years ago

Share your doorbell config Json please

Sent from my iPhone

On 21 Jan 2017, at 09:21, RdP notifications@github.com wrote:

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

RienduPre commented 7 years ago

Here you go

{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:32", "port": 51826, "pin": "031-45-134" }, "platforms": [ { "platform": "Camera-ffmpeg", "cameras": [ { "name": "Front Door", "videoConfig": { "source": "-re -i http://192.168.0.198:80/bha-api/video.cgi?http-user=user&http-password=pw", "maxStreams": 2, "maxWidth": 1280, "maxHeight": 720, "maxFPS": 6 } }, { "name": "Oprit", "videoConfig": { "source": "-re -i rtsp://user:pw!@192.168.0.197/11", "maxStreams": 2, "maxWidth": 1280, "maxHeight": 720, "maxFPS": 20 } } ] }, { "platform": "Doorbell", "doorbells": [ { "name": "Front Door" } ] },

ygageot commented 7 years ago

In my case I developed a Doorbell support in the Homewizard Homebridge plugin. Until 11/1/2017 it was working and in Home app I had smart notifications when button pushed. Since this date the Home app show the accessory as "non supported". When it was working, I used it with a doorbell button alone without HomeKit camera.

I discovered in Homekit Accessory Simulator that it was not possible to simulate an accessory with only Doorbell service but we had only "Video doorbell" a compound with IPcamera+CameraControl+Microphone+Speaker+Doorbell+MotionSensor by default... I think that Apple made changes recently preparing the new iOs version.

I am interested by any experience.

brownad commented 7 years ago

What does the compound look like? Didn't think it was possible to have all of that in one. Is it possible to stream doorbird audio?

Sent from my iPhone

On 25 Jan 2017, at 16:50, Gageot Yves notifications@github.com wrote:

In my case I developed a Doorbell support in the Homewizard Homebridge plugin. Until 11/1/2017 it was working and in Home app I had smart notifications when button pushed. Since this date the Home app show the accessory as "non supported". When it was working, I used it with a doorbell button alone without HomeKit camera.

I discovered in Homekit Accessory Simulator that it was not possible to simulate an accessory with only Doorbell service but we had only "Video doorbell" a compound with IPcamera+CameraControl+Microphone+Speaker+Doorbell+MotionSensor by default... I think that Apple made changes recently preparing the new iOs version.

I am interested by any experience.

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

ygageot commented 7 years ago

capture d ecran 4 capture d ecran 3 In Homekit Accessory Simulator when you create a Video Doorbell, you have automatically a Microphone and a Speaker as Linked Service by default but you can delete it... You can't delete the IP camera.

brownad commented 7 years ago

Never seen that before but very encouraging . Does it help to bring together the doorbird experience?

What doesn't work when this is used? Or is it just a simulator nothing more?

Sent from my iPhone

On 25 Jan 2017, at 17:54, Gageot Yves notifications@github.com wrote:

In Homekit Accessory Simulator when you create a Video Doorbell, you have automatically a Microphone and a Speaker as Linked Service by default but you can delete it... You can't delete the IP camera.

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

brownad commented 7 years ago

Does that mean a full video doorbell can be created?

Sent from my iPhone

On 25 Jan 2017, at 17:54, Gageot Yves notifications@github.com wrote:

In Homekit Accessory Simulator when you create a Video Doorbell, you have automatically a Microphone and a Speaker as Linked Service by default but you can delete it... You can't delete the IP camera.

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

brownad commented 7 years ago

@ygageot

I took a stab at making this work for the doorbird https://github.com/brownad/homebridge-doorbird

I'm not sure if calling the setValue is corrrect or this just no longer works. Can you help?

brownad commented 7 years ago

Actually it's working for me now 😀

Sent from my iPhone

On 25 Jan 2017, at 17:54, Gageot Yves notifications@github.com wrote:

In Homekit Accessory Simulator when you create a Video Doorbell, you have automatically a Microphone and a Speaker as Linked Service by default but you can delete it... You can't delete the IP camera.

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

RienduPre commented 7 years ago

Could you share some pictures?

I see this in the logging when I ring the Doorbird

2017-01-28_1047

But I don't see any device in my phone except the non supported device

brownad commented 7 years ago

Hi

It's firing off initially on first press after a restart, but I think it's random if it takes a picture at the moment so far 75% worked. Then I think I need to reset state, not sure how to do this correctly yet. Have asked a question on it.

Sent from my iPhone

On 28 Jan 2017, at 11:34, RdP notifications@github.com wrote:

Could you share some pictures?

I see this in the logging when I ring the Doorbird

But I don't see any device in my phone except the non supported device

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

brownad commented 7 years ago

I've made a few more changes to reset state. It is a bit rough but is pushing through to iOS

However there is a limitation with the device it is received on, only one of three devices (one is an invite to HomeKit). So that's a bit of a limitation. It's not got the same experience as a smoke alarm notification unfortunately unless someone knows how to push this to all devices?

Sent from my iPhone

On 28 Jan 2017, at 11:34, RdP notifications@github.com wrote:

Could you share some pictures?

I see this in the logging when I ring the Doorbird

But I don't see any device in my phone except the non supported device

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

brownad commented 7 years ago

You need to remove the old plugin and add this one to the same room as your camera. If you don't remove it cleanly reference it with the full name eg read the log output if it conflicts it does say there are two doorbell platforms.

Sent from my iPhone

On 28 Jan 2017, at 11:34, RdP notifications@github.com wrote:

Could you share some pictures?

I see this in the logging when I ring the Doorbird

But I don't see any device in my phone except the non supported device

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

RienduPre commented 7 years ago

Ok maybe I am confused (from the beginning on)

What is the functionality of this plugin ? What does it look like on your iOS device and what are the current limitations. And what is the correct order to install? It never worked for me and I have over 90 devices in Homekit via de HomeBridge and I don't like to start over again every time. So before I go on testing I like to know if it's worth it.

Thanks, Rien

brownad commented 7 years ago

The 'plugin' allows for the simulated doorbell.

You add it to the same room as your camera in this case doorbird. It shows up as not supported that is known already. It does nothing if you press the button in the app.

If someone presses the doorbell on the doorbird it takes a screenshot and pushes it to your iOS device lock screen. So on your iOS have you enabled notifications to appear? Once you get them you can slide it across and go straight to the camera feed.

Think of it like the doorbird notification only with a very small image added.

It does need more changes and will be replaced when video doorbell support comes in but it's running 'ok' for me. If you want to use instead of Samfox plugin you need to remove his one cleanly or reference it fully as it says in the start up log

Sent from my iPhone

On 29 Jan 2017, at 06:56, RdP notifications@github.com wrote:

Ok maybe I am confused (from the beginning on)

What is the functionality of this plugin ? What does it look like on your iOS device and what are the current limitations. It never worked for me and I have over 90 devices in Homekit via de HomeBridge and I don't like to start over again every time. So before I go on testing I like to know if it's worth it.

Thanks, Rien

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

RienduPre commented 7 years ago

Hi,

Thanks for your clarification. I removed all accesoires from the Home App and installed and configured the DoorBird plugin. Add the accessories again and put the Camera and the 'unsupported' accessoire in the same room (see picture) I see in the log that the doorbell is pressed, but on my iphone there is no notification (excepted the one form the doorbird app itself)

img_3145

brownad commented 7 years ago

Ok

And I assume you have HomeKit assigned to your iCloud account directly?

I've got a problem where only one of my three devices (one is using as an invite to HomeKit) and they never receive updates. Only the 'owning' phone gets them. I asked a question about this but no response yet.

Sent from my iPhone

On 30 Jan 2017, at 15:59, RdP notifications@github.com wrote:

Hi,

Thanks for you clarification. I removed all accesoires from the Home App and installed and configured the DoorBird plugin. Add the accessories again and put the Camera and the 'unsupported' accessoire in the same room (see picture) I see in the log that the doorbell is pressed, but on my iphone there is no notification (excepted the one form the doorbird app itself)

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

RienduPre commented 7 years ago

Yes, HomeKit is on iCloud and several devices (1 iphone and several iPad, Apple TV's) are using the same acoount. What do you mean by 'owning' phone? The one where I configured the accessoires on initially ?

brownad commented 7 years ago

I am not sure then.

Sent from my iPhone

On 30 Jan 2017, at 16:34, RdP notifications@github.com wrote:

Yes, HomeKit is on iCloud and several devices (1 iphone and several iPad, Apple TV's) are using the same acoount. What do you mean by 'owning' phone? The one where I configured the accessoires on initially ?

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

brownad commented 7 years ago

Have you tested it without other sensors in the room? I still haven't got my head around why only one device gets the notification

My setup is just :

Porch light Doorbird doorbell Porch camera

Sent from my iPhone

On 30 Jan 2017, at 16:34, RdP notifications@github.com wrote:

Yes, HomeKit is on iCloud and several devices (1 iphone and several iPad, Apple TV's) are using the same acoount. What do you mean by 'owning' phone? The one where I configured the accessoires on initially ?

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

brownad commented 7 years ago

I think this is an issue with latest iOS too, I've reinstalled and looked at homebridge debug and nothing happening, same with my version. Am following the upcoming updates for a video doorbell change to make the switch programmable.

Does this work for you on latest iOS samfox2? After a reinstall?

Samfox2 commented 6 years ago

Please have a look at homebridge-videodoorbell