Xiaomi_Yi_4k_Camera icon indicating copy to clipboard operation
Xiaomi_Yi_4k_Camera copied to clipboard

auto turn on wi-fi script for YI_4K+

Open alex69russ opened this issue 6 years ago • 4 comments

It is possible to turn on wi-fi by script? I have one yi 4k+ with broken screen and can not turn on wi-fi on this camera. "t app key start_wifi" not working

alex69russ avatar May 15 '18 14:05 alex69russ

You can do this on the Yi 4K+ through the autoexec.ash file. Just be sure to put a sleep line of at least 5 seconds before turning the WiFi through autoexec.ash on the Yi 4K+. This is what I typically use:

sleep 5000 t wi-fi restart

somacoder avatar May 27 '18 13:05 somacoder

One quick addendum to this. If you find 5 seconds isn't enough time for the device to boot up (and thus become locked if this command is issued too soon), increase the sleep to say 10000 (10 secs). This is probably a safer bet.

somacoder avatar May 30 '18 23:05 somacoder

This also works for Yi 4K Camera fw1.10.9 sleep 10000 t wi-fi restart

luckylz2git avatar Mar 14 '19 04:03 luckylz2git

Hi! I have my 4K+ in housing mode with broken screen and the above solution doesn't work. Probably wifi is also set to 5G. Can You help?

hubertozz avatar Apr 04 '19 19:04 hubertozz