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
You need gateway 3(mgl03) connected to MiHome. And also ip and gateway token.
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"}}