Skip to content

niices/tuya-mini

Repository files navigation

This project is developed using Tuya SDK, which enables you to quickly develop branded apps connecting and controlling smart scenarios of many devices.For more information, please check Tuya Developer Website.

Note: This repository is inherited from the old Tuya Github repository: xxxxxx, which will be deprecated soon. Please use this repository for Tuya SDK development instead. For changing the existing remote repository URL, please check this tutorial: https://github.com/TuyaInc/tuya-weapp-demo

An overview of the

This is a simple version of fast accessDoodle applet SDK配网插件 and MQTT Of the connection Demo,It's stabilizing at the moment. New features will be updated in the future.

experience

If you need to embed the function of small program distribution network in your own small program, you can access the small program SDK to get your ticket information, then call the small program plug-in to complete the distribution network, and then call the interface to get device information again after the success of the distribution network.

If you need to develop device control, scene linkage, automation and other functions in your own small program, you can call the corresponding interface through the small program SDK.

If you need a doodle public applet to support your device, please contact us. Public version of the small program you can scan the code below the TWO-DIMENSIONAL code experience:

If no device is shown in the device list, you can click "Add Device", select "Scan code Distribution network" and scan the following TWO-DIMENSIONAL code to experience the device。

Aromatherapy machine

Air purifier

air conditioner

The curtain motor

Intelligent lamp

Demo 目录

├── cloudfunctions             // Cloud Function directory
│   ├── ty-service            // SDK
├── miniprogram                 // Applet home directory
│   ├── image                   // The gallery
│   ├── libs                   // Third-party libraries
│   ├── pages                  // The directory for the specific page
│   ├── app.js                 // Applet entry
│   ├── app.json               // The configuration file
├── project.config.json        // Project profile
└── README.md            // Description file

Demo Description

  • Equipment distribution network:

    Directly click the button for network distribution: AP network distribution, code scanning network distribution, Bluetooth network distribution and ZigBee network distribution are currently supported

  • Experience device functions:

    After adding a device, you can click the device open switch to adjust MQTT message push of the device. It is suggested to use getdevicespeciannotation function in API.JS file to get the instruction set to avoid the possibility of inconsistent names of dp point fields. The content of the push message will be displayed on the page after the instruction is issued normally

  • The full version Demo Currently support device control, message push, add device (distribution network), home module

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published