Hi,
I have a tapo camera outside and want to sent a snapshot to my telegram when a motion sensor is triggered, all fine, but the camera snapshot is in terrible low resolution (640x360), the camera is a full hd camera, how can I change the snapshot resolution or can anyone help me to fix this otherwise.
alias: Test Snapshot
description: ""
trigger:
- type: motion
platform: device
device_id: 1163776257185b2949952503faa178ab
entity_id: binary_sensor.bewegingsmelder_motion
domain: binary_sensor
condition: []
action:
- service: camera.snapshot
data:
filename: >-
/config/CameraSnap/voorkant_{{ trigger.to_state.last_changed |
as_timestamp | timestamp_custom("%Y-%m-%d_%H-%M-%S") }}.jpg
target:
device_id: ca9aba1fa5c7aa208cf5773e1b1186b0
- delay:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
- service: telegram_bot.send_photo
data:
authentication: digest
file: >-
/config/CameraSnap/{{ trigger.to_state.last_changed | as_timestamp |
timestamp_custom("%Y-%m-%d_%H-%M-%S") }}.jpg
mode: single