Coder Social home page Coder Social logo

sweetlilmre / openbk7231t_app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openshwprojects/openbk7231t_app

0.0 0.0 0.0 23.62 MB

Open source firmware (Tasmota/Esphome replacement) for BK7231T, BK7231N, BL2028N, T34, XR809, W800/W801, W600/W601 and BL602

Home Page: https://openbekeniot.github.io/webapp/devicesList.html

Shell 0.05% JavaScript 1.86% C++ 19.29% C 78.20% CSS 0.08% Makefile 0.50% Batchfile 0.01% Dockerfile 0.02%

openbk7231t_app's Introduction

Introduction

OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. This repository is named "OpenBK7231T_App", but now it's a multiplatform app, supporting build for multiple separate chips:

Please use automatically compiled binaries from the Releases tab. To build yourself for a given platform, just checkout first our version of SDK and then checkout this app repository into it, details later.

See our guides in Russian: BK7231N/T34, and BL602 RGB, and Youtube guide for BK7231/T34

If you want to get some generic information about BK7231 modules, available datasheets, pinout, peripherals, consult our docs topic.

Supported Devices/Templates List (Get ๐Ÿ†free SD Card๐Ÿ† for submitting new one!)

We have our own interactive devices database that is maintained by users. The database is also accessible from inside our firmware (but requires internet connection to fetch). Have a not listed device? HELP US, submit a teardown here and ๐Ÿ†get free SD card and gadgets set๐Ÿ† ! Thanks to cooperation with Elektroda.com, if you submit a detailed teardown/article/review, we can send you this set of gadgets for free (๐Ÿššshipping with normal letter๐Ÿšš). NOTE: Obviously almost any device with supported chip (BK7231, BL602, W600, etc is potentially supported and it's not possible to list all available devices in the market, so feel free to try even if your device is not listed - we are here to help and guide you step by step!)

Our Youtube Channel (See step by step guides for flashing and setup)

We have our own Youtube channel with OBK-related guides. Please see our playlists:

You can help us by giving like, a comment and subscribe!

Features

OpenBeken features:

  • Tasmota-like setup, configuration and experience on all supported platforms (supports common Tasmota JSON over http and MQTT, etc)
  • OTA firmware upgrade system (for BK, W*00, BL602); to use OTA, drag and drop proper OTA file on OTA field on new Web App Javascript Console
  • Online builds for all platforms via Github, also supports Docker builds
  • MQTT compatibility with Home Assistant (with both Yaml generator and HA Discovery)
  • Support for multiple relays, buttons, leds, inputs and PWMs, everything fully scriptable
  • Driver system for custom peripherals, including TuyaMCU, I2C bus and BL0942, BL0937 power metering chips, Motor Driver Bridge.
  • Hardware and software I2C, supports multiple I2C devices, like TC74 temperature sensor, MCP23017 port expander, PCF8574T LCD 2x16 (or other?), etc
  • Hardware and software SPI, support for SPI BL0942, etc
  • NTP time from network (can be used with TH06 and other TuyaMCU devices), can run any script on selected weekday hour:minute:second
  • support for TuyaMCU Battery Powered devices protocol (TuyaMCU enables WiFi module only to report the state, eg. for door sensors, water sensors)
  • Dedicated TuyaMCU analyzer tool for decoding new devices (tutorial here, code repository here)
  • RGBCW LED lighting control compatible with Home Assistant (including PWM LEDs, and SM2135, BP5758, etc )
  • LittleFS integration for large files (you can write scripts there, you can host a page there with REST interface control of device)
  • Command line system for starting and configuring drivers, for controlling channels, etc
  • Short startup command (up to 512 characters) storage in flash config, so you can easily init your drivers (eg. BL0942) without LittleFS
  • Advanced scripting and events system (allows you to mirror Tasmota rules, for example catch button click, double click, hold)
  • Easily configurable via commands (see tutorial)
  • Thanks to keeping Tasmota standard, OBK has basic compatibility with ioBroker and similar systems through TELE/STAT/CMND MQTT packets, Tasmota Control app is also supported
  • DDP lighting protocol support ("startDriver DDP" in autoexec.bat/short startup command), works with xLights
  • Can be scripted to even work with shutters, see also second shutters script
  • Password-protected Web security see tutorial
  • Advanced deep sleep with GPIO/timer wakeup and hybrid power save systems, fully scriptable, can be configured to last longer than Tuya
  • Supports automatic GPIO setup with Tuya GPIO extraction, cloudcutter templates, can also import/export OpenBeken templates, you can also use GPIODoctor to find out quickly GPIO roles
  • Advanced and custom drivers like synchronized PWM groups with configurable dead time
  • and much more

There is also a bit more outdated WIKI

Building

OpenBeken supports online builds for all platforms (BK7231T, BK7231N, XR809, BL602, W800), but if you want to compile it yourself, see BUILDING.md

Flashing

See our GUI easy flash tool, also see FLASHING.md

Further reading

For technical insights and generic SDK information related to Beken, WinnerMicro, Bouffallo Lab and XRadio modules, please refer:

https://www.elektroda.com/rtvforum/topic3850712.html

https://www.elektroda.com/rtvforum/topic3866123.html

https://www.elektroda.com/rtvforum/topic3806769.html

Support project

If you want to support project, please donate at: https://www.paypal.com/paypalme/openshwprojects

Special thanks for Tasmota/Esphome/etc contributors for making a great reference for implementing Tuya module drivers

openbk7231t_app's People

Contributors

abdul2000 avatar artin961 avatar avigeilpro avatar boozeman avatar btsimonh avatar darvigettad avatar dheenhasty avatar diggar avatar dschndr avatar exploware avatar iglooom avatar ilengyel avatar iprak avatar khalednassar avatar lippertmarkus avatar luisthe0ne avatar michaelkamprath avatar no2chem avatar openshwprojects avatar pieter12345 avatar rogere66 avatar softplus avatar stef-90 avatar straend avatar sweetlilmre avatar talltechdude avatar tarwirdur avatar valeklubomir avatar vfonov avatar warewolf 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.