Skip to content

Repository files navigation

中文

WeChat AirKiss and Bluetooth Provisioning Demo

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.

Run

  1. Install WeChat DevTools and import this repository.
  2. Replace touristappid in project.config.json with an AppID authorized for the required plugins.
  3. Confirm the airkiss and hello-plugin providers in app.json are available to that AppID.
  4. For the optional MQTT dashboard, fill config/mqtt.js with credentials issued by your service. Do not commit them.
  5. 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.

Entry points

  • pages/index: feature navigation
  • pages/airkiss: AirKiss provisioning
  • packageB/pages/blufi: Blufi provisioning
  • pages/blueDevices: BLE discovery and UART-like communication
  • packageA/pages/mqttDash: MQTT dashboard
  • packageC/pages: PB OTA tools

See code flow, architecture, and validation.

Security and limitations

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.

About

一个基于微信airkiss配网的微信小程序

Resources

Stars

58 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages