Outdoor Air - SenseCAP Indicator D1 - limengdu - CodeCraft Hub
Scene: Smart Home. Edge AI application on CodeCraft Hub for Smart Home use cases.
Devices / BOM: SenseCAP Indicator D1
Smart Home application on CodeCraft Hub. A home outdoor air display for families and makers. Muse sends AQI or PM2.5 and short advice for your chosen place to a SenseCAP Indicator D1.
Documentation
Muse looks up outdoor air using its own tools and your preferences, then sends a snapshot to the D1's 480-by-480 LCD. The screen shows the observation time so you can judge how recent the report is.
Explore the public project source and setup guide .
Deploy steps
- Prepare your device and accounts
One SenseCAP Indicator D1 . This app supports D1 only; D1S, D1L and D1Pro are outside its supported hardware.
A USB-C data cable and a desktop computer running Chrome or Edge.
The Muse app on your phone, signed in to your Muse account, with Bluetooth enabled.
Your own Muse SDK token from gadgets.muse.ai , signed in with the same Muse account. Create it under Account > SDK tokens .
A 2.4 GHz Wi-Fi network and its password. Muse needs internet access to look up outdoor reports.
- Flash Outdoor Air
Connect the D1 to your computer with a USB data cable and use the firmware tool below to install Outdoor Air. If the browser lists two ports, choose the USB-serial (CH340) port; the other one belongs to the RP2040. When the write finishes, restart the D1 by unplugging the USB cable and plugging it back in. Then enter your own Muse SDK token when the page asks; the device stores it and restarts. Continue to pairing after the token step.
Flash firmware to your device (in-app tool on CodeCraft Hub).
- Pair the D1 in Muse
Keep your phone near the D1. In the Muse app, open Settings > Devices , enable Developer mode , and tap Add Device (the + button). Select the nearby MuseGadget-... device matching the name on the D1; this profile can appear as MuseGadget-Disp-... . When asked to confirm on the device, press the button on top . Choose your 2.4 GHz Wi-Fi, enter its password, and wait until Muse shows the device as connected. The SDK status screen remains in use until the first outdoor snapshot arrives.
- Install the Outdoor Air skill once
Open Outdoor Air SKILL.md , copy its full contents , and paste them into your Muse chat. Ask: "Remember this as my Outdoor Air skill and use it with my SenseCAP Indicator D1." Repeat with the full updated skill whenever its contents change.
Tell Muse which city or place to use and any household preferences relevant to its advice. Muse uses your private context for the location; the display uses a short English or transliterated city label.
- Ask Muse to update and change the display
"Can we go outside? Look up current outdoor air for my chosen place and update Outdoor Air." Muse looks up the report, sets the device clock and local offset when needed, and sends AQI, PM2.5 or both with a category and short advice. Check the place, reading and observation time on the D1, and Muse's summary in chat.
"How old is the saved outdoor report?" Muse can read air.status to check the saved observation and its age. An unknown clock produces an unknown age; a report at least three hours old requests a refresh.
"Show the numbers." The implemented numbers view shows both metrics, with -- for a missing value. "Make the screen calm at bedtime." selects the night view, which uses dim warm pixels while retaining the existing backlight setting.
After setup and pairing, the top button is designed to cycle ambient > numbers > night > ambient . Snapshot and view saving are implemented; button cycling and reboot persistence still await complete hardware checks.
For an optional routine, ask "Refresh Outdoor Air every morning for my chosen place." Scheduling runs in Muse. The gadget displays the latest pushed snapshot between updates; complete routine operation remains to be checked on hard…
- Understand the data and validation limits
Outdoor Air displays Muse-sourced outdoor reports. The D1 does not measure outdoor air locally or use indoor sensors for this app. The firmware accepts US EPA AQI or PM2.5 in ug/m3; Muse selects an appropriate source and preserves its actual observation time. Source availability and reporting periods determine how current the data is. Refresh requests are visual status indicators; data lookups, schedules and advice run in Muse.
The validation record records one owner-tested D1: fresh-boot pairing succeeded, air.status , clock.set and air.update answered, and a snapshot appeared. No display artefacts were observed with the final display revision. Board revision is unspecified. Full view/button interaction, night readability, persistence through reboot, reconnect/error flows, stale-age transitions, image return and complete routines still need hardware validation. The firmware uploaded to this Hub draft must also be tested from the draft page before publishing.