-
Notifications
You must be signed in to change notification settings - Fork 4
Home
- Wyze Plug (model WLPP1) or Wyze Bulb (model WLPA19). These are both the old, pre-2021 version of each device.
- Third party firmware. Either hosted online or downloaded onto your computer. I've only tested Tasmota 9.2's full build. esp2ino should work with ESPurna, esphome, and any other firmware package built using the ESP8266 Arduino framework.
- A computer that supports Python. esp2ino is confirmed to work in Windows, MacOS, and Linux (Ubuntu).
If you're brave enough to test a different device or a different third party firmware, please open a GitHub issue or submit a pull request with a change to this document.
Set up your Wyze Plug or Bulb using the official Wyze app. If you're setting up the device for the first time, don't update firmware when prompted.
-
Download the WyzeUpdater package for your operating system from esp2ino's releases page. If you're running Linux or don't see a package for your operating system, see Running WyzeUpdater From Source.
You can ignore your operating system's warning about these files being untrusted. If you're the paranoid type, you can always run WyzeUpdater from source.
-
From the command prompt, use WyzeUpdater to get a list of your Wyze devices:
-
MacOS:
./wyze_updater_macos list
-
Windows:
./wyze_updater_win.exe list
-
Linux:
python3 wyze_updater.py list
When prompted, enter your username, password, and OTP to log in.
-
MacOS:
-
Find the Wyze device you want to flash and copy its Device MAC.
-
Use WyzeUpdater to load esp2ino on to the device, replacing
DEVICEMAC
with the MAC address obtained in the prior step:-
MacOS:
sudo ./wyze_updater_macos update -x remote -d DEVICEMAC -f https://ota.elahd.com/esp2ino.bin
-
Windows:
Use a command prompt with administrator privileges.
./wyze_updater_win.exe update -x remote -d DEVICEMAC -f https://ota.elahd.com/esp2ino.bin
-
Linux:
sudo python3 wyze_updater.py update -x remote -d DEVICEMAC -f https://ota.elahd.com/esp2ino.bin
-
-
Wait a few minutes for esp2ino to load onto your Wyze device. You'll know that esp2ino is ready when you see the 'esp2ino' Wi-Fi network.
-
Connect to to the esp2ino Wi-Fi network, then access esp2ino by going to http://esp2ino.local in a web browser.
If you're having trouble accessing esp2ino, see Troubleshooting Wi-Fi.
-
Connect esp2ino to Wi-Fi using the "Connect to Wi-Fi" button in the yellow bar at the top of the page.
This step is only necessary if you want esp2ino to download firmware over the internet. You can skip this step if you're uploading firmware from your computer.
-
Use esp2ino's Download Backup button to download a backup of your factory firmware. Currently, there is no practical way to revert to factory firmware OTA, but keeping a backup is still a good idea.
-
Use the Select Replacement Firmware dropdown to tell esp2ino which third party firmware you want to load.
-
Select Tasmota to have esp2ino download and install the latest version of Tasmota from ota.tasmota.com.
-
Select Custom URL and enter a firmware URL for esp2ino to download and install that firmware to your device.
-
Select Upload File and select a file from your computer to upload and flash to your device.
Uploading firmware is really slow, running at around 3.3kbps. Expect the upload to run for 5-10 minutes.
See Requirements for Third Party Firmware for notes on providing your own firmware.
Installing ESPHome? Read this first!
-
-
Click Install to push the new firmware onto the device. esp2ino will show progress as it works:
-
Wait for your device to boot into its new firmware. Do not disconnect from the esp2ino Wi-Fi network. Your device will be unresponsive for a few minutes after its first boot while esp2ino rearranges files and deletes itself. If you're impatient, grab a coffee... walk the dog... take a shower... just DON'T. MESS. WITH. THE. DEVICE. Your device will be bricked if this step fails.
Again, it's critical that the device be allowed to sit undisturbed after flashing. No button pushing, unplugging, reloading esp2ino's web page, etc.
-
With some firmware (like Tasmota), you'll know that your device is ready for use when you can access the Tasmota Wi-Fi network. With other firmware, you'll know the device is ready when it connects to your router. If you don't see any signs of life after 15 minutes,try power cycling the device.
{"NAME":"WyzePlugWLPP1","GPIO":[0,0,0,0,0,56,0,0,21,0,17,0,0],"FLAG":0,"BASE":18}
(via Tasmota Device Templates Repository)
{"NAME":"Wyze Bulb","GPIO":[5728,0,0,0,0,0,0,0,0,416,417,0,0,0],"FLAG":0,"BASE":48}