JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
953 stars 80 forks source link

Tapo C200, all move are anaivalaible #536

Closed pinkfloydFR closed 3 months ago

pinkfloydFR commented 3 months ago

Description

Camera model : C200

Hi,

Don't know since when, but all move related function are unavailable ( worked very well for a long time ) image

Reproduction Steps

Cannot access to move command of the camera

Expected behavior

Have access to move command of the camera

If applicable, add error logs.

No response

Device Firmware

1.3.9 Build 231019 Rel.37378n(4555)

Integration Version

5.4.17

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

HA OS raspberry

Search for similar issues

Yes

Additional information

No response

JurajNyiri commented 3 months ago

Hi post logs and proper version in template.

pinkfloydFR commented 3 months ago

Oh so strange !

For giving you debug log, tested more... and :

So not sure what can i post you :(

JurajNyiri commented 3 months ago

Please disable your other camera and then enable debug logs for this integration and post that when you see this issue.

Integration version is still incorrect.

I will reopen this once the above is sent.

pinkfloydFR commented 3 months ago

Intégration 5.4.17

Here is the log with only one camera :

debug.log

JurajNyiri commented 3 months ago

Thank you could you please post screenshots of all the entities? I see “_2” in the entities. Maybe these are duplicate and there are other for movement ?

pinkfloydFR commented 3 months ago

Sure, here are the screen shot, as i said, all was working before, surely a recent update ( HA or extension ? ) broke this...

( first capture is reseaching 'mov' )

image

image image image image

and here my card code, can see i always using _2 entities for long time

camera_view: live
entities:
  - entity: camera.salon
    icon: mdi:arrow-left-drop-circle-outline
    tap_action:
      action: call-service
      service: button.press
      service_data:
        entity_id: button.tapo_camera_salon_move_left_2
  - entity: camera.salon
    icon: mdi:arrow-up-drop-circle-outline
    tap_action:
      action: call-service
      service: button.press
      service_data:
        entity_id: button.tapo_camera_salon_move_up_2
  - entity: camera.salon
    icon: mdi:arrow-down-drop-circle-outline
    tap_action:
      action: call-service
      service: button.press
      service_data:
        entity_id: button.tapo_camera_salon_move_down_2
  - entity: camera.salon
    icon: mdi:arrow-right-drop-circle-outline
    tap_action:
      action: call-service
      service: button.press
      service_data:
        entity_id: button.tapo_camera_salon_move_right_2
  - entity: camera.salon
    icon: mdi:numeric-1-circle-outline
    tap_action:
      action: call-service
      service: select.select_option
      data:
        option: 1
      target:
        entity_id: select.tapo_camera_salon_move_to_preset_2
  - entity: camera.salon
    icon: mdi:numeric-2-circle-outline
    tap_action:
      action: call-service
      service: select.select_option
      data:
        option: Position marquée 2
      target:
        entity_id: select.tapo_camera_salon_move_to_preset_2
  - entity: camera.salon
    icon: mdi:numeric-3-circle-outline
    tap_action:
      action: call-service
      service: select.select_option
      data:
        option: Position marquée 3
      target:
        entity_id: select.tapo_camera_salon_move_to_preset_2
  - entity: camera.salon
    icon: mdi:numeric-4-circle-outline
    tap_action:
      action: call-service
      service: select.select_option
      data:
        option: Position marquée 4
      target:
        entity_id: select.tapo_camera_salon_move_to_preset_2
  - entity: switch.salon_detect
  - entity: switch.tapo_camera_salon_privacy_2
    icon: mdi:eye-outline
    tap_action:
      action: toggle
  - entity: input_boolean.bool_salon_record
    icon: mdi:record-rec
    tap_action:
      action: toggle
hold_action:
  action: more-info
camera_image: camera.salon
JurajNyiri commented 3 months ago

Thank you.

As the next steps:

  1. Please try to remove camera, restart, and add it again
  2. If you are still experiencing the issue, please post full debug logs from the start of HA (the last ones you posted are just a small section while it was running).
pinkfloydFR commented 3 months ago

ok will do this ! thanks for helping !

pinkfloydFR commented 3 months ago

So, deleted all, restarted HA, reconfigure the camera and strangely all entity are ok this time ( name without _2 of course )

All is ok, so no better information in log to understand what was the problem.

Thanks for your time btw.