Flash esp8266 firmware over wifi
Sometimes the flash won't "take", when you restart the device and connect, you'll see junk characters. LED slow flashing (once per second) means the device cannot connect to your wifi router. Once configured you can use the ESP8266 device like any device in AutomationManager - using the on/off buttons, custom images, automation rules, remote access, etc. Use MppArduino, AM (the ESP8266Manager), or open a web browser to the device IP to manage the device configuration (properties). If AM does not find the device use the IP to find it manually (in this case you may need to assign it a reserved IP). The next step is to configure your device to work with AutomationManager.
#Flash esp8266 firmware over wifi install
Once this has been verified you can physically install the device now as you don't need it to be accessible to change/update the firmware. Confirm that you are able to make OTA updates using using AM, MppArduino, or your web browser to confirm the device can be updated OTA.
#Flash esp8266 firmware over wifi update
This will enable the IP menu allowing you to update or change the firmware OTA and to visit the device web page with your web browser. You're done! Press the "Status" button in MppArduino to find the device's assigned IP. Visit your router's wifi client page or use MppArduino/Status to find the device's new IP. Enter the correct credentials and click "Set AP", then "Restart" the device. Use the "Scan" button to find an available SSID. If the device's wifi has previously been configured (wifi configuration is sticky) it may not broadcast an AP SSID, in this case you'll need to use MppArduino to configure it's wifi connection. When flashing is complete exit the flasher and unplug (power off) or reset the device.Įither find the device stand alone access point SSID and connect, or use MppArduino to configure it's wifi. If you're using an ESP01 or similar, try rolling the reset/GPIO0 pins again. If it still doesn't start, close the flasher app and try removing and re-inserting the programmer USB while holding the GPIO0 button down, then restarting the app (you may need to return the RX & TX lines to their original pins!). If the flashing doesn't start after a few seconds try reversing RX & TX if it's a wired connection. This will replaces the default with the desired firmware. Go to the "config" tab to select the firmware file you downloaded earlier into the first slot. Select the correct COM port and device type (ESP8266 or ESP8285, it does matter) Tuya and other custom devices: solder wires or use an adapter. If you're doing a lot a web you might want to build a dedicated flash/jumper board.
Roll up off of the RESET pin to continue holding GPIO0 to ground as the device reboots. Use a wire to connect GND to RESET and GPIO0. The flasher will reset the board using the USB cable.ĮSP01: Connect to the USB adapter. the MppArduino app) and start the flasher. Make sure no other app is connected to the port (e.g. Wemos or NodeMCU dev type cards: no action is necessary, simply plug in the USB port. Hold down the flash button (which depends on the device type), plug it back in. Sonoff and similar: Unplug the programmer from the USB port. Most devices use 3v3 so be careful which power connection you use! Unplug from mains power, find and attach wires to VCC, GND, TX, RX, RST (optional), and GPIO0.
Verify the device is working as expected before attempting to flash it!