|
Forum Index : Microcontroller and PC projects : WebMite testers wanted for a one-click installer
| Author | Message | ||||
| Malibu Senior Member Joined: 07/07/2018 Location: AustraliaPosts: 268 |
Testers wanted: one-click Wi-Fi setup and program install for a WebMite (Pico W / Pico 2 W) The main Timer program is a 4-channel, 24 hour multi-function timer that can be configured MANY ways. I've written a small Windows program that takes a brand-new WebMite from "firmware only" to "my program is running" over the USB cable, with no terminal, no commands and no code. I'd like people to try to break it before I hand it to customers. WHAT IT DOES 1. Finds the Pico on its COM port. It checks every port, tells you which Picos are new and which already have files, and picks a new one. 2. Scans for Wi-Fi networks using the Pico itself, so only the 2.4 GHz networks it can actually join are listed. Pick one from the SSID drop-down, or type a hidden network. 3. SEND TO PICO sets OPTION WIFI (SSID, password, optional name, IP / mask / gateway, optional country code) and OPTION TCP SERVER PORT 80, 20000, then confirms the result with OPTION LIST. 4. INSTALL TIMER (greyed out until the Wi-Fi is set up, and for any Pico that already has files) puts a boot loader in flash slot 1, sets OPTION AUTORUN 1,NORESET, sends 29 files with XMODEM, checks every file size, restarts the Pico and shows its web address. Everything is built into the one .exe. There is nothing to install or unzip. Later program updates are done from a web page with a password-protected zip, with INSTALL and ROLLBACK buttons. TESTED SO FAR A Pico 2 W (RP2350A, MMBasic V7.00.00RC7) on Windows: Wi-Fi setup, the full install on a freshly flashed Pico, a web-page update and a rollback all worked. That is a sample of one board, which is why I'm asking for your help. HOW TO RUN IT 1. Close MMCC, Tera Term, MMEdit and anything else that uses a COM port. Only one program can use a port. 2. Plug in a NEW Pico (firmware only). 3. Run the program. It finds the Pico and lists the Wi-Fi networks in range. 4. Choose your network, type the password and press SEND TO PICO. 5. Press INSTALL TIMER, wait a few minutes, then open the web address shown in the log. WHAT I'D LIKE YOU TO TRY - Other Pico W / Pico 2 W boards and firmware versions. - Several Picos plugged in at once. - A Pico that is already running a program (see the note below). - Hidden networks, long SSIDs and passwords, fixed IP and DHCP. - Pulling the USB cable half-way through the install. It should stop with a message and let you start again. - Anything that would confuse someone who has never seen a command prompt. PLEASE NOTE - This Timer program is specifically written to control TP-Link TAPO P100 WiFi plugs, but can still be used for gpio on the pico. - Use a NEW or SPARE Pico. The install clears the flash program slots and removes old timer files. A Pico that already has files on it is refused. - If a COM port is silent, the program sends it Ctrl-C and asks again. That finds a Pico that is already running a program, but it STOPS that program, and an output can stay in its last state. Unplug and replug the Pico to restart it. Don't run this on a live unit. - To wipe a Pico completely, use the flash_nuke.uf2 that matches your chip (the RP2040 one does not work on a Pico 2 W) and reload the WebMite firmware afterwards. - The timer in the pack has default logins for testing: developer / 0000, and the update zip password is 1234. Change them before putting a unit on a network. - Windows may show a SmartScreen warning for an unsigned program (More info, then Run anyway). - Windows only for now. DEFAULT LOG-IN DETAILS log-in password role 1: admin adminpass admin 2: User1 pass1 admin 3: User2 pass2 user 4: developer 0000 developer's backdoor If something goes wrong, please copy the text from the log box at the bottom of the window and post it here, with your Pico model and what you clicked. That log is the quickest way to find the cause. Thanks in advance. Pico Install Pack.zip John |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |