tsightler / ring-mqtt

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

Bug: Motion Event Snapshots not working #709

Closed t-ley closed 1 year ago

t-ley commented 1 year ago

Describe the Bug

Motion Events are triggered but the Snapshots don't show up in Home Assistant

Steps to Reproduce

No idea

Expected Behavior

Motion Snapshots should be shown in Home Assistant like they do on my phone.

Log Output

{"log":"s6-rc: info: service s6rc-oneshot-runner: starting\n","stream":"stderr","time":"2023-08-07T18:04:23.441375382Z"}
{"log":"s6-rc: info: service s6rc-oneshot-runner successfully started\n","stream":"stderr","time":"2023-08-07T18:04:23.447339891Z"}
{"log":"s6-rc: info: service fix-attrs: starting\n","stream":"stderr","time":"2023-08-07T18:04:23.447701606Z"}
{"log":"s6-rc: info: service fix-attrs successfully started\n","stream":"stderr","time":"2023-08-07T18:04:23.456943248Z"}
{"log":"s6-rc: info: service legacy-cont-init: starting\n","stream":"stderr","time":"2023-08-07T18:04:23.457235918Z"}
{"log":"cont-init: info: running /etc/cont-init.d/ring-mqtt.sh\n","stream":"stderr","time":"2023-08-07T18:04:23.467214553Z"}
{"log":"-------------------------------------------------------\n","stream":"stdout","time":"2023-08-07T18:04:24.008685041Z"}
{"log":"| Ring-MQTT with Video Streaming                      |\n","stream":"stdout","time":"2023-08-07T18:04:24.008759413Z"}
{"log":"| Docker Edition                                      |\n","stream":"stdout","time":"2023-08-07T18:04:24.008896442Z"}
{"log":"|                                                     |\n","stream":"stdout","time":"2023-08-07T18:04:24.008921831Z"}
{"log":"| For support questions please visit:                 |\n","stream":"stdout","time":"2023-08-07T18:04:24.00893228Z"}
{"log":"| https://github.com/tsightler/ring-mqtt/discussions  |\n","stream":"stdout","time":"2023-08-07T18:04:24.008941958Z"}
{"log":"-------------------------------------------------------\n","stream":"stdout","time":"2023-08-07T18:04:24.008955278Z"}
{"log":"cont-init: info: /etc/cont-init.d/ring-mqtt.sh exited 0\n","stream":"stderr","time":"2023-08-07T18:04:24.009691273Z"}
{"log":"s6-rc: info: service legacy-cont-init successfully started\n","stream":"stderr","time":"2023-08-07T18:04:24.010663215Z"}
{"log":"s6-rc: info: service legacy-services: starting\n","stream":"stderr","time":"2023-08-07T18:04:24.010995577Z"}
{"log":"services-up: info: copying legacy longrun ring-mqtt (no readiness notification)\n","stream":"stderr","time":"2023-08-07T18:04:24.01932717Z"}
{"log":"s6-rc: info: service legacy-services successfully started\n","stream":"stderr","time":"2023-08-07T18:04:24.084470643Z"}
{"log":"-------------------------------------------------------\n","stream":"stdout","time":"2023-08-07T18:04:25.076964403Z"}
{"log":"ring-mqtt.js version: 5.5.1\n","stream":"stdout","time":"2023-08-07T18:04:25.079568384Z"}
{"log":"Node version v18.17.0\n","stream":"stdout","time":"2023-08-07T18:04:25.160543774Z"}
{"log":"NPM version 9.1.2\n","stream":"stdout","time":"2023-08-07T18:04:26.250954737Z"}
{"log":"git version 2.38.5\n","stream":"stdout","time":"2023-08-07T18:04:26.264891818Z"}
{"log":"-------------------------------------------------------\n","stream":"stdout","time":"2023-08-07T18:04:26.264933286Z"}
{"log":"Running ring-mqtt...\n","stream":"stdout","time":"2023-08-07T18:04:26.264939843Z"}
{"log":"2023-08-07T18:04:26.697Z ring-mqtt Detected runmode: docker\n","stream":"stderr","time":"2023-08-07T18:04:26.69943141Z"}
{"log":"2023-08-07T18:04:26.700Z ring-mqtt Configuration file: /data/config.json\n","stream":"stderr","time":"2023-08-07T18:04:26.700426761Z"}
{"log":"2023-08-07T18:04:29.124Z ring-mqtt Reading latest data from state file: /data/ring-state.json\n","stream":"stderr","time":"2023-08-07T18:04:29.12465492Z"}
{"log":"2023-08-07T18:04:29.129Z ring-mqtt MQTT URL: mqtt://192.168.0.249:1883\n","stream":"stderr","time":"2023-08-07T18:04:29.129616313Z"}
{"log":"2023-08-07T18:04:29.190Z ring-mqtt Attempting connection to Ring API using saved refresh token...\n","stream":"stderr","time":"2023-08-07T18:04:29.190397615Z"}
{"log":"2023-08-07T18:04:32.006Z ring-mqtt Successfully established connection to Ring API using saved token\n","stream":"stderr","time":"2023-08-07T18:04:32.007086189Z"}
{"log":"2023-08-07T18:04:32.008Z ring-mqtt Received updated refresh token\n","stream":"stderr","time":"2023-08-07T18:04:32.008267025Z"}
{"log":"2023-08-07T18:04:32.008Z ring-mqtt Saving updated refresh token to state file\n","stream":"stderr","time":"2023-08-07T18:04:32.008587392Z"}
{"log":"2023-08-07T18:04:33.025Z ring-mqtt Successfully saved updated state file: /data/ring-state.json\n","stream":"stderr","time":"2023-08-07T18:04:33.025536513Z"}
{"log":"2023-08-07T18:04:34.008Z ring-mqtt Attempting connection to MQTT broker...\n","stream":"stderr","time":"2023-08-07T18:04:34.008871649Z"}
{"log":"2023-08-07T18:04:34.111Z ring-mqtt MQTT connection established, processing Ring locations...\n","stream":"stderr","time":"2023-08-07T18:04:34.112195496Z"}
{"log":"2023-08-07T18:04:36.914Z ring-mqtt \u001b[32m------------------------------------------------------------------------------------------\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.914908577Z"}
{"log":"2023-08-07T18:04:36.914Z ring-mqtt \u001b[37mThis account has access to the following locations:\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.914964152Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt            \u001b[32m\u001b[39m\u001b[36m (828edfc1-19a7-4691-845d-bb3c0ad2a1b0)\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915382237Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt                                                                                           \n","stream":"stderr","time":"2023-08-07T18:04:36.915405064Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[93mIMPORTANT: \u001b[39m\u001b[37mIf *ANY* alarm or smart lighting hubs at these locations are *OFFLINE* \u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915430107Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37m           the device discovery process below will hang and no devices will be    \u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915440553Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37m           published!                                                             \u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915522202Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt                                                                                           \n","stream":"stderr","time":"2023-08-07T18:04:36.91576727Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37m           If the message \"Device Discovery Complete!\" is not logged below, please\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915780356Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37m           carefully check the Ring app for any hubs or smart lighting devices    \u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.91578823Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37m           that are in offline state and either remove them from the location or  \u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915805727Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37m           bring them back online prior to restarting ring-mqtt.                  \u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915813981Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt                                                                                           \n","stream":"stderr","time":"2023-08-07T18:04:36.915821329Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37m           If desired, the \"location_ids\" config option can be used to restrict   \u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915828457Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37m           discovery to specific locations. See the documentation for details.    \u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915914416Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[32m------------------------------------------------------------------------------------------\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915926804Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37mStarting Device Discovery...\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.915934178Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt                                                                                           \n","stream":"stderr","time":"2023-08-07T18:04:36.915942828Z"}
{"log":"2023-08-07T18:04:36.915Z ring-mqtt \u001b[37mNew location: \u001b[39m\u001b[32m\u001b[39m\u001b[36m (828edfc1-19a7-4691-845d-bb3c0ad2a1b0)\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:36.916073104Z"}
{"log":"2023-08-07T18:04:37.517Z ring-mqtt \u001b[37m  New device: \u001b[39m\u001b[32mHaustür\u001b[39m\u001b[36m (90486c10968c)\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:37.517805944Z"}
{"log":"2023-08-07T18:04:37.517Z ring-mqtt \u001b[90m              cocoa_doorbell\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:37.518095399Z"}
{"log":"2023-08-07T18:04:38.523Z ring-mqtt Successfully saved updated state file: /data/ring-state.json\n","stream":"stderr","time":"2023-08-07T18:04:38.524159756Z"}
{"log":"2023-08-07T18:04:41.520Z ring-mqtt                                                                                           \n","stream":"stderr","time":"2023-08-07T18:04:41.520443344Z"}
{"log":"2023-08-07T18:04:41.520Z ring-mqtt \u001b[37mDevice Discovery Complete!\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:41.520496082Z"}
{"log":"2023-08-07T18:04:41.521Z ring-rtsp \u001b[32m------------------------------------------------------------------------------------------\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:41.52147842Z"}
{"log":"2023-08-07T18:04:41.521Z ring-rtsp Creating go2rtc configuration and starting go2rtc process...\n","stream":"stderr","time":"2023-08-07T18:04:41.521500152Z"}
{"log":"2023-08-07T18:04:41.558Z ring-rtsp Successfully wrote go2rtc configuration file: /data/go2rtc.yaml\n","stream":"stderr","time":"2023-08-07T18:04:41.558572178Z"}
{"log":"2023-08-07T18:04:41.585Z ring-rtsp The go2rtc process was started successfully\n","stream":"stderr","time":"2023-08-07T18:04:41.585866575Z"}
{"log":"2023-08-07T18:04:41.716Z ring-rtsp \u001b[32m[go2rtc] \u001b[39m\u001b[32mINF\u001b[0m go2rtc version 1.6.2 linux/amd64\n","stream":"stderr","time":"2023-08-07T18:04:41.716966799Z"}
{"log":"2023-08-07T18:04:41.716Z ring-rtsp \u001b[32m[go2rtc] \u001b[39m\u001b[32mINF\u001b[0m [rtsp] listen \u001b[36maddr=\u001b[0m:8554\n","stream":"stderr","time":"2023-08-07T18:04:41.71720965Z"}
{"log":"2023-08-07T18:04:41.717Z ring-rtsp \u001b[32m[go2rtc] \u001b[39m\u001b[33mDBG\u001b[0m [hass] can't import config: open .storage/core.config_entries: no such file or directory\n","stream":"stderr","time":"2023-08-07T18:04:41.717227229Z"}
{"log":"2023-08-07T18:04:43.587Z ring-rtsp \u001b[32m------------------------------------------------------------------------------------------\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:43.588256563Z"}
{"log":"2023-08-07T18:04:44.588Z ring-disc Publishing new device id: 90486c10968c\n","stream":"stderr","time":"2023-08-07T18:04:44.588297125Z"}
{"log":"2023-08-07T18:04:44.589Z ring-disc HASS config topic: homeassistant/binary_sensor/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_motion/config\n","stream":"stderr","time":"2023-08-07T18:04:44.589554222Z"}
{"log":"2023-08-07T18:04:44.593Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.593798716Z"}
{"log":"  name: 'Haustür Motion',\n","stream":"stderr","time":"2023-08-07T18:04:44.593848741Z"}
{"log":"  unique_id: '90486c10968c_motion',\n","stream":"stderr","time":"2023-08-07T18:04:44.593859159Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.593866038Z"}
{"log":"  device_class: 'motion',\n","stream":"stderr","time":"2023-08-07T18:04:44.593874974Z"}
{"log":"  json_attributes_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion/attributes',\n","stream":"stderr","time":"2023-08-07T18:04:44.593884174Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.593891832Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.593899355Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.59393247Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.593941893Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.593948571Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.593954521Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.593960593Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.593966787Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.593975098Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.593983543Z"}
{"log":"2023-08-07T18:04:44.596Z ring-disc HASS config topic: homeassistant/switch/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_stream/config\n","stream":"stderr","time":"2023-08-07T18:04:44.596396567Z"}
{"log":"2023-08-07T18:04:44.596Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.5968266Z"}
{"log":"  name: 'Haustür Live Stream',\n","stream":"stderr","time":"2023-08-07T18:04:44.596851828Z"}
{"log":"  unique_id: '90486c10968c_stream',\n","stream":"stderr","time":"2023-08-07T18:04:44.596880182Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/stream/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.596886789Z"}
{"log":"  command_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/stream/command',\n","stream":"stderr","time":"2023-08-07T18:04:44.596893138Z"}
{"log":"  json_attributes_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/stream/attributes',\n","stream":"stderr","time":"2023-08-07T18:04:44.596901726Z"}
{"log":"  icon: 'mdi:cctv',\n","stream":"stderr","time":"2023-08-07T18:04:44.596910642Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.596921374Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.596928197Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.596936617Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.596945884Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.596952292Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.596958287Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.596964306Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.59697103Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.596977077Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.596985237Z"}
{"log":"2023-08-07T18:04:44.598Z ring-disc HASS config topic: homeassistant/switch/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_event_stream/config\n","stream":"stderr","time":"2023-08-07T18:04:44.59855079Z"}
{"log":"2023-08-07T18:04:44.599Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.599592485Z"}
{"log":"  name: 'Haustür Event Stream',\n","stream":"stderr","time":"2023-08-07T18:04:44.599652121Z"}
{"log":"  unique_id: '90486c10968c_event_stream',\n","stream":"stderr","time":"2023-08-07T18:04:44.599663346Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_stream/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.599670167Z"}
{"log":"  command_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_stream/command',\n","stream":"stderr","time":"2023-08-07T18:04:44.599676671Z"}
{"log":"  json_attributes_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_stream/attributes',\n","stream":"stderr","time":"2023-08-07T18:04:44.59968343Z"}
{"log":"  icon: 'mdi:vhs',\n","stream":"stderr","time":"2023-08-07T18:04:44.599691514Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.599699862Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.599736991Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.599744607Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.599750924Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.599756852Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.599762781Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.599778208Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.59981619Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.599825355Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.599831743Z"}
{"log":"2023-08-07T18:04:44.601Z ring-disc HASS config topic: homeassistant/select/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_event_select/config\n","stream":"stderr","time":"2023-08-07T18:04:44.601345225Z"}
{"log":"2023-08-07T18:04:44.602Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.602996006Z"}
{"log":"  name: 'Haustür Event Select',\n","stream":"stderr","time":"2023-08-07T18:04:44.603029804Z"}
{"log":"  unique_id: '90486c10968c_event_select',\n","stream":"stderr","time":"2023-08-07T18:04:44.603039873Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_select/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.603046393Z"}
{"log":"  command_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_select/command',\n","stream":"stderr","time":"2023-08-07T18:04:44.60305273Z"}
{"log":"  json_attributes_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_select/attributes',\n","stream":"stderr","time":"2023-08-07T18:04:44.603061157Z"}
{"log":"  options: [\n","stream":"stderr","time":"2023-08-07T18:04:44.603069931Z"}
{"log":"    'Ding 1',\n","stream":"stderr","time":"2023-08-07T18:04:44.603076561Z"}
{"log":"    'Ding 2',\n","stream":"stderr","time":"2023-08-07T18:04:44.603082413Z"}
{"log":"    'Ding 3',\n","stream":"stderr","time":"2023-08-07T18:04:44.603088231Z"}
{"log":"    'Ding 4',\n","stream":"stderr","time":"2023-08-07T18:04:44.603094414Z"}
{"log":"    'Ding 5',\n","stream":"stderr","time":"2023-08-07T18:04:44.603100236Z"}
{"log":"    'Ding 1 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603108151Z"}
{"log":"    'Ding 2 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603116574Z"}
{"log":"    'Ding 3 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603123223Z"}
{"log":"    'Ding 4 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603129003Z"}
{"log":"    'Ding 5 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.60313493Z"}
{"log":"    'Motion 1',\n","stream":"stderr","time":"2023-08-07T18:04:44.603140709Z"}
{"log":"    'Motion 2',\n","stream":"stderr","time":"2023-08-07T18:04:44.603149087Z"}
{"log":"    'Motion 3',\n","stream":"stderr","time":"2023-08-07T18:04:44.603157927Z"}
{"log":"    'Motion 4',\n","stream":"stderr","time":"2023-08-07T18:04:44.603164734Z"}
{"log":"    'Motion 5',\n","stream":"stderr","time":"2023-08-07T18:04:44.603170447Z"}
{"log":"    'Motion 1 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603176255Z"}
{"log":"    'Motion 2 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603184203Z"}
{"log":"    'Motion 3 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603192873Z"}
{"log":"    'Motion 4 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603199249Z"}
{"log":"    'Motion 5 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603205395Z"}
{"log":"    'Person 1',\n","stream":"stderr","time":"2023-08-07T18:04:44.603211329Z"}
{"log":"    'Person 2',\n","stream":"stderr","time":"2023-08-07T18:04:44.603219365Z"}
{"log":"    'Person 3',\n","stream":"stderr","time":"2023-08-07T18:04:44.603227801Z"}
{"log":"    'Person 4',\n","stream":"stderr","time":"2023-08-07T18:04:44.603234179Z"}
{"log":"    'Person 5',\n","stream":"stderr","time":"2023-08-07T18:04:44.603263616Z"}
{"log":"    'Person 1 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603270206Z"}
{"log":"    'Person 2 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603278327Z"}
{"log":"    'Person 3 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603287284Z"}
{"log":"    'Person 4 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603293769Z"}
{"log":"    'Person 5 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603299608Z"}
{"log":"    'On-demand 1',\n","stream":"stderr","time":"2023-08-07T18:04:44.603305671Z"}
{"log":"    'On-demand 2',\n","stream":"stderr","time":"2023-08-07T18:04:44.6033116Z"}
{"log":"    'On-demand 3',\n","stream":"stderr","time":"2023-08-07T18:04:44.603319576Z"}
{"log":"    'On-demand 4',\n","stream":"stderr","time":"2023-08-07T18:04:44.603328397Z"}
{"log":"    'On-demand 5',\n","stream":"stderr","time":"2023-08-07T18:04:44.603334786Z"}
{"log":"    'On-demand 1 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.60334114Z"}
{"log":"    'On-demand 2 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603347295Z"}
{"log":"    'On-demand 3 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603353293Z"}
{"log":"    'On-demand 4 (Transcoded)',\n","stream":"stderr","time":"2023-08-07T18:04:44.603359231Z"}
{"log":"    'On-demand 5 (Transcoded)'\n","stream":"stderr","time":"2023-08-07T18:04:44.603367236Z"}
{"log":"  ],\n","stream":"stderr","time":"2023-08-07T18:04:44.603376569Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.603383488Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.603389941Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.603396694Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.603402752Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.603408632Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.603416794Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.60342595Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.603432592Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.603438852Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.603465683Z"}
{"log":"2023-08-07T18:04:44.603Z ring-disc HASS config topic: homeassistant/binary_sensor/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_ding/config\n","stream":"stderr","time":"2023-08-07T18:04:44.604177684Z"}
{"log":"2023-08-07T18:04:44.604Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.604677058Z"}
{"log":"  name: 'Haustür Ding',\n","stream":"stderr","time":"2023-08-07T18:04:44.604696773Z"}
{"log":"  unique_id: '90486c10968c_ding',\n","stream":"stderr","time":"2023-08-07T18:04:44.604704571Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/ding/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.604713176Z"}
{"log":"  device_class: 'occupancy',\n","stream":"stderr","time":"2023-08-07T18:04:44.604722355Z"}
{"log":"  json_attributes_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/ding/attributes',\n","stream":"stderr","time":"2023-08-07T18:04:44.604729483Z"}
{"log":"  icon: 'mdi:doorbell-video',\n","stream":"stderr","time":"2023-08-07T18:04:44.604736076Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.604742166Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.60475818Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.604766923Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.604773502Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.604801054Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.604807918Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.604813958Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.604820084Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.604828108Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.604836474Z"}
{"log":"2023-08-07T18:04:44.604Z ring-disc HASS config topic: homeassistant/camera/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_snapshot/config\n","stream":"stderr","time":"2023-08-07T18:04:44.604898118Z"}
{"log":"2023-08-07T18:04:44.605Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.605076254Z"}
{"log":"  name: 'Haustür Snapshot',\n","stream":"stderr","time":"2023-08-07T18:04:44.605089343Z"}
{"log":"  unique_id: '90486c10968c_snapshot',\n","stream":"stderr","time":"2023-08-07T18:04:44.605098921Z"}
{"log":"  topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot/image',\n","stream":"stderr","time":"2023-08-07T18:04:44.605113202Z"}
{"log":"  json_attributes_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot/attributes',\n","stream":"stderr","time":"2023-08-07T18:04:44.605120295Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.605126947Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.605133388Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.605141763Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.605150725Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.605157362Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.605163483Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.605169776Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.605175952Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.605182156Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.605190571Z"}
{"log":"2023-08-07T18:04:44.605Z ring-disc HASS config topic: homeassistant/select/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_snapshot_mode/config\n","stream":"stderr","time":"2023-08-07T18:04:44.605564592Z"}
{"log":"2023-08-07T18:04:44.606Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.606172893Z"}
{"log":"  name: 'Haustür Snapshot Mode',\n","stream":"stderr","time":"2023-08-07T18:04:44.606216969Z"}
{"log":"  unique_id: '90486c10968c_snapshot_mode',\n","stream":"stderr","time":"2023-08-07T18:04:44.606227002Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot_mode/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.606234035Z"}
{"log":"  command_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot_mode/command',\n","stream":"stderr","time":"2023-08-07T18:04:44.606240426Z"}
{"log":"  options: [ 'Auto', 'Disabled', 'Motion', 'Interval', 'All' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.606246888Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.606253146Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.606274435Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.606284497Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.606291192Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.606297032Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.606303037Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.606311417Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.606353493Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.606361953Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.606367982Z"}
{"log":"2023-08-07T18:04:44.607Z ring-disc HASS config topic: homeassistant/number/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_snapshot_interval/config\n","stream":"stderr","time":"2023-08-07T18:04:44.607302639Z"}
{"log":"2023-08-07T18:04:44.607Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.607788658Z"}
{"log":"  name: 'Haustür Snapshot Interval',\n","stream":"stderr","time":"2023-08-07T18:04:44.607815806Z"}
{"log":"  unique_id: '90486c10968c_snapshot_interval',\n","stream":"stderr","time":"2023-08-07T18:04:44.607831424Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot_interval/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.607838963Z"}
{"log":"  command_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot_interval/command',\n","stream":"stderr","time":"2023-08-07T18:04:44.607846525Z"}
{"log":"  min: 10,\n","stream":"stderr","time":"2023-08-07T18:04:44.607854359Z"}
{"log":"  max: 604800,\n","stream":"stderr","time":"2023-08-07T18:04:44.607860539Z"}
{"log":"  icon: 'hass:timer',\n","stream":"stderr","time":"2023-08-07T18:04:44.607868768Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.607877589Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.60788458Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.607891531Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.607897736Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.607903882Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.607909751Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.607918047Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.607926536Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.607933158Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.607939325Z"}
{"log":"2023-08-07T18:04:44.608Z ring-disc HASS config topic: homeassistant/switch/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_motion_detection/config\n","stream":"stderr","time":"2023-08-07T18:04:44.608794032Z"}
{"log":"2023-08-07T18:04:44.609Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.609131208Z"}
{"log":"  name: 'Haustür Motion Detection',\n","stream":"stderr","time":"2023-08-07T18:04:44.609146818Z"}
{"log":"  unique_id: '90486c10968c_motion_detection',\n","stream":"stderr","time":"2023-08-07T18:04:44.60915429Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion_detection/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.609160834Z"}
{"log":"  command_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion_detection/command',\n","stream":"stderr","time":"2023-08-07T18:04:44.609167179Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.609175866Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.609184999Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.609192375Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.609199168Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.609205094Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.609211103Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.609217278Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.609436197Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.60947713Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.609486453Z"}
{"log":"2023-08-07T18:04:44.609Z ring-disc HASS config topic: homeassistant/number/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_motion_duration/config\n","stream":"stderr","time":"2023-08-07T18:04:44.610096046Z"}
{"log":"2023-08-07T18:04:44.610Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.610204777Z"}
{"log":"  name: 'Haustür Motion Duration',\n","stream":"stderr","time":"2023-08-07T18:04:44.610386625Z"}
{"log":"  unique_id: '90486c10968c_motion_duration',\n","stream":"stderr","time":"2023-08-07T18:04:44.610397645Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion_duration/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.610406465Z"}
{"log":"  command_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion_duration/command',\n","stream":"stderr","time":"2023-08-07T18:04:44.610429772Z"}
{"log":"  min: 10,\n","stream":"stderr","time":"2023-08-07T18:04:44.610447396Z"}
{"log":"  max: 180,\n","stream":"stderr","time":"2023-08-07T18:04:44.610454653Z"}
{"log":"  icon: 'hass:timer',\n","stream":"stderr","time":"2023-08-07T18:04:44.610463049Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.610472141Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.610479372Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.610485403Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.610492395Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.610753872Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.610763868Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.610773724Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.610782288Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.610852491Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.610860053Z"}
{"log":"2023-08-07T18:04:44.611Z ring-disc HASS config topic: homeassistant/number/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_ding_duration/config\n","stream":"stderr","time":"2023-08-07T18:04:44.611181243Z"}
{"log":"2023-08-07T18:04:44.611Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.612086244Z"}
{"log":"  name: 'Haustür Ding Duration',\n","stream":"stderr","time":"2023-08-07T18:04:44.612111983Z"}
{"log":"  unique_id: '90486c10968c_ding_duration',\n","stream":"stderr","time":"2023-08-07T18:04:44.612119254Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/ding_duration/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.612125409Z"}
{"log":"  command_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/ding_duration/command',\n","stream":"stderr","time":"2023-08-07T18:04:44.612133795Z"}
{"log":"  min: 10,\n","stream":"stderr","time":"2023-08-07T18:04:44.61214273Z"}
{"log":"  max: 180,\n","stream":"stderr","time":"2023-08-07T18:04:44.612149384Z"}
{"log":"  icon: 'hass:timer',\n","stream":"stderr","time":"2023-08-07T18:04:44.612155707Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.612164018Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.612172904Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.612179379Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.61218548Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.612191373Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.612199758Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.612228672Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.612236193Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.612242316Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.612248418Z"}
{"log":"2023-08-07T18:04:44.612Z ring-disc HASS config topic: homeassistant/sensor/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_info/config\n","stream":"stderr","time":"2023-08-07T18:04:44.613062766Z"}
{"log":"2023-08-07T18:04:44.613Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.614360555Z"}
{"log":"  name: 'Haustür Info',\n","stream":"stderr","time":"2023-08-07T18:04:44.614403571Z"}
{"log":"  unique_id: '90486c10968c_info',\n","stream":"stderr","time":"2023-08-07T18:04:44.614412326Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/info/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.614418763Z"}
{"log":"  device_class: 'timestamp',\n","stream":"stderr","time":"2023-08-07T18:04:44.61442742Z"}
{"log":"  value_template: '{{ value_json[\"lastUpdate\"] | default(\"\") }}',\n","stream":"stderr","time":"2023-08-07T18:04:44.614436315Z"}
{"log":"  json_attributes_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/info/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.614443411Z"}
{"log":"  icon: 'mdi:information-outline',\n","stream":"stderr","time":"2023-08-07T18:04:44.614449829Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.614458231Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.614467384Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.614474018Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.614480826Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.614534457Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.614543669Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.614550815Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.614559512Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.614565859Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.614615825Z"}
{"log":"2023-08-07T18:04:44.614Z ring-disc HASS config topic: homeassistant/sensor/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_wireless/config\n","stream":"stderr","time":"2023-08-07T18:04:44.614800312Z"}
{"log":"2023-08-07T18:04:44.614Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.615022796Z"}
{"log":"  name: 'Haustür Wireless',\n","stream":"stderr","time":"2023-08-07T18:04:44.615040432Z"}
{"log":"  unique_id: '90486c10968c_wireless',\n","stream":"stderr","time":"2023-08-07T18:04:44.615049254Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/info/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.615056274Z"}
{"log":"  device_class: 'signal_strength',\n","stream":"stderr","time":"2023-08-07T18:04:44.615062638Z"}
{"log":"  unit_of_measurement: 'dBm',\n","stream":"stderr","time":"2023-08-07T18:04:44.615070873Z"}
{"log":"  value_template: '{{ value_json[\"wirelessSignal\"] | default(\"\") }}',\n","stream":"stderr","time":"2023-08-07T18:04:44.615079515Z"}
{"log":"  json_attributes_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/wireless/attributes',\n","stream":"stderr","time":"2023-08-07T18:04:44.615188032Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.615194855Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.615201084Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.615206925Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.615212948Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.615273475Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.615298743Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.615307376Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.615321419Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.615327949Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.615333732Z"}
{"log":"2023-08-07T18:04:44.615Z ring-disc HASS config topic: homeassistant/sensor/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_battery/config\n","stream":"stderr","time":"2023-08-07T18:04:44.615342416Z"}
{"log":"2023-08-07T18:04:44.615Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:04:44.616121696Z"}
{"log":"  name: 'Haustür Battery',\n","stream":"stderr","time":"2023-08-07T18:04:44.616262149Z"}
{"log":"  unique_id: '90486c10968c_battery',\n","stream":"stderr","time":"2023-08-07T18:04:44.616272547Z"}
{"log":"  state_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/info/state',\n","stream":"stderr","time":"2023-08-07T18:04:44.61629488Z"}
{"log":"  device_class: 'battery',\n","stream":"stderr","time":"2023-08-07T18:04:44.616302019Z"}
{"log":"  unit_of_measurement: '%',\n","stream":"stderr","time":"2023-08-07T18:04:44.616308141Z"}
{"log":"  state_class: 'measurement',\n","stream":"stderr","time":"2023-08-07T18:04:44.616329566Z"}
{"log":"  value_template: '{{ value_json[\"batteryLevel\"] | default(\"\") }}',\n","stream":"stderr","time":"2023-08-07T18:04:44.616337585Z"}
{"log":"  json_attributes_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/battery/attributes',\n","stream":"stderr","time":"2023-08-07T18:04:44.616344321Z"}
{"log":"  availability_topic: 'ring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status',\n","stream":"stderr","time":"2023-08-07T18:04:44.616353017Z"}
{"log":"  payload_available: 'online',\n","stream":"stderr","time":"2023-08-07T18:04:44.616362215Z"}
{"log":"  payload_not_available: 'offline',\n","stream":"stderr","time":"2023-08-07T18:04:44.616368919Z"}
{"log":"  device: {\n","stream":"stderr","time":"2023-08-07T18:04:44.620787993Z"}
{"log":"    ids: [ '90486c10968c' ],\n","stream":"stderr","time":"2023-08-07T18:04:44.620889589Z"}
{"log":"    name: 'Haustür',\n","stream":"stderr","time":"2023-08-07T18:04:44.620897529Z"}
{"log":"    mf: 'Ring',\n","stream":"stderr","time":"2023-08-07T18:04:44.620904553Z"}
{"log":"    mdl: 'Doorbell Gen 2'\n","stream":"stderr","time":"2023-08-07T18:04:44.620913783Z"}
{"log":"  }\n","stream":"stderr","time":"2023-08-07T18:04:44.620920428Z"}
{"log":"}\n","stream":"stderr","time":"2023-08-07T18:04:44.620926556Z"}
{"log":"2023-08-07T18:04:46.619Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/status \u001b[39m\u001b[36monline\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:46.620234655Z"}
{"log":"2023-08-07T18:04:48.623Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion/attributes \u001b[39m\u001b[36m{\"lastMotion\":1691428369,\"lastMotionTime\":\"2023-08-07T17:12:49Z\",\"personDetected\":false,\"motionDetectionEnabled\":true}\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:48.624340143Z"}
{"log":"2023-08-07T18:04:48.624Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion_detection/state \u001b[39m\u001b[36mON\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:48.624722981Z"}
{"log":"2023-08-07T18:04:49.091Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/stream/state \u001b[39m\u001b[36mOFF\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.092442416Z"}
{"log":"2023-08-07T18:04:49.093Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/stream/attributes \u001b[39m\u001b[36m{\"status\":\"inactive\"}\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.093283254Z"}
{"log":"2023-08-07T18:04:49.093Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_stream/state \u001b[39m\u001b[36mOFF\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.093451882Z"}
{"log":"2023-08-07T18:04:49.093Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_stream/attributes \u001b[39m\u001b[36m{\"status\":\"inactive\"}\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.093662963Z"}
{"log":"2023-08-07T18:04:49.093Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_select/state \u001b[39m\u001b[36mMotion 1\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.094062392Z"}
{"log":"2023-08-07T18:04:49.094Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/event_select/attributes \u001b[39m\u001b[36m\u003crecording_url_masked\u003e\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.094254812Z"}
{"log":"2023-08-07T18:04:49.094Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion/state \u001b[39m\u001b[36mOFF\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.094508747Z"}
{"log":"2023-08-07T18:04:49.094Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion/attributes \u001b[39m\u001b[36m{\"lastMotion\":1691428369,\"lastMotionTime\":\"2023-08-07T17:12:49Z\",\"personDetected\":false,\"motionDetectionEnabled\":true}\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.094699006Z"}
{"log":"2023-08-07T18:04:49.094Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/ding/state \u001b[39m\u001b[36mOFF\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.094800984Z"}
{"log":"2023-08-07T18:04:49.094Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/ding/attributes \u001b[39m\u001b[36m{\"lastDing\":1691400708,\"lastDingTime\":\"2023-08-07T09:31:48Z\"}\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.095051552Z"}
{"log":"2023-08-07T18:04:49.095Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/ding_duration/state \u001b[39m\u001b[36m180\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.095357693Z"}
{"log":"2023-08-07T18:04:49.095Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/motion_duration/state \u001b[39m\u001b[36m10\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.095563928Z"}
{"log":"2023-08-07T18:04:49.095Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot_mode/state \u001b[39m\u001b[36mMotion\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.095743881Z"}
{"log":"2023-08-07T18:04:49.096Z ring-mqtt \u001b[32m[Haustür] \u001b[39mRequesting an updated interval snapshot\n","stream":"stderr","time":"2023-08-07T18:04:49.096210874Z"}
{"log":"2023-08-07T18:04:49.096Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot_interval/state \u001b[39m\u001b[36m600\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.096687538Z"}
{"log":"2023-08-07T18:04:49.480Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/info/state \u001b[39m\u001b[36m{\"stream_Source\":\"rtsp://172.18.0.2:8554/90486c10968c_live\",\"still_Image_URL\":\"https://localhost:8123{{ states.camera.haustür_snapshot.attributes.entity_picture }}\",\"batteryLevel\":100,\"batteryLife\":100,\"firmwareStatus\":\"Up to Date\",\"lastUpdate\":\"2023-08-07T17:13:05Z\",\"wirelessNetwork\":\"HiveNet\",\"wirelessSignal\":-58}\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.480385801Z"}
{"log":"2023-08-07T18:04:49.481Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/wireless/attributes \u001b[39m\u001b[36m{\"wirelessNetwork\":\"HiveNet\",\"wirelessSignal\":-58}\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.481710927Z"}
{"log":"2023-08-07T18:04:49.482Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/battery/attributes \u001b[39m\u001b[36m{\"batteryLevel\":100,\"batteryLife\":100}\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:49.482285341Z"}
{"log":"2023-08-07T18:04:50.075Z ring-mqtt \u001b[32m[Haustür] \u001b[39mSuccessfully retrieved updated snapshot\n","stream":"stderr","time":"2023-08-07T18:04:50.076077563Z"}
{"log":"2023-08-07T18:04:50.076Z ring-mqtt \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot/image \u001b[39m\u001b[36m\u003cbinary_image_data\u003e\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:50.076216343Z"}
{"log":"2023-08-07T18:04:50.076Z ring-attr \u001b[32m[Haustür] \u001b[39m\u001b[34mring/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/camera/90486c10968c/snapshot/attributes \u001b[39m\u001b[36m{\"timestamp\":1691431490}\u001b[39m\n","stream":"stderr","time":"2023-08-07T18:04:50.076756595Z"}
{"log":"2023-08-07T18:05:14.618Z ring-disc Republishing existing device id: 90486c10968c\n","stream":"stderr","time":"2023-08-07T18:05:14.619060046Z"}
{"log":"2023-08-07T18:05:14.620Z ring-disc HASS config topic: homeassistant/binary_sensor/828edfc1-19a7-4691-845d-bb3c0ad2a1b0/90486c10968c_motion/config\n","stream":"stderr","time":"2023-08-07T18:05:14.620404611Z"}
{"log":"2023-08-07T18:05:14.620Z ring-disc {\n","stream":"stderr","time":"2023-08-07T18:05:14.620887484Z"}

