JurajNyiri / pytapo

Python library for communication with Tapo Cameras
MIT License
277 stars 58 forks source link

pytapo stopped working with new firmware #104

Closed Ramblin closed 6 months ago

Ramblin commented 6 months ago

Have you tried the experiments code "DownloadRecording.py" on the newest versions of firmware for Tapo cameras? It no longer works for me. (thanks Tapo …)

The code used to work perfectly for me on C320WS V1 Hardware C320WS V2 Hardware C520WS V1 Hardware until the latest firmware "upgrade" where it now will not provide the stok token, which prevents any interaction with the Cameras

Fortunately I still had one C320WS (V1) which had NOT been upgraded and was still on Firmware "1.3.7 Build 230713 Rel.28081n(5553)" and it still works perfectly with all the commands from your page.

But with the current firmware C320WS V1 Hardware - Firmware 1.3.11 Build 231117 Rel 44732n(5553) C320WS V2 Hardware - Firmware 1.1.7 Build 231122 Rel 55299n C520WS V1 Hardware - Firmware 1.2.6 Buld 231130 Rel 72992n

It fails

Do you have any ideas on what has changed in the Tapo firmware and what I can do to re-enable access to the APIs? I found instructions on downgrading the Tapo firmware at https://github.com/nervous-inhuman/tplink-tapo-c200-re/issues/4 and I found a list of firmware URLs at https://github.com/tapo-firmware/Directory but if I can take advantage of the other "improvements" in the current firmware I would like to use the new firmware.

I appreciate what you have done to help us all and if you can see your way to answering this issue it would be even more appreciated.

Ramblin commented 6 months ago

Sorry; my bad

I had not updated the pytapo-main files when I posted the above Once the main files had been updated, the DownloadRecording script I forked from the one posted worked just fine

Thanks again for your creation - and maintenance - of ths code.worked

Ramblin commented 6 months ago

All is good