irungentoo / Xiaomi_Yi_4k_Camera

Stuff for the xiaomi yi 4k (and 4k+) cameras.
265 stars 91 forks source link

auto turn on wi-fi script for YI_4K+ #74

Open alex69russ opened 6 years ago

alex69russ commented 6 years ago

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

somacoder commented 6 years ago

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 commented 6 years ago

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.

luckylz2git commented 5 years ago

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

hubertozz commented 5 years ago

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?