Screenshots

Screenshot_8 Home Assistant configuration

Config File

config.json

{
    "mqtt_url": "mqtt://XXXXX",
    "mqtt_options": "",
    "livestream_user": "",
    "livestream_pass": "",
    "disarm_code": "",
    "enable_cameras": true,
    "enable_modes": false,
    "enable_panic": false,
    "hass_topic": "homeassistant/status",
    "ring_topic": "ring",
    "location_ids": [
        ""
    ]
}

ring-state.json

{
   "ring_token":"XXXX",
   "systemId":"XXXX",
   "devices":{
      "XXXX":{
         "snapshot":{
            "mode":"Motion",
            "autoInterval":true,
            "interval":3600
         },
         "event_select":{
            "state":"Person 1"
         },
         "motion":{
            "duration":10
         },
         "ding":{
            "duration":180
         }
      }
   }
}

Install Type

Docker

Version

5.5.1

Operating System

Ubuntu

Architecture

x64

Machine Details

Pysical x64

tsightler commented 1 year ago

Hi! Thanks for providing logs, unfortunately, I think they may have been cut off as I do not see a motion event in the logs. In general, the logs will tell you what is happening as it will show the motion event, the attempt to request the motion snapshot, and whether that attempt was successful or not. Without the logs of the event, it's pretty much just a guessing game.

