Identity IoT: initial release — boot manager, provisioning, sensor/relay

This commit is contained in:
2026-06-08 18:27:38 +02:00
commit d1a28d989c
17 changed files with 1860 additions and 0 deletions

25
install.py Normal file
View File

@@ -0,0 +1,25 @@
# ============================================================+
# 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.')