Ubiquiti mFi - How to upgrade devices manually

https://help.ubnt.com/hc/en-us/articles/205222650-mFi-How-to-upgrade-devices-manually

Overview

In this article readers will learn how to upgrade the device firmware. Normally the device’s web interface is used, but scp/ssh can also be used.

You can grab the appropriate firmware from:

(note: as of version 2.1.3, and the foreseeable future, all mFi devices use the same firmware so you’ll often see instructions on the forum specifying one version of the firmware for any mFi product type)

Uploading firmware using Web UI (version 2.0 and later)

  1. Open a web browser to the IP address of the device (note: If the device is WiFi-only (mPower, In-Wall Outlet, Dimmer/Switch…) in factory default mode, connect to the device’s “mFi ” WiFi network)
  2. Open a browser to the IP address of device and click the system tab (note: if WiFi-only device in factory default mode, access the system tab by browsing directly to http://192.168.2.20/system.cgi)
  3. Click ‘Choose File’ under ‘Upload Firmware’
  4. Select the firmware file on your computer
  5. Click the up arrow icon to upload the firmware
  6. Once the firmware has been uploaded, click the ‘Update’ button. The device will flash the image, reboot and come up running the new image. (DO NOT UNPLUG THE DEVICE DURING THE FLASHING PROCESS!)

Uploading firmware to device via SCP/SSH (versions prior to 2.0)

This method requires an SCP and SSH (or Telnet) client, which is part of most Unix distributions. If you don’t have those clients and do not want to install them, then you need to rely on the mFi Controller to upgrade your device firmware.

  1. If the device is a WiFi-only (mPower, In-Wall Outlet, Dimmer/Switch…) in factory default mode, connect to the device’s “mFi ” WiFi network and use 192.168.2.20 as the IP address (with ubnt as the username and password)

  2. Using an scp (secure copy) client ‘scp’ the image to the device’s /tmp directory. For example:

scp firmware.bin ubnt@192.168.2.20:/tmp/fwupdate.bin

  1. SSH or Telnet to 192.168.2.20 and enter the username and password.

ssh ubnt@192.168.2.20

  1. enter the command:

/bin/syswrapper.sh upgrade2 &

The device will flash the image, reboot and come up running the new image. (DO NOT UNPLUG THE DEVICE DURING THE FLASHING PROCESS!)