Repository navigation
Releases
Releases · open-aiq/device
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.0
What's Changed
- feat!: replace the C++ firmware with the Rust ESP-IDF firmware by @sh-zee in #4
- chore(deps): bump esp-idf-svc 0.53, esp32-nimble 0.13 and embuild 0.33.7 by @sh-zee in #5
- build(make): adopt group:action targets and add build, flash and monitor commands by @sh-zee in #6
- feat(device_api): shared backend HTTP client with firmware version header by @sh-zee in #7
- feat(telemetry): add single-line live reading JSON for BLE streaming by @sh-zee in #8
- feat(wifi): scan nearby networks for BLE provisioning by @sh-zee in #9
- feat(devlog): capture important events and upload them to the backend by @sh-zee in #10
- feat(ota): A/B update decision, image verification and status reporting by @sh-zee in #11
- build: A/B OTA partition table with bootloader rollback and make image by @sh-zee in #12
- feat: secure BLE pairing, new BLE commands, device logs and OTA in the main loop by @sh-zee in #13
- docs: describe the Rust firmware on main, BLE pairing and OTA by @sh-zee in #14
- ci: run push checks on main by @sh-zee in #15
- feat(release): make release with version registry check and firmware images by @sh-zee in #16
Full Changelog: v0.0.0-internal.1...v0.3.0
v0.0.0-internal.1
v0.0.0-internal.1 — Pre-alpha internal testing
No stability, API, or OTA guarantees. Expect breaking changes without notice.
What's in this build
- Sensors: PMS5003 (particulate matter), DHT22 (temperature/humidity), I2C LCD display.
- Input: physical button interrupts with debounce.
- Networking: WiFi with local-network communication; public-IP lookup over HTTPS (TLS).
- Bluetooth (BLE): remote control — query WiFi status (tested with the BlueFruit app).
- Persistent config (NVS): WiFi credentials + device location stored in flash and
provisioned over BLE (SSID:/PASS:/LAT:/LON:thenSAVE, plusLOAD/CLEAR).
Settings survive reboots. WiFi connect is non-blocking with a timeout, so a wrong password
no longer freezes the device — it stays reachable over BLE for re-provisioning.
Hardware / build notes
- Target board:
esp32doit-devkit-v1(classic ESP32). - Partition layout:
huge_app.csv(3 MB app, no OTA) — BLE + WiFi + TLS overflow the
default 1.3 MB app partition. - HTTPClient URL-parser workaround documented in
docs/upstream-bug-httpclient-url-parser.md.
Flashing
Flash the individual images at their offsets, or use the single combined image:
merged-firmware.bin— write to offset0x0:esptool.py --chip esp32 write_flash 0x0 merged-firmware.bin- Or the separate parts:
bootloader.bin@0x1000,partitions.bin@0x8000,
firmware.bin@0x10000.
Known issues / TODO
- HTTPClient URL-parser bug still worked around (the
/before?), not root-caused. - No OTA, and limited app headroom — investigate NimBLE instead of Bluedroid to slim the build.