Skip to content

Instantly share code, notes, and snippets.

@zvldz
zvldz / 01_tuya_ota_url.md
Last active July 10, 2026 16:10
Retrieving the OTA URL for Tuya Zigbee devices

Retrieving the OTA URL for Tuya Zigbee devices

This example is for Ubuntu 20.4.3 x86_64. But should also work on other supported OS.

Used:

  • MITM proxy - Charles proxy (but it is probably possible to use another)
  • android emulator - Genymotion

Step 1: Installing the Charles proxy

@zvldz
zvldz / soft_hack.md
Last active August 1, 2026 18:12
soft_hack.md

Soft hack to open telnet

Note: does not work on firmware 1.5.5 and later - see AlexxIT/Blog#13 (key / button clicks / UART).

You need gateway 3(mgl03) connected to MiHome. And also ip and gateway token.

1 way (recommended)

Via XiaomiGateway3 component.

You must input in the 'Open Telnet command' field(as it is without changing anything):

@zvldz
zvldz / fw_mgl03_update.md
Last active September 24, 2022 23:47
Updating mgl03 gateway firmware from telnet