tsightler / ring-mqtt

Ring devices to MQTT Bridge
MIT License
569 stars 103 forks source link

No motion detect in a RING door bell #702

Closed Francisk0 closed 1 year ago

Francisk0 commented 1 year ago

Describe the Bug

No motion detect in a RING door bell

Steps to Reproduce

Conteiner version 5.05 works, but at 24/48 hours stop

Expected Behavior

No detect, sensor in HA only have 2 states: off or not avaiable

Log Output

ring-mqtt [Verja] Requesting an updated interval snapshot +10ms
  ring-mqtt [Verja] Successfully retrieved updated snapshot +613ms
  ring-mqtt [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/image <binary_image_data> +1ms
  ring-attr [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/attributes {"timestamp":1691344823} +30s
  ring-mqtt [Puerta principal] Successfully retrieved updated snapshot +275ms
  ring-mqtt [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/image <binary_image_data> +0ms
  ring-attr [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/attributes {"timestamp":1691344823} +275ms
  ring-mqtt [Puerta principal] Requesting an updated interval snapshot +29s
  ring-mqtt [Verja] Requesting an updated interval snapshot +9ms
  ring-mqtt [Verja] Successfully retrieved updated snapshot +763ms
  ring-mqtt [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/image <binary_image_data> +0ms
  ring-attr [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/attributes {"timestamp":1691344853} +30s
  ring-mqtt [Puerta principal] Successfully retrieved updated snapshot +145ms
  ring-mqtt [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/image <binary_image_data> +0ms
  ring-attr [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/attributes {"timestamp":1691344853} +146ms
  ring-mqtt [Puerta principal] Requesting an updated interval snapshot +29s
  ring-mqtt [Verja] Requesting an updated interval snapshot +10ms
  ring-mqtt [Verja] Successfully retrieved updated snapshot +796ms
  ring-mqtt [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/image <binary_image_data> +0ms
  ring-attr [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/attributes {"timestamp":1691344883} +30s
  ring-mqtt [Puerta principal] Successfully retrieved updated snapshot +39ms
  ring-mqtt [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/image <binary_image_data> +0ms
  ring-attr [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/attributes {"timestamp":1691344883} +39ms
  ring-mqtt [Puerta principal] Requesting an updated interval snapshot +29s
  ring-mqtt [Verja] Requesting an updated interval snapshot +8ms
  ring-mqtt [Verja] Successfully retrieved updated snapshot +796ms
  ring-mqtt [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/image <binary_image_data> +0ms
  ring-attr [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/attributes {"timestamp":1691344913} +30s
  ring-mqtt [Puerta principal] Successfully retrieved updated snapshot +171ms
  ring-mqtt [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/image <binary_image_data> +0ms
  ring-attr [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/attributes {"timestamp":1691344913} +171ms
  ring-mqtt [Puerta principal] Requesting an updated interval snapshot +29s
  ring-mqtt [Verja] Requesting an updated interval snapshot +9ms
  ring-mqtt [Verja] Successfully retrieved updated snapshot +582ms
  ring-mqtt [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/image <binary_image_data> +0ms
  ring-attr [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/attributes {"timestamp":1691344943} +30s
  ring-mqtt [Puerta principal] Successfully retrieved updated snapshot +34ms
  ring-mqtt [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/image <binary_image_data> +0ms
  ring-attr [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/attributes {"timestamp":1691344943} +33ms
  ring-mqtt [Puerta principal] Requesting an updated interval snapshot +29s
  ring-mqtt [Verja] Requesting an updated interval snapshot +10ms
  ring-mqtt [Puerta principal] Successfully retrieved updated snapshot +822ms
  ring-mqtt [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/image <binary_image_data> +0ms
  ring-attr [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/attributes {"timestamp":1691344973} +30s
  ring-mqtt [Verja] Successfully retrieved updated snapshot +159ms
  ring-mqtt [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/image <binary_image_data> +0ms
  ring-attr [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/attributes {"timestamp":1691344973} +159ms
  ring-mqtt [Puerta principal] Camera lost subscription to ding events, attempting to resubscribe... +16s
  ring-mqtt [Puerta principal] Camera lost subscription to motion events, attempting to resubscribe... +1ms
  ring-mqtt [Verja] Camera lost subscription to ding events, attempting to resubscribe... +0ms
  ring-mqtt [Verja] Camera lost subscription to motion events, attempting to resubscribe... +0ms
  ring-mqtt [Puerta principal] Requesting an updated interval snapshot +13s
  ring-mqtt [Verja] Requesting an updated interval snapshot +9ms
  ring-mqtt [Puerta principal] Successfully retrieved updated snapshot +722ms
  ring-mqtt [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/image <binary_image_data> +0ms
  ring-attr [Puerta principal] ring/f3dc53d1-86d4-44f7-b009-76e2a412668a/camera/343ea4daf79e/snapshot/attributes {"timestamp":1691345003} +30s
  ring-mqtt [Verja] Successfully retrieved updated snapshot +140ms
  ring-mqtt [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/image <binary_image_data> +0ms
  ring-attr [Verja] ring/84cf7620-7236-4141-b9ac-2e4fe0bd1d16/camera/343ea4daf813/snapshot/attributes {"timestamp":1691345003} +141ms
  ring-mqtt [Puerta principal] Requesting an updated interval snapshot +29s

Screenshots

No response

Config File

none

Install Type

homeassistant Docker

Version

2022.11.5

Operating System

Synology DSM 7

Architecture

X86_64

Machine Details

Synology

Francisk0 commented 1 year ago

in the version 5.05 work 24/48 hours. After these time the sensor no work more. In this version motion detects no works never.

tsightler commented 1 year ago

Please make sure you have followed the steps as documented at https://github.com/tsightler/ring-mqtt/blob/main/docs/CHANGELOG.md#v530. If you have not followed these steps after upgrading versions to v5.3.0 or later, then notifications will not work. This is due to changes in the Ring API and how it handles FCM token updates.

BobRed0965 commented 1 year ago

Please make sure you have followed the steps as documented at https://github.com/tsightler/ring-mqtt/blob/main/docs/CHANGELOG.md#v530. If you have not followed these steps after upgrading versions to v5.3.0 or later, then notifications will not work. This is due to changes in the Ring API and how it handles FCM token updates.

I had the same issue on Home Assistant OS. This fixed it. Thanks @tsightler .

Francisk0 commented 1 year ago

Thanks @tsightler and sorry for disturb.