Gloup
Septembre 14, 2024, 10:05
4
Hello
Je n’utilise pas cette intégration, mais sur l’intégration Tapo de HACS c’est un peu bancale à cause d’une mise à jour de TP-Link, c’est peut-être similaire à ton problème.
opened 08:53PM - 13 Apr 24 UTC
Bug
Blocked
# Thread for invalid cloud password on firmware build 230921 and higher
**Not… ice: This issue has been locked for discussion, and will be used to post updates only.** [Discuss](https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/discussions/categories/discuss) or ask a [question](https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/discussions/categories/q-a).
There has been reports of users on firmwares 1.3.8, and newer, or on some cameras other firmwares with build 230921 and newer of integration stopping to work. This shows as cloud password not being accepted.
I have been in touch with tplink regarding a security vulnerability I reported in the past and this is most probably a fix for it.
This currently only affects some users, not all and most probably requires camera to be connected to the internet in order to receive the update for authorization, given that it affects older firmwares as well, or possibly an interaction with the official app.
I have a solution and I am waiting for a permission for integration to connect to cloud.
Users reported this problem in numerous issues, this issue will serve for tracking the progress on the fix and group all the conversation under one issue.
## Workarounds
If you wish to use this integration, until this issue is resolved, you will need to either:
1. If your camera still works with integration: Block internet access of camera if you are using firmware build 230921 and higher
2. If your camera no longer works with integration: [Block internet access and factory reset camera](https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/blob/main/add_camera_with_new_firmware.md) or [Use older firmware](https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/discussions/625) than build 230921 and optionally factory reset camera
## This post will stay uptodate with the most recent updates below.
2024-04-11:
First report of the issue at https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/549
2024-04-12:
Second report of the issue at https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/550 along with more users confirming the issue.
2024-04-13:
This thread has been created.
From my side, I have unblocked one of my camera on the latest firmware to reach the internet, so that hopefully I can get this update soon and work on a fix. I hope TPLink will provide detailed instructions on what has been changed so that I can work on a fix.
2024-04-19:
Added instructions about build number as some cameras have different versioning of firmwares.
I reached out to TP-Link after 7 days for any updates.
2024-04-23:
@reypm found a solution how to workaround this issue without [downgrading](https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2061039421) the firmware:
> 1. Factory reset the camera (it remains with 1.3.11 Build 231117 firmware since I could not find a way to downgrade the firmware)
> 2. Entirely block Internet access for the camera
> 3. Reinstalled the component (this component)
> 4. Re-added the camera (by reinstalling the component it removes the old config)
TPLink is working on providing me with the solution, got a reply today that I need to wait a bit more.
2024-05-08:
I have some very good news and a little bit of concerning news.
Good news:
1. Today I was finally affected with this on one of my cameras which allowed me to conduct research and I spent my whole day working on that.
2. I now know how to solve this, I just need to figure out some of the remaining details and implement the changes which should not take more than a few weekends of active work. There is a lot of work involved but it can be done and I now know roughly how.
Now the concerning news:
1. Integration will need to interact with tplink cloud to get the new password. This is possibly a one time job, but I do not know yet, it might expire and get a new password if it no longer works. I will need to find a way to detect this as well but thats just a little detail.
2. Due to integration's need to interact with TPLink cloud I have reached out to TPLink for their permission. If they refuse, there is no way how to implement this unless someone else makes a script to extract the pwd AND the pwd does not change, ever. Which would also make the set up harder for everyone.
2024-05-15:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2111341474
2024-05-18:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2118381739
2024-05-29:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2137323663
2024-06-25:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2189695781
2024-07-03:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2205580658
2024-07-16:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2230580891
2024-07-18:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2235950853
2024-07-20:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2241111249
2024-07-31:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2260750095
2024-08-12:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2283986721
2024-08-19:
See https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551#issuecomment-2296393379
D’ailleurs, je ne suis pas sur que l’intégration dont tu parles remonte les caméras.
Edit : Non, effectivement y’a aucune caméra tapo compatibles dans l’intégration officielle TP-Link Smart Home
En gros sur l’intégration TAPO de HACS, on n’arrive plus à récupérer les caméras au bout d’un moment. Le développeur est en discussion avec TP-Link depuis un moment mais ça n’avance pas vraiment. Y’a eu pas mal de solutions alternatives de discutées dans le Github.
Dans mon cas, j’ai du downgrader le firmware de la caméra sur mes Tapo C200 à une version du 230920 et bloquer les mises à jour. Y’a que comme ça que j’ai pu récupérer les caméras dans HA.
Par exemple ton firmware 1.1.4 est du 230922, donc plus récent, et, probablement patché par TP-Link, les problèmes sont apparus a partir des 230921.
Tu peux essayer la version juste avant et voir ce qui se passe : firmware . Vérifie juste bien que ton firmware actuel soit Tapo_C520WSv1_en_1.1.4_Build_230922_Rel.57957n, sinon faut chercher la bonne version précédente dans la liste de tous les firmware ici
Dans les paramètres de ta caméra, tu retires mises à jour automatique du firmware.
Tu copie le fichier bin sur une carte SD formatée en FAT32 (et qui n’a jamais été formatée par la caméra),
Tu le renommes factory_up_boot.bin
, et tu démarres la caméra avec la carte sd.
Ca mettra à jour la caméra en quelques minutes.
Tu éteins, tu retires la carte et normalement tu as downgradé sur un ancien firmware qui était accepté.
Toute la procédure détaillée est dispo ici
Je ne dis pas que c’est forcément ça, mais c’est peut etre une piste à regarder
1 « J'aime »