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"}}