DrmnSamoLiu / Tapo_Camera_Firmware

This ReadMe will be updated from time to time with the URL to download latest firmware for TP-Link Tapo cameras I have.
14 stars 3 forks source link

Tapo C220 Firmware #9

Open JayFoxRox opened 10 months ago

JayFoxRox commented 10 months ago

I'm also documenting this for others. Personally I've used pytapo because mitm the actual camera to internet traffic didn't work (likely cert-pinning).

Header for all following python snippets, I reconnected after each step using this code:

from pytapo import Tapo

user = "admin" # user you set in Advanced Settings -> Camera Account
password = "admin" # password you set in Advanced Settings -> Camera Account
host = "192.168.179.104" # ip of the camera, example: 192.168.1.52
tapo = Tapo(host, user, password, printDebugInformation=True)

My camera (bought last week) was initially this:

[...]
'device_model': 'C220',
'manufacturer_name': 'TP-LINK',
'device_name': 'C220 1.0',
'hw_version': '1.0',
'region': 'EU',
[...]

Firmware from factory:

'sw_version': '1.0.7 Build 230612 Rel.42500n',

I checked for fw with this:

tapo.isUpdateAvailable()

request: {'data': {'method': 'multipleRequest', 'params': {'requests': [{'method': 'checkFirmwareVersionByCloud', 'params': {'cloud_config': {'check_fw_version': 'null'}}}, {'method': 'getCloudConfig', 'params': {'cloud_config': {'name': ['upgrade_info']}}}]}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False} status: 200 response: {'result': {'responses': [{'method': 'checkFirmwareVersionByCloud', 'result': {}, 'error_code': 0}, {'method': 'getCloudConfig', 'result': {'cloud_config': {'upgrade_info': {'type': '3', 'version': '1.0.10 Build 230803 Rel.60903n', 'release_date': '2023-09-15', 'download_url': 'http://download.tplinkcloud.com/firmware/Tapo_C220v1_en_1.0.10_Build_230803_Rel.60903n_up_boot-signed_1694765292648.bin', 'location': '0', 'release_log': 'Modifications and Bug Fixes:\n1. Enhanced stability and security.\n2. Enhanced the performance of the on-screen display.\n3. Fixed some minor bugs. ', 'release_log_url': 'undefined yet'}}}, 'error_code': 0}]}, 'error_code': 0}

(Note this actually conflicts https://www.tp-link.com/en/support/download/tapo-c220/#Firmware-Release-Notes which also lists Tapo C220(EU)_V1_1.1.4 Build 231109 / Published Date: 2023-11-22)

I then did the upgrade using:

tapo.startFirmwareUpgrade()

(LED starts flashing, camera says "{'wait_time': '60', 'error_code': 0}" and will reboot a bit later)

Firmware after upgrade:

'sw_version': '1.0.10 Build 230803 Rel.60903n'

repeating tapo.isUpdateAvailable() actually won't show any new firmwares either. Edit: Initially it did show the same firmware, but now it simply shows {'data': {'method': 'multipleRequest', 'params': {'requests': [{'method': 'checkFirmwareVersionByCloud', 'params': {'cloud_config': {'check_fw_version': 'null'}}}, {'method': 'getCloudConfig', 'params': {'cloud_config': {'name': ['upgrade_info']}}}]}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}

URL:

JayFoxRox commented 10 months ago

Here is another one:

http://download.tplinkcloud.com/firmware/Tapo_C220v1_en_1.1.4_Build_231109_Rel.66857n_up_boot-signed_1700216548774.bin