Giter Club home page Giter Club logo

libretuya's Introduction

LibreTuya

GitHub Workflow Status GitHub last commit

Code style: clang-format Code style: black

Discord PlatformIO Registry

RTL8710BN BK7231

PlatformIO development platform for IoT modules manufactured by Tuya Inc.

The main goal of this project is to provide a usable build environment for IoT developers. While also providing vendor SDKs as PlatformIO cores, the project focuses on developing working Arduino-compatible cores for supported families. The cores are inspired by Espressif's official core for ESP32, which should make it easier to port/run existing ESP apps on Tuya IoT (and 3-rd party) modules.

LibreTuya also provides a common interface for all family implementations. The interface is based on ESP32 official libraries.

Note: this project is work-in-progress.

Usage

  1. Install PlatformIO
  2. platformio platform install https://github.com/kuba2k2/libretuya
  3. Create a project, build it and upload!
  4. See the docs for any questions/problems.

Board List

See Boards & CPU list.

Arduino Core support status

Note: this list will probably change with each functionality update.

  realtek-ambz beken-72xx
Core functions ✔️ ✔️
GPIO/PWM/IRQ ✔️/✔️/✔️ ✔️/✔️/✔️
Analog input (ADC) ✔️ ✔️
Serial ✔️ ✔️
Serial (extra) 0, 1, 2 1, 2
Flash I/O ✔️ ✔️
CORE LIBRARIES
SoftwareSerial ✔️
SPI
Wire
OTHER LIBRARIES
Wi-Fi STA/AP/Mixed ✔️ ✔️
Wi-Fi Events ✔️ ✔️
TCP Client (SSL) ✔️ (✔️) ✔️ (❗)
TCP Server ✔️ ✔️
IPv6
HTTP Client (SSL) ✔️ (✔️)
HTTP Server ✔️ ✔️
NVS / Preferences
SPIFFS
BLE -
NTP
OTA ✔️ ✔️
MDNS ✔️ ✔️
MQTT
SD

Symbols:

  • ✔️ working
  • ✅ tested, external library
  • ❓ untested
  • ❗ broken
  • ❌ not implemented (yet?)
  • - not applicable

Names:

  • Core functions - stuff like delay(), millis(), yield(), etc.
  • CORE LIBRARIES - included normally in all Arduino cores
  • OTHER LIBRARIES - included in ESP32 core or downloadable

License

See LICENSE. Project is licensed under MIT License.

Parts of the code may come from third parties, vendor SDKs or other open-source projects. Most of these files are marked with appropriate copyright/author/license notices.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

libretuya's People

Contributors

blakadder avatar catalin2402 avatar dbuezas avatar kolos avatar kuba2k2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.