ring icon indicating copy to clipboard operation
ring copied to clipboard

Front Door Camera no longer showes AppleTV Motion Notification

Open eightball011854 opened this issue 1 year ago • 8 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe The Bug

I recently added a 3rd ring cam to HB, and now my original one, which is the front door cam, no longer shows notifications on the apple TV.

The driveway cam (2nd) and the stick-up cam (3rd) do show the notificationdnotifications

To Reproduce

No response

Expected behavior

Expected all notifications to show

Relevant log output

No response

Screenshots

No response

Homebridge Ring Config

{
    "unbridgeCameras": true,

Additional context

No response

OS

macos

Node.js Version

v20.16.0

NPM Version

10.8.2

Homebridge/HOOBs Version

v1.8.4

Homebridge Ring Plugin Version

v13.1.0

Operating System

MaxOS

eightball011854 avatar Aug 20 '24 17:08 eightball011854

You didn't provide any logs so it will be challenging to solve your problem without them and very limited information, however, we can try. When there's a motion event, do you see that logged in Homebridge? If so, there's little for us to do on the plugin side, as we only update state, it's up to Homekit to handle notifications. However, I would strongly suggest you follow the steps in https://github.com/dgreif/ring/wiki/Notification-Troubleshooting and see if that helps before going any further.

tsightler avatar Aug 20 '24 17:08 tsightler

sorry about that @tsightler happy to provide the logs just not sure what is sensitive information

i did try the notification troubleshooting, and downgrading the Plugin version as well

eightball011854 avatar Aug 20 '24 17:08 eightball011854

[8/20/2024, 10:43:20 AM] [homebridge-ring] Front Door Detected Motion. Loading snapshot before sending event to HomeKit [8/20/2024, 10:43:21 AM] [homebridge-ring] Preparing Live Stream for Front Door [8/20/2024, 10:43:21 AM] [homebridge-ring] Stream Prepared for Front Door (0.325s) [8/20/2024, 10:43:22 AM] [homebridge-ring] Activating stream for Front Door (0.387s) [8/20/2024, 10:43:22 AM] [homebridge-ring] iceConnectionStateChange: completed [8/20/2024, 10:43:22 AM] [homebridge-ring] UNKNOWN MESSAGE [8/20/2024, 10:43:22 AM] [homebridge-ring] { body: { doorbot_id: 34168905, is_ok: false, text: 'Unexpected message without a session ID: Signal(message=Message(method=ICE, dialogId=9a40ae4e-6781-4ee3-9534-9034fc6ee036, riid = null, body=Body(doorbotId=34168905, sessionId=null, userId=null, properties=[mlineindex, ice])), envelope=null)' }, dialog_id: '9a40ae4e-6781-4ee3-9534-9034fc6ee036', method: 'notification' } [8/20/2024, 10:43:22 AM] [homebridge-ring] connectionStateChange: connecting [8/20/2024, 10:43:22 AM] [homebridge-ring] iceConnectionStateChange: new [8/20/2024, 10:43:22 AM] [homebridge-ring] iceConnectionStateChange: checking [8/20/2024, 10:43:22 AM] [homebridge-ring] Activating Session [8/20/2024, 10:43:22 AM] [homebridge-ring] Streaming active for Front Door (0.81s) [8/20/2024, 10:43:22 AM] [homebridge-ring] iceConnectionStateChange: new [8/20/2024, 10:43:22 AM] [homebridge-ring] iceConnectionStateChange: connected [8/20/2024, 10:43:22 AM] [homebridge-ring] connectionStateChange: connected [8/20/2024, 10:43:22 AM] [homebridge-ring] Received stream data from Front Door (1.007s) [8/20/2024, 10:43:40 AM] [homebridge-ring] Front Door Doorbell Pressed [8/20/2024, 10:43:52 AM] [homebridge-ring] UNKNOWN MESSAGE [8/20/2024, 10:43:52 AM] [homebridge-ring] { body: { doorbot_id: 34168905, session_id: 'eyJraWQiOiJTaWduYWxsaW5nIiwiYWxnIjoiSFMyNTYifQ.eyJkaW5nX2tpbmQiOiJtb3Rpb24iLCJkb29yYm90X2lkIjozNDE2ODkwNSwicGluZ19pbnRlcnZhbCI6MTAsImRpbmdfaWQiOiI3NDA1Mjc4NjYwNzAzOTAzODE3IiwiaXAiOiIzNS44My4xNTEuMTIwIiwiY3JlYXRlZF9hdCI6MTcyNDE3NTc5NzkxMSwicm1zX2ZxZG4iOiIzNS04My0xNTEtMTIwLjM1NDUwODY2MDc1NC51cy13ZXN0LTIucHJvZC5ybXMucmluZy5kZXZpY2VzLmEyei5jb20iLCJzZXNzaW9uX2lkIjoiZWVhYTk3NTgtOWJiMS00MGFkLWE2NjItOWJjNTM5ODYzY2UxIiwiZXhwIjoxNzI0MjYyMjAyLCJpYXQiOjE3MjQxNzU4MDIsInJtc192ZXJzaW9uIjoiNzc0NjkwYzAifQ.f82lZOwu-eOp5gCzEdd3tL-Jk1RO5W20IoI48eeIaAQ', stealth_mode: false }, dialog_id: '9a40ae4e-6781-4ee3-9534-9034fc6ee036', method: 'camera_options' }

eightball011854 avatar Aug 20 '24 17:08 eightball011854

logs above, sorry about that @tsightler

eightball011854 avatar Aug 20 '24 17:08 eightball011854

What else is involved here? What is starting the live stream? Do you have multiple Apple TVs? Clearly the plugin is detecting the events as you can see they are logged:

[8/20/2024, 10:43:20 AM] [homebridge-ring] Front Door Detected Motion. Loading snapshot before sending event to HomeKit
...
[8/20/2024, 10:43:40 AM] [homebridge-ring] Front Door Doorbell Pressed

tsightler avatar Aug 20 '24 17:08 tsightler

i have 3 apple tvs @tsightler

eightball011854 avatar Aug 20 '24 18:08 eightball011854

Above it shows that, almost immediately on motion, a livestream was started. I'm going to guess that was a PiP notification on one of the Apple TVs, unless you manually started a livestream on a device. This appears to indicate that the event was sent, which is all the plugin itself can do. How notifications are handled on a given event is completely controlled by Homekit.

My guess is that this is just yet another issues cause by Apple's "random device is a hub" architecture, but that is just a guess. Maybe the new feature to select a preferred hub in iOS 18 will help.

tsightler avatar Aug 20 '24 18:08 tsightler

thanks @tsightler maybe i will remove the camera from homekit and re-add

eightball011854 avatar Aug 20 '24 18:08 eightball011854

I'm going to go ahead and close this as all indications are that the plugin is behaving as it should. What devices are notified or where things play is 100% up to Homekit. All the plugin can do is make the device available and send the notifications and the logs indicate that this is happening.

tsightler avatar Aug 30 '24 23:08 tsightler

similar issue I have been also facing.. I have single Apple TV, HomeKit notifications stopped. If I try to view live cam from homkit its streamed but similar error 8/20/2024, 10:43:22 AM] [homebridge-ring] UNKNOWN MESSAGE [8/20/2024, 10:43:22 AM] [homebridge-ring] { body: { doorbot_id: 34168905, comes up on red.

shaileshck avatar Oct 21 '24 16:10 shaileshck

To update after resetting Notifications have started but the error on HomeKit continues. Doesnt seem issue is something to do with Notifications.

shaileshck avatar Oct 21 '24 17:10 shaileshck