Skip to content

Instantly share code, notes, and snippets.

@zvldz
zvldz / 01_tuya_ota_url.md
Last active Feb 14, 2022
Retrieving the OTA URL for Tuya Zigbee devices
View 01_tuya_ota_url.md

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

View soft_hack.md

Soft hack to open telnet

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):

{"method":"set_ip_info","params":{"ssid":"\"\"","pswd":"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd"}}