Firmware version: v0.2.1
Firmware revision:v60
After flashing the firmware, the esptool will reboot your ESP32.Firmware installation instructions
Download esptool: https://github.com/espressif/esptool
When doing a FRESH install, ERASEyour ESP32 FILES area:Code: Select all
LINUX: esptool.py --port /dev/ttyUSBx erase_flash
The FLASHBINARY file has this format: upyeasy_vXX_YYYYMMDD_test_esp32_ZZZZ.binCode: Select all
WINDOWS: esptool.py --port COMx erase_flash
The (latest) binary files can be downloaded here: https://github.com/letscontrolit/uPyEasy/releases
Load the new firmware into the ESP32, this will NOT impact your FILES area! Old uPyEasy files will not be touched.Code: Select all
LINUX: esptool.py --port /dev/ttyUSBx write_flash --compress 0x1000 FLASHBINARY
PLEASE DO NOT SPECIFY OTHER PARAMETERS (like flash-size) AS STATED IN LATER POSTS!Code: Select all
WINDOWS: esptool.py --port COMx write_flash --compress 0x1000 upyeasy-esp32.bin
In linux you can use the following command to connect to the ESP32: screen /dev/ttyUSBx 115200,cs8
In Windows just use putty to connect to the com port COMx at 115200 baud speed.
After reboot, uPyEasy will auto-start.
At absence of a configured ssid, uPyEasy will autoconnect to the strongest open-wifi AP.
uPyEasy should be running on default port 80, unless you have choosen a different port number when setting the wifi parameters!, so connect using your browser using: http://<your upyeasy ip address>:80If there's no open-wifi available, uPyEasy will stop and display the message (in REPL: Read, Eval, Print, Loop):Run in REPL (python command line interface with the >>>) this command:Code: Select all
Exiting: Network not available, set network values!
Only the ssid and ssid password are mandatory!Code: Select all
upyeasy.setwifi('<your ssid>', '<your ssid password>','<your backup ssid, if any>', '<your backup ssid pw>',<your port>)
Then reboot using:Code: Select all
import machine machine.reset()
If uPyEasy is connected to your open-wifi guest network, please remember that the assigned ip-address might not be accessible from your normal wifi AP. You'll need to forward an external port to uPyEasy internal ip-address + port.
If you get this 'error' report, it means that either boot.py or main.py has not automatically been created:
Code: Select all
OSError: [Errno 2] ENOENT
MicroPython v1.9.3-254-g41a9bdc-dirty on 2018-01-06; ESP32 module with ESP32
Type "help()" for more information.
>>> import upyeasy
>>> upyeasy.main()
Best is to add or create the boot.py file with these commands in it.
(2MB firmware version now, due to reboot loops some are experiencing!)uPyEasy logfile might contain your SSID name, not password, if you encounter a bug and want to put the logfile in a post and care about the ssid name then replace that with xxxxx (or parts of it) and then post the logfile