Also, do you definitely have a subscription (the logs imply that you do, but there is one odd thing in the screenshot that makes me question it). Subscription is required to get motion snapshots for battery cameras.

t-ley commented 1 year ago

It seems like the motion events dont show up in the logs. On my phone they do show up.

One odd thing i noticed, is the "Event Select" in Home Assistant doesn't work anymore, i tried to change the value in the "ring-state.json" in the past for testing but that didn't help.

I also have an active "Protect Basic" subscription.

tsightler commented 1 year ago

Motion events will show in the log if they are working, which you indicated above they are. A typical motion event will look something like this:

2023-08-17T16:46:47.752Z ring-mqtt [Front Doorbell] Received motion push notification, expires in 180 seconds
2023-08-17T16:46:47.752Z ring-mqtt [Front Doorbell] Requesting motion snapshot using notification image UUID: 4b9d346f-7bfe-4589-b6c1-7837fb5b5417:16675525
2023-08-17T16:46:47.752Z ring-mqtt [Front Doorbell] ring/a9ce28cb-fafb-421c-4508-29d54f48cbd3/camera/3ce1a11f710d/motion/state ON
2023-08-17T16:46:47.752Z ring-attr [Front Doorbell] ring/a9ce28cb-fafb-421c-4508-29d54f48cbd3/camera/3ce1a11f710d/motion/attributes {"lastMotion":1692290807,"lastMotionTime":"2023-08-17T16:46:47Z","personDetected":true,"motionDetectionEnabled":true}
2023-08-17T16:46:48.337Z ring-mqtt [Front Doorbell] Successfully retrieved updated snapshot
2023-08-17T16:46:48.337Z ring-mqtt [Front Doorbell] ring/a9ce28cb-fafb-421c-4508-29d54f48cbd3/camera/3ce1a11f710d/snapshot/image <binary_image_data>
2023-08-17T16:46:48.337Z ring-attr [Front Doorbell] ring/a9ce28cb-fafb-421c-4508-29d54f48cbd3/camera/3ce1a11f710d/snapshot/attributes {"timestamp":1692290808}

The ring-state.json file is not intended for user modification and also has nothing to do with snapshots or event notifications. If you have directly edited this file then I would suggest starting from scratch.

t-ley commented 1 year ago

@tsightler i just installed everything from scratch and it seems to be working now.... i can see a motion event in the logs now and home assistant shows me the snapshot.

Thank you for your help!