This script is used to fix Notecard (NOTE-ESP) devices that are missing the assets required to run SoftAP. This Script should only be run against ESP32-based Wi-Fi Notecards and not Cell+WiFi or legacy Notecards.
- Python 3
-
Make sure you are running Notecard Firmware (
7.4.2or later). Visit blues.dev for upgrade instructions. -
Connect the Notecard to your machine via USB (Serial).
-
From a command line, change to the directory containing this
README.md. -
Run the instructions below:
- LINUX ONLY: Create a python virtual environment
sudo apt install python3 python3-venv python3 -m venv blues-env source blues-env/bin/activate- Install requirements and execute the script
pip install -r requirements.txt python main.py
NOTE: By DEFAULT this script attempts to identify which serial port the Notecard is connected. If it cannot detect which serial port to use, you may need to specify which serial port. If the script is unable to detect the correct port, then you may manually specify the correct port
- LINUX ONLY: Exit the virtual environment
deactivate
To specify which serial port to use for communicating with the Notecard, use the following syntax:
python main.py -p <port-id>where <port-id> is the name of the serial port on your operating system.