# ============================================================+ # Identity IoT — install.py # Run once on a fresh Pico W to install all dependencies. # Edit SSID and PASS before running. # ============================================================+ SSID = 'YOUR_SSID' PASS = 'YOUR_PASSWORD' # ---- WiFi ---- import network, utime wlan = network.WLAN(network.STA_IF) wlan.active(True) wlan.connect(SSID, PASS) print('Connecting to WiFi...') while not wlan.isconnected(): utime.sleep(1) print('Connected:', wlan.ifconfig()[0]) # ---- Install ---- import mip print('Installing identity-micropython...') mip.install("https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/package.json") print('Done. Remove SSID/PASS from install.py before committing.')