Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update is shown although the update was already applied #411

Closed
stefangries opened this issue Sep 26, 2023 · 2 comments
Closed

Update is shown although the update was already applied #411

stefangries opened this issue Sep 26, 2023 · 2 comments
Labels
Bug Something isn't working

Comments

@stefangries
Copy link

Description

Home Assistant sometimes shows an update for a tapo camera, although the update was already applied.

image

Reproduction Steps

Go to Home Assistant Settings after applying an update.

Expected behavior

Home Assistant shouldn't show the update and shouldn't notify me to install the update.

If applicable, add error logs.

No response

Device Firmware

1.3.7 Build 230823 Rel.55314n

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

HAOS on Intel NUC

Search for similar issues

Yes

Additional information

No response

@craigusus
Copy link

Also getting the same. Even after clicking on install from HA and watching the camera reboot, the notification keeps telling me I have a firmware update.

image
image

@JurajNyiri JurajNyiri added the Bug Something isn't working label Jul 4, 2024
@JurajNyiri
Copy link
Owner

JurajNyiri commented Nov 30, 2024

I spent the whole day trying to fix this, and it should be now fixed in https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/releases/tag/5.8.5, but I ran out of cameras to update.

  • There was a bug in integration if both motion detection and time sync were disabled, firmware upgrade information was not being pulled
  • There was a missing trigger for update entity, so it was not receiving uptodate data about firmware
  • There was a missing trigger to update Device information in HA after successful firmware upgrade
  • Some cameras report that update is not happening, if it is, resulting previously instantaneous completion as can be seen above

If the issue persists, please let me know and we can reopen this. Make sure to provide debug logs from 5.8.5.

Note: There is an extreme edge case, where after updating you might be seeing 500 errors and need to restart HA. This happens when updating from really old firmware (2022, early 2023) to the newest one - I am keeping that in as that would be challenging to fix and it will be less and less probable to happen as time goes on and people update from these old firmwares.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants