Skip to content

Releases: JurajNyiri/HomeAssistant-Tapo-Control

5.4.1

06 Nov 21:25
1ab3e9b
Compare
Choose a tag to compare

Fixes

  • Fix #438: Controls no longer available after a short time on encrypted traffic

5.4.0

04 Nov 21:28
Compare
Choose a tag to compare

Version 5.4.0 🔒

This release adds support for the new encryption introduced in the latest and upcoming firmware(s) for cameras. This was first seen in #436 on C210 1.3.9 Build 231019 Rel. 13805n(4555). In these new firmwares a new strengthened communication was introduced, encrypting and decrypting the traffic on fly.
Integration now automatically chooses the highest possible encryption available in firmware of your camera.

Note

When you update camera to the new firmware with the new encryption, you will need to restart HA instance once.

Thank you

@bonvga for providing the logs of communication between app and camera
@GSzabados for help with debugging
@viprapp for help with testing

5.3.9

18 Oct 11:34
Compare
Choose a tag to compare

Fixes

  • Fix #428: Error TypeError: 'bool' object is not subscriptable when camera unavailable

5.3.8

06 Oct 18:35
Compare
Choose a tag to compare

New Features

  • Add: Switch to control recording enabled / disabled
  • Add: Recording Plan in attributes of camera entity

5.3.7

06 Oct 13:20
Compare
Choose a tag to compare

Fixes

  • Fix: Unable to download very long recordings, thank you @aandi

5.3.6

06 Oct 12:29
Compare
Choose a tag to compare

New Features

  • Add: New sensor entities about all available storages in cameras, generated dynamically from camera. Depending on your settings, values for these entities might change a lot so I would recommend adding them to exclude in logbook and/or recorder.
Example new exposed entities Screenshot 2023-10-06 at 13 39 44

Developer Notes

Recently one of my cameras stopped detecting SD card and thus stopped recording without my knowledge. Because of this, I added all these new data into Diagnostics section of each camera. You can see my example automation below, which automatically notifies me about an unexpected state of SD card in one of my cameras. You can add more triggers from other cameras too and it will work correctly automatically.

Automation to notify about invalid SD card state

Automation YAML:

alias: "Tapo: Detect SD card failure"
description: >-
  Detects invalid state of SD cards of tapo cameras and creates a persistent notification
trigger:
  - platform: state
    entity_id:
      - sensor.bedroom_disk_1_detect_status
    from: normal
  - platform: state
    entity_id:
      - sensor.bedroom_disk_1_rw_attr
    from: rw
  - platform: state
    entity_id:
      - sensor.bedroom_disk_1_status
    from: normal
  - platform: state
    entity_id:
      - sensor.bedroom_disk_1_write_protect
    from: "0"
condition: []
action:
  - service: notify.persistent_notification
    data:
      message: >
        {% set diskName = trigger.entity_id | regex_findall_index('sensor\.(.*?disk_.*?)_') %}

        WARNING: Camera {{device_attr(trigger.entity_id,"name")}} SD card failure! 

        status: {{states("sensor."+diskName+"_status")}} 

        detect_status: {{states("sensor."+diskName+"_detect_status")}} 

        rw: {{states("sensor."+diskName+"_rw_attr")}} 

        write_protect: {{states("sensor."+diskName+"_write_protect")}}
mode: single

Example output:

*triggered with additional state trigger sensor.bedroom_disk_1_record_free_duration which updates every 10 seconds for me, for testing

Screenshot 2023-10-06 at 14 23 57

5.3.5

05 Oct 13:57
Compare
Choose a tag to compare

Fixes

  • Fix #409: Entities not correctly created (not unique) when there are 2 or more cameras with the same name

5.3.4

21 Aug 12:19
Compare
Choose a tag to compare

Fixes

  • Fix #393: Cameras that do not support PTZ broken since 5.3.2
  • Fix #392: C420 Cameras and H200 Hub unavailable after update to 5.3.0-5.3.3

5.3.3

21 Aug 10:59
Compare
Choose a tag to compare

Fixes

  • Fix: Edge cases where errors "Remote end closed connection without response" were shown
  • Fix: Edge case - TypeError: 'NoneType' object is not iterable when no recordings were made during the day

5.3.2

21 Aug 09:16
Compare
Choose a tag to compare

Fixes

  • Fix #340: Edge case where new presets saved via the App were not working until reload of integration