fronzbot / blinkpy

A Python library for the Blink Camera system
MIT License
589 stars 121 forks source link

Cant get save_recent_clips automation to work. #940

Closed blthlt closed 3 months ago

blthlt commented 6 months ago

Describe the bug I'm getting an error when trying to setup and automation to grab all recent clips. The automation doesn't appear to run. I can use the blink.save_video to get the last video just fine but the blink.save_recent_clips does not.

image

To Reproduce Steps to reproduce the behavior: See Image Above

Expected behavior The automation to run every minute(for testing 1 minute, production 10 minutes)

Home Assistant version (if applicable): image

Log Output/Additional Information If using home-assistant, please paste the output of the log showing your error below. If not, please include any additional useful information.

PASTE LOG OUTPUT HERE

2024-05-30 14:52:51.887 ERROR (MainThread) [frontend.js.latest.202405011] Failed to format translation for key 'component.blink.services.save_recentclips.description' in language 'en'. Error: The intl string context variable "name" was not provided to the string "Saves all recent video clips to local directory with file pattern "%Y%m%d%H%M%S_{name}.mp4"."

hanor-git commented 6 months ago

Hi, same error for me

mkmer commented 6 months ago

@blthlt try using the entity rather than the device for this. The on I have working looks like this: image Also make sure your directory is in the resources. The translation error has nothing to do with the saving problem.

github-actions[bot] commented 4 months ago

There hasn't been any activity on this issue recently. Please make sure to update to the latest blinkpy version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.