Camera snapshot with high resolution

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

First, let’s figure out where the problem is. Have you looked at the jpg on your HA server to check what resolution it is?

yes, just opened the temporary file via file editor

very strange, did not change anything and now it has a large resolution

same problema here with unifi cameras. Is there any configuration to solve this problem?

@mariobrosch I have the same problem with Unifi AI Pro :(. I haven’t been able to fix it yet