This WeChat Mini Program collects several IoT development demos: AirKiss Wi-Fi provisioning, ESP Blufi provisioning, BLE discovery/UART communication, an MQTT device dashboard, and PB-series OTA pages.
- Install WeChat DevTools and import this repository.
- Replace
touristappidinproject.config.jsonwith an AppID authorized for the required plugins. - Confirm the
airkissandhello-pluginproviders inapp.jsonare available to that AppID. - For the optional MQTT dashboard, fill
config/mqtt.jswith credentials issued by your service. Do not commit them. - Use compatible test firmware and grant Wi-Fi, Bluetooth, location, and network permissions when requested.
The project declares WeChat base library 2.20.2 and includes prebuilt Mini Program dependencies. Install dependencies from package.json and rebuild npm packages in DevTools when updating them.
pages/index: feature navigationpages/airkiss: AirKiss provisioningpackageB/pages/blufi: Blufi provisioningpages/blueDevices: BLE discovery and UART-like communicationpackageA/pages/mqttDash: MQTT dashboardpackageC/pages: PB OTA tools
See code flow, architecture, and validation.
Wi-Fi and MQTT passwords are sensitive. The application no longer logs, caches, or ships demo passwords, and clears provisioning passwords when pages close. Historical MQTT credentials in this repository must be treated as exposed and revoked. Production products should use short-lived credentials and complete a threat review.
Static and logic checks do not replace official DevTools compilation, plugin authorization, phone testing, real provisioning, BLE/OTA recovery, MQTT broker testing, device firmware verification, or hardware acceptance. No repository-level open-source license is present; confirm all component and plugin terms before redistribution.