Openbeken commands tuya. It uses WB3S - WB3S Module Datasheet-Tuya … Apr 20, 2022 · LSPA9 comes in various versions, but in this case it's based on CB2S (BK7231N) module and BL0942 energy metering chip with UART interface. ESP Hardware, News, Q&A and whatever else⚡Product & Project Links during streamEmporia - https://amzn. com/OpenBekenIOT/hid_download_pyUse thi Dec 13, 2022 · hello i successfully flashed some tuya ( LSC ) smart devices i use esphome , create a uf2 file , use LTchiptool and done , it works but now i have 1 tuya ( lsc ) powerplug , and LTchiptool won't flash this device , even with the original tuya bin file , or older uf2 files when i flash openbeken with 'bk7231flasher_1. 5 meters to the TV, otherwise, it does not work. This repository is named "OpenBK7231T_App", but now it's a multiplatform app, supporting build for multiple separate chips: Jul 6, 2022 · Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. It has a CB3S chip instead of esp8266. Currently, this part of the guide applies to BK7231 only, as that's the only chip supported both by LT and OBK. IT actually supports BK7231T (WB3S, WB2S, WB2L, etc), BK7231N (CB2S, CB2L, WB2L_M1, etc), T34 (T34 is based on BK7231N), XR809 (XR3, etc), BL602 and W800 (W800-C400, WinnerMicro WiFi & Bluetooth), W801 Nov 25, 2022 · Discover how I flashed OpenBeken on a Tuya LSPA9 socket with a CB2S module and BL0942 chip, including a teardown and technical insights for enthusiasts. Reload to refresh your session. For example, if you have a smart plug with two relays and two buttons, you can set first relay and button to channel 1, and second relay and second button to channel 2. Open source software for Beken chips including BK7231 - aimed primarily at IOT applications like sockets, lights & LED strips - for those who want free of Tuya. The following guide shows how to change firmware of a Tuya ceiling lamp based on CB2S module. 3' , then it works very fast the issue is , i prefer esphome and not Code available from https://github. Nov 14, 2022 · Teardown of this battery powered temperature & humidity monitor from AliExpress It's very hack-able, just 2 screws and it opens right up, nice accessible board, very easy to break-out: CB3S chip; assume it's BK7231N like CB2S?. You signed out in another tab or window. Disassembly. button still worked and led flashing was all correct while going through flashing process. It implements the same TuyaMCU interface as the original firmware but exposes all the buttons and LEDs directly over the interface, enabling controllers higher up the stack (OpenBeken, Home Assistant, etc. They only require the initial, one-time start of DGR via Feb 24, 2024 · hello i successfully flashed some tuya ( LSC ) smart devices i use esphome , create a uf2 file , use LTchiptool and done , it works but now i have 1 tuya ( lsc ) powerplug , and LTchiptool won't flash this device , even with the original tuya bin file , or older uf2 files when i flash openbeken with 'bk7231flasher_1. This has WB2S chip Firmware version is 1. bat file to define channel types, set dimmer ranges, and link outputs. The flashing process involves downloading the correct firmware, running a script, and ensuring the device is in AP Apr 9, 2023 · Die chinesische Smart-Home-Plattform "Tuya" ist bei vielen Geräten aus china inzwischen weit verbreitet. OpenBeken is alternative firmware for IoT devices that allows you to cut from cloud and connect easily to other systems like Home Assistant, soon Domoticz, etc. Apr 26, 2023 · Please see related article:https://www. The unit features a CBU using P16 for MOSI and includes a microphone. Pre-Reqs Need a Ubuntu/Linux machine with Docker to do the install with Tuya Cloud Cutter. Dec 15, 2022 · Shouldn't there be the OpenBeken chip AND a second Chip that runs the TuyaMCU? I only see a 10 pin chip near the smoke detecting unit with pads GND, PA0, PA2 and VCC. Quick Intro I was looking for a mains-powered (no batteries!) “nightlight” which could be linked together Nov 2, 2023 · Hello, Need a little guidance, This is the script that you posted // This aliased command will turn off relay on CH1 after 10 seconds // addRepeatingEvent [IntervalSeconds][RepeatsOr-1][CommandToRun] alias turn_off_after_time addRepeatingEvent 10 1 setChannel 1 0 // this will run the turn off command every time that CH1 becomes 1 addChangeHandler Channel1 == 1 turn_off_after_time Instead of Jul 28, 2022 · Hey guys, I just wanted to show the good work of one of my OpenBeken firmware users (Tasmota/ESPhome replacement for new Tuya modules, including BK7231T, BK7231N, XR809, W800, W801, T34, BL602). Developed independently by Tuya Smart, Tuya IoTOS is the world's only IoT operating system covering all levels of IoT sensing, interruption, network, platform, and application. Includes setup, features, and data points. 1. 102 with the fix will be released soon. Sep 1, 2023 · I ordered some WiFi universal IR remotes on AliExpress and want to share my experiences from flashing OpenBeken on them. You have two options: 1. I have a light that is controlled from 3 switches. Dec 19, 2022 · First i only use (tuya) esp devices such as Gosund EP2 that flashed successfully with tasmota but i already have other tuya devices that aren’t equipped with esp chip, such as the “LoraTap RR500W” smart relay module. Sep 23, 2023 · Teardown and OpenBeken drop in for Feyree Dynamic Load Balancing EVSE with Tuya App Function from Aliexpress Store. Apr 6, 2023 · The discussion revolves around the Tuya LSPA9 smart socket, focusing on its teardown, flashing OpenBeken firmware, and configuring the BL0942 energy metering chip. Uploading openBeken did not help - I had to upload the tuya firmware first and then openBeken. wait for an update that will add a missing link between TuyaMCU and autodiscovery Built-in Tuya IoT link capability, supports intelligent control of APP and cloud, and can be interconnected with Powered by Tuya products. In tuya-convert select: By firmware version and name 1. active tuya. Download OpenBK7231T_UG_X. Users share their experiences with the flashing process, noting that the T34 chip lacks programming pads, necess Sep 10, 2022 · Hey all - Relatively new to posting on here, so bear with me as I fumble my way through it! Going to write up a small walkthrough on a relatively niche product - including LocalTuya config, and physical (no soldering!) flashing of it with OpenBeken and LibreTuya ESPHome configuration. Apr 15, 2022 · Hi Flip, Thanks for the help thus far I am definetly making some good progress now. Aug 30, 2023 · But when you try to send the command it only sends a 16 bit command: "Samsung-0xB24D-0x29". bat logic, so you clearly see what actually is set up after a restart Two major things I could not find or figure out and would be thankful for input: Nov 14, 2023 · Fortunately, I was able to find a project called OpenBeken, which is a custom firmware for the Tuya CB3S module. My repo is here: The guide shows how to pair the TuyaMCU device with HomeAssistant by flashing my OpenBeken to WB3S module. Command sets the default WiFi state for TuyaMCU when device is not online. I flashed OpenBeken to one of the devices, after sniffed the UART communication. 3 oem_bk7231n_dctrl_switch (HomeMate 4 Node Smart OpenBeken IoT devices teardowns database Powered by Elektroda. Flashing and mistakes Nov 30, 2022 · In order to improve the workflow for developers building on top of OpenBeken, it's possible to build the OpenBeken HTTP server in a desktop Microsoft Windows environment. 12 oem_bk7231n_plug (Nous A1, Tuya Generic LSPA9 Smart Plugs) - 1. Firmware will be changed to new multiplatform IoT system, OpenBe Sep 24, 2024 · hello i successfully flashed some tuya ( LSC ) smart devices i use esphome , create a uf2 file , use LTchiptool and done , it works but now i have 1 tuya ( lsc ) powerplug , and LTchiptool won't flash this device , even with the original tuya bin file , or older uf2 files when i flash openbeken with 'bk7231flasher_1. Aug 21, 2023 · (If you want to use mqtt) In the 'Flags' section of openBeken enable: [MQTT] [Debug] Always set Retain flag to all published values [MQTT] Broadcast self state on MQTT connect; After resoldering the second mcu, you can still configure openBeken by directly connecting to the module's ground pin, but the module occasionally gets reset by the MCU Mar 11, 2023 · In case of version without TuyaMCU, you'll have to use deep sleep feature of OpenBeken to preserve battery life, but we already got it working for door sensors and more: Door/window sensor without TuyaMCU - deep sleep and energy saving, OpenBeken [OpenBeken] SHT Sensor configuration, commands, and deep sleep usage with wake up on pin change but Mar 20, 2019 · Teardown and OpenBeken drop in for Feyree Dynamic Load Balancing EVSE with Tuya App Function from Aliexpress Store. Now it still compiles, as evidenced by the "orange ball" at commit: Our builds are done automatically online, but you have to wait a few minutes after uploading the patch to receive binary files. Home Assistant setup Make sure this flag is checked: Set MQTT data in Config: If the device wants to turn off during setting, then either turn off the door controller with the command stopDriver DoorSensor or simulate door opening/closing. property. Users emphasize the importance of verifying the actual chip on the PCB, as Tuya has been known to ship devices with incorrect labels. Model F-OBZ2-AC-1P32 - this model isn't visible anywhere when purchasing. It can be used to control a wide range of IR devices such as TVs, air conditioners, and more. Jul 8, 2022 · In the App panel, drag the file to the OBK file system: This file will be automatically executed after every reboot. Users share their experiences with various versions of the LSPA9, including issues with calibration, communication protocols (UART vs. Tasmota responds to "Power0" with "all relays on", but tuya seems to ignore "Power0" completely. May 21, 2023 · The discussion focuses on configuring a TuyaMCU dimmer with OpenBeken firmware for integration with Home Assistant. 3' , then it works Apr 13, 2023 · I've just bought a generic Tuya BL-XK01 star projector light and used Tuya-cordcutter to flash OpenBeken to it successfully. device. I purchased previous models by this vendor that worked well, so I was willing to take the risk with the TuyaMCU. com/openshwprojects/OpenBK7231T_Appwith BK7231N variant use this flashing command python uartprogram W:\GIT\OpenBK7231N\a Jan 12, 2024 · Discover how I flashed OpenBeken on a Tuya LSPA9 socket with a CB2S module and BL0942 chip, including a teardown and technical insights for enthusiasts. We are still working on that sensor with @DeDaMrAz Channels are used to link together behaviours. I did tried to replace the chip with an esp 12 e, but cloudcutter works just fine with these. com/openshwprojects/OpenBK7231T_App/releases/2) Download hid_pyhttps://github. This build creates a Windows executable (. com/rtvforum/topic3973669. The conversation highlights successful testing of commands that streamline the provisioning process, allowing for rapid setup of devices in AP mode. 205. It uses WB3S - WB3S Module Datasheet-Tuya … May 21, 2023 · Update will be required, but testing is not finished. Oct 11, 2022 · Here is the Tasmota configuration: And this is the OpenBeken configuration: Results: both strips are changing their states together, both power and brightness. The discussion revolves around the Tuya PIR motion sensor, specifically the process of flashing it with OpenBeken firmware to eliminate reliance on Tuya's cloud services. 3' , then it works Oct 20, 2023 · Here I will show you how you can script the behaviour of TuyaMCU BK7231N relay flashed with OpenBeken firmware. Sep 18, 2023 · I’ve converted Deta SMART rewireable plug ( 6930HA Series2) to esphome using tuya-convert (OTA). Backlog command allows executing up to 30 consecutive commands with a single command line. TuyaMCU support for smart dimmers and fans. Feb 2, 2023 · Wiping NetworkManager configs - I then put the switch into AP mode again (see above) and it said: Using WLAN adapter: wlan0 Configuration file: /dev/stdin wlan0: interface state UNINITIALIZED->ENABLED wlan0: AP-ENABLED Processing endpoint /v2/url_config tuya. See also stopAllScripts on forum After getting to know openbeken a little bit as a tasmota user I have to say that one of the greatest things is far less restarts (makes the tinkering much easier) as well as the autoexec. May 28, 2024 · I explored the Outsmart/Tuya RGBIC controller from AliExpress, testing OpenBeken's new WS2812B individually-addressable LED support and pixel animations. The vulnerability as well as the exploitation tooling were identified and created by Khaled Nassar and Tom Feb 18, 2023 · it will start by default a measurement every 10 seconds. Jun 19, 2023 · Success! Our WB3S is now using OpenBeken! 10. I know ESP8266 and ESP32 designs pretty well but the whole OpenBeken / Tuya-World is new to me, so sorry for asking dumb questions or doing stupid things 1) Download the firmware:https://github. to/35OMZ Apr 23, 2023 · You can get a template manually, either from tuya-cloudcutter/device binary, or from OpenBeken templates. 4. Benefiting from Tuya Smart's accumulation in the IoT industry, TuyaIoTOS provides solutions for a full range of products from product design, R&D, to post-operation. This tool can automatically download latest firmware (on user request) and then do a full BK backup and then write new flash cycle. Come chat and hang out with us while we attempt to do some live cloudcutting and load ESPHome on a few devices. No external server is needed, no Home Jun 26, 2023 · I purchased two wireless Tuya-based doorbells from Aliexpress (WGH-ML-001). 9. Ota openbeken Migrating from OpenBeken (OTA) OpenBeken is a custom, Tasmota-like firmware for non-ESP chips. SPI), and the stability of energy readings. To flash the image, I had to remove the module, because the TuyaMCU littered the TX/RX lines. Using "brightness_command_topic" "color_temp_command_topic" "rgb_command_template" Easy configuration of BK7231 devices, with just a few clicks - OpenBeken can now extract Tuya GPIO Config and autogenerate your device template!Our firmware Feb 17, 2024 · Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. The device comes with CT clamp: The back of the plastic case is secured with some small plastic tabs; it was removed easily with a small blade: The main board with Tuya and BL0942 visible: Reverse side with CB2S and power electronics visible. stopAllScripts: Stops all running scripts. 15 oem_bk7231n_plug (various smart plugs) - 1. In this topic I will focus on the basics of the manual LED control, I will not cover advanced animations here. Jan 3, 2023 · Teardown of this energy meter from AliExpress. Jun 9, 2022 · Discover how to configure a TuyaMCU dimmer with OpenBeken for Home Assistant integration. Dec 26, 2023 · Updated: 2023/12/27 The IR Codes captured on Tasmota with new compact encoding scheme can be played back as it is through IRSend. kaczmarek2 Good day, random question - I did a test with openbeken and ESPhome (libretuya) firmware, and I could send IR commands to my TV from both firmware, but I noticed it's working only when the transmitter is very close 0. Teardown and OpenBeken drop in for Feyree Dynamic Load Balancing EVSE with Tuya App Function from Aliexpress Store. Decent quality device for the price. Most of OpenBeken features are emulated, including pins, buttons, energy metering, ADC and potentiometers, event handlers, change handlers, LittleFS scripting and of course MQTT runs as well. OpenBeken simulator that allows you to draw a virtual IoT device schematic and run it on Windows. Deep sleep mode for energy efficiency & MQTT updates on state change. You switched accounts on another tab or window. bin and place it in /custom-firmware folder Apr 2, 2023 · Teardown and OpenBeken drop in for Feyree Dynamic Load Balancing EVSE with Tuya App Function from Aliexpress Store. in/) IoT devices is using tuya platform in their devices. 0 There are lots of Tuya Serial fixes / features added in there and the tutorial below expects them. fetch tuya. Grab an . uf2 "OpenBK7231N_1. Step by step guide with photos. See the DHT11 in OpenBeken video (it's using W600 platform, but it's the same on BK7231): Aug 17, 2023 · The discussion revolves around the Tuya USB Smart Adapter HC-S050-WIFI, which utilizes the BK7231N chip. See also State on forum. Dissecting flash dumps Once a flash dump has been acquired, it can be dissected into its constituents by invoking the dissect_dump subcommand. For more info, please refer to those guides: https Easy to use, GUI, BK7231T/BK7231N flash tool and GPIO config extractor for beginners. TIP: If you are using jumper headers use sleep 15 && before your commands, this would free your hand and give you some time to set the jumper pins and connect the USB to PC. You may or may not be aware that Tuya has been replacing the ubiqitous ESP chips from their devices for a chip which is pin-compatible but does NOT run Tasmota, ESPurna or ESPHome. Overcame challenges with initial upload failures and connection errors. I will show here step by step how to flash OpenBeken to LSPA9 and I will also explain step by step how the communication with BL0942 works. co. exe) for our HTTP server, so developers can create our configurator, etc, pages faster, without the need for a physical Tuya developer platform. 0. Please see values table and description here . Ive setup as the channels, things etc as per the How-to and it seems as though both Openhab and the device are talking to the same Topic, however i still don’t get to control the switch… See config below: config. get tuya Jun 13, 2024 · I received two of these Tuya 2 gang touch switches with a nasty T34 chip inside recently. The switches are all KS-602S and one has an esp8266 flashed with Tasmota and the other two have a Tuya chip flashed with OpenBeken. I picked up a few of these switches on sale for only a few dollars each, found that each of them are slightly different internally, despite looking almost exactly the same on the outside. The command isn't working as expected, and I'm trying to publish telemetry data directly in the desired JSON format. elektroda. Users share experiences and solutions regarding the setup process, including the use of specific commands in the autoexec. Once driver is avalaible you have access to all the command for the sensor : - Status command : "SHT_GetStatus" will return the status of the sensor once convert to binary you can apply this table : "SHT_ClearStatus" you can clear the status for all the checksum, alert bit with the command "SHT_ClearStatus" to gather Temp and Humidity TuyaMCU command maps device functions to Tasmota components ; TuyaSend<x> command calculates and sends complex serial commands using only two parameters; TuyaReceived MCU response interpreted and publishes as status message and a JSON payload to an MQTT topic ; TuyaMCU Command~ Command TuyaMCU is used to map Tasmota components to Tuya device OpenBeken (Tasmota/esphome replacement for new Tuya modules) Tasmota Device Groups compatibility and serverless pairing examples and scripting demos (dimmer controls by Device Groups, button events, etc) May 5, 2023 · Only the next version, which will appear in a few minutes, will have a fix for displaying the channel with the startup value. Dedicated for Windows platform, but works on Linux with Mono. Using the pin config from that post allows for some RGB control using the 5 PWM sliders and the dimmer, but not predictably. If there is, make sure it's set to 32 bit. In general, when you map something to a channel it all works for it, i. Each command is separated by a semicolon (";"). json Device. pskkey. 3 button switch https://amzn. Quite recently, a project named Openbeken managed to exploit new generation Tuya hardware with these chips 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 Sep 22, 2022 · Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. get tuya. github. It’s more basic than ESPHome, but it did actually do what it said it would, with very little effort. Apr 23, 2023 · Finally figured out how to get these floods off of Tuya with full local control, including DDP listening from a WLED controller. Now you need to follow the commands explained in the flashing tutorial. Während sieh früher meist mit ESP8266 und ESP32 genu Nov 30, 2022 · A detailed guide how to setup Tuya BK7231T/BK7231N Garage Door Opener/Sensor 100% no-cloud, local only with Home Assistant YAML and OpenBeken, Tasmota style Dec 20, 2022 · Exploring the challenge of flashing my Tuya WiFi Ceiling Lamp KZB2436-36W with OpenBeken. Sep 11, 2024 · Use tuya-cloudcutter and push OpenBeken as custom firmware – Choose the Lumary 4" Ceiling Light as your tuya-cloudcutter device profile; For OpenBeken module config – P7 = PWM – P8 = PWN – Change startup command text: backlog startDriver SM16703P; SM16703P_Init 36; startDriver PixelAnim; Perform OpenBeken home assistant mqtt discovery Feb 2, 2023 · Teardown and OpenBeken drop in for Feyree Dynamic Load Balancing EVSE with Tuya App Function from Aliexpress Store. Feb 27, 2023 · TextField will also allow you to enter this value in the GUI. Mar 27, 2024 · This device is a small IR blaster that can be controlled via the Tuya Smart Life app. Jun 12, 2022 · Hello again, I would like to present my OpenBeken progress update. I am using device groups on all three and it has been working for many months. It supports BK7231T (WB2S, WB3S, WB2L, etc), BK7231N (CB2S, CB3S, etc), XR809 (XR3), BL602 and now also… W800 by Winner Micro! My firmware allows you to connect new devices to Home Assistant by MQTT, to script them with events and callbacks, to control them by basic Tasmota HTTP interface, also offers a TCP console OpenBeken Configuration Generator - Parse Tuya JSON data from Cloudcutter. 7) and chip type (WB2S BK7231T) and tuya-cloudcut the device using the nearest sounding device for the same version. The user initially faced issues with button functionality not toggling the outlets despite proper configuration. Thanks to @johnypean for the template that works on my 2 gang switch even though the board layout is slightly different to his,my board looks exactly like @divadiow 3 gang. So no need to replace or open the device. It's a standard-sized 12S type module that could be replaced with an ESP-12S. The device is powered by a BK7231N chip, which can be flashed with OpenBeken firmware to enable local control and integration with Home Assistant. Feb 15, 2023 · Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. 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 The following guide shows how you can group together OpenBeken and Tasmota devices via Tasmota Device Groups protocol. OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. Now add 6 months. See the updates below Reference Links about S06 IR Blaster: Teardown, flashing and configuration for Smart Tuya IR Blaster S06 [CB3S] OpenBeken configuration for WiFi universal IR remotes from aliexpress (S06, S18, IRC02) with BK7231 I have a requirement to be able Jul 28, 2023 · Exploring OpenBeken for my door/window sensor setup without TuyaMCU. This repository is named "OpenBK7231T_App", but now it's a multiplatform app, supporting build for multiple separate chips: Jan 30, 2023 · Hello, here’s a short video guide showing how you can pair the new non-ESP Tuya chips with Home Assistant by using OpenBeken multiplatform/portable firmware (inspired by Tasmota, compatible with most Tasmota MQTT json and many commands), that currently support multiple new Tuya IoT platforms, including BK7231T/BK7231N and much more OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. It uses WB3S - WB3S Module Datasheet-Tuya … Sep 29, 2022 · OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. Oct 2, 2024 · I encountered an issue with OpenBeken's AddChangeHandler command for sending JSON telemetry to ThingsBoard. Seeking insights for a smooth transition beyond Tuya's limits. 8 - BK7231T / oem_bk7231s_rnd_switch Aoycocr X5P Smart Plug flashing guides for WB2S/WB3S/CB2S fan Tuya controllers with TuyaMCU; MQTT; Home Assistant Yaml configuration; Flash with OpenBeken - open source, multiplatform Tasmota/Esphome replacement for new Tuya modules, including BK7231N, BK7231T, XR809, BL602, W800, T34 Feb 28, 2023 · Please consult those topics: Door/window sensor without TuyaMCU - deep sleep and energy saving, OpenBeken [OpenBeken] SHT Sensor configuration, commands, and deep sleep usage with wake up on pin change In those two examples, the device goes into deep sleep and sleeps until the voltage on IO pin changes. 3. In order to remedy this issue, manually reset the device by disconnecting its power (but not the UART bridge!) a few times after issuing the command. uuid. Device powered via USB, features BK7231N chip. This repository is named OpenBK7231T_App, but now it's a multiplatform app, supporting build for multiple separate chips: BK7231T (WB3S, WB2S, WB2L etc) BK7231N (CB2S, CB2L, WB2L_M1 etc) T34 (based on BK7231N) Sets the new startup command (short startup command, the one stored in config) to given string. You signed in with another tab or window. 8. Basic Information: Brand: Tuya? Model: CO400A-A004 Chip: BK7231N (CBU) Local vendor: AliExpress Teardown Photos: i already flashed OpenBeken on the device since i did this for my smoke detectors i also ordered before, which had the same chip. com teardowns section Have a device? Help us! Submit a teardown here! Want to get cloud-free? Pair with HA? Flash OpenBeken - now supporting BK7231N, BK7231T, T34, BL2028N, XR809, W600/W601, W800/W801, BL602, LF686 and LN882H! Do you like our Teardowns List? This repository contains the toolchain to exploit a wireless vulnerability that can jailbreak some of the latest smart devices built with the bk7231 chipset under various brand names by Tuya. . Anyway, here is my autoexec. Just input JSON data extracted from firmware, preferrably taken from cloudcutter profile and get your config. You'll want to use Tuya-Cloudcutter to get something like OpenBeken on them. I purchased previous models by this vendor May 21, 2024 · I have a Tuya 3 phase powermeter (ZGMISMART-SPM02) modded with an ESP. They are a Tuya specific module that they created to replace the ESP8266 modules. to/3okTqsZ , iH Jan 8, 2023 · Now activate the output of the socket (relay on) and enter the values of your load using those commands (replace the example values with your measurements): VoltageSet 232. Looking at the Tuya-cloudcutter I presume that I need to "open up" the timer and The hardware was successfully recovered. See also StartupCommand on forum. 0 CurrentSet 0. 17). Mar 3, 2023 · @p. 475 PowerSet 110. With this command it is possible to control every function of the dpId that is controllable, providing you know its data type and data length. Configure the OpenBeken software to connect to your wifi Connect your computer to the OpenBeken SSID and browse to 192. Jan 20, 2023 · Disclaimer: most of this is already “out there” in the forums, this is a summary and my experience. Tasmota doesn't support 3 phases on Tuya MCU. I had just copy/pasted that "Power0" here. Can OpenBeken handle/display 3 phase power, voltage, current (forward/reverse), and frequency? Jul 22, 2023 · Homemate (https://homemate. With them provided, the rest of the protocol command is calculated. rbl=device:download" This will create OpenBeken. May 16, 2023 · For the sake of clarity, here is a list of patched versions of Tuya that are not susceptible to firmware over the network: BK7231T - none BK7231N: - 1. Usage: Get cloudcutter profile text or user_param_key from BK tools (advanced users) Click here for profiles Jan 4, 2023 · Exploring the possibilities of customizing Tuya devices with OpenBeken firmware for enhanced control with Home Assistant, including multi-press and hold functions. The CBU modules are not WLED compatible. just do a Yaml copy/paste from this topic (to configuration yaml, it's very simple, just remember to check device mqtt name) 2. Sep 17, 2024 · Lepro GU10 RGBWW Bulb - Config - OpenBeken - Tuya-CloudCutter I purchase a set of these from amazon (link below), and managed to use the cloudcutter profile lepro-9200293-gu10-rgbct-bulb. A search on those github pages found several references to Power0 though. e. If you're sure that "IR_Samsung 0xB24D 0x2929 0" is the correct command, I would first verify if there's a setting or option in your firmware that allows you to set the command bit length. 17. It is required for dpId's that shouldn't be mapped to a fnId. Jul 14, 2023 · DHT11 sensor can be easily added to OpenBeken device, but keep in mind that some Tuya devices are not isolated from mains so you need to take extra caution when working with them. 2 oem_bk7231n_garage_door (Tuya Generic QS-WIFI-C03 Gate Opener Switch) - 1. I have added much more features according to user requests, including: 1. Backlog is a useful feature to avoid numerous restarts when setting up a new device. Mar 12, 2023 · According to Tuya serial protocol, hex code 55AA000300010407 represents "Wi-fi is connected". State: NULL: NULL. Git clone the repository locally. becon. XX. 168. Thanks to the good information on this thread I have openbeken running on it. Meet Amazon Certification Modules comply with Amazon's certification specifications and meet testing requirements for safety, acoustics, interaction, functionality, and music. Oct 17, 2023 · The discussion revolves around the Tuya LSPA9 smart socket, focusing on its teardown, flashing OpenBeken firmware, and configuring the BL0942 energy metering chip. dynamic. I then uploaded the build with "motion" via OTA. My new MT10W seems to have the attack vector "circumvented" (firmware version 2. Smart LED RGBCW Tuya based on non-ESP chip (BK7231T / BK7231N) pairing guide with Home Assistant (OpenBekken - Tasmota replacement for BK chips, including WB2S, WB3S, WB2L etc modules). Users share their experiences with configuration, including enabling deep sleep mode to conserve battery life. bat Dec 22, 2023 · Continuing the Tuya device hacking series, this post describes how to flash the Tuya Mini Smart Switch with ESPHome firmware. This tool can generate OpenBeken config with one click. This repository is an alternative TuyaMCU firmware for the Treatlife DS02. 9 - BK7231T. Both approaches are supported by OpenBeken. I knew it has a Tuya CBU module (see pictures). io/webapp/devicesLi Feb 17, 2024 · Successfully flashed Tuya 8-in-1 Air Quality Monitor PV28-CW with OpenBeken using Tuya Cloudcutter on Raspberry Pi 4. : - from MQTT set publish works (setting values from HA) - from the MQTT level get publish works (receiving changes from the device) - scripts work including setChannel 5 123 (channel setting) - change handlers Aug 30, 2023 · The discussion revolves around the successful flashing of the Deta 6294HA outdoor double outlets using OpenBeken and Tuya-CloudCutter. 1 Configure the wifi details Restart the WB3S and connect to it's IP address (use your router's interface to find it) 12. Oct 16, 2024 · I just got a Carbon Monoxide Detector from AliExpress and wanted to free this thing from the cloud. 1. In this guide I am using an Australian DETA 6922HA-Series 2 Double Power Wall outlet. htmlHere is OpenBeken devices list:https://openbekeniot. It needs to be restarted manually the first time Meaning of individual commands: - startDriver TuyaMCU - runs the TuyaMCU driver - setChannelType n toggle - set the type of channel number n to On / Off - linkTuyaMCUOutputToChannel n bool 1 - connects TuyaMCU dpID number 1 with Feb 20, 2024 · I have a strange problem. In the meantime, I removed all MQTT from the HA and Zigbee by the way. Disconnect all but the 5V power and 5V GND [b]11. Mar 20, 2024 · Teardown and OpenBeken drop in for Feyree Dynamic Load Balancing EVSE with Tuya App Function from Aliexpress Store. I imagine it's close to the Genio projector shown here, but not enough. Jan 29, 2024 · The switches are all KS-602S and one has an esp8266 flashed with Tasmota and the other two have a Tuya chip flashed with OpenBeken. In this topic I will cover a creation of scripts, mapping TuyaMCU variables to OpenBeken channels, displaying them, creation of custom HTTP buttons and setup of a custom OBK script timer. DGR scripting In OpenBeken we have script commands that allow you to operate "from the outside" on Tasmota Device Groups. Currently OpenBeken supports WS2812B LEDs and many LEDs with similiar protocols, like, for example SM16703P. Second argument is optional, if set to 1, command will be also executed after setting. (may be the same as tuyaMcu_defWiFiState 4?) I tried this hex code with Tasmota by issuing the command "serialsend5 55AA000300010407" and the wall switch started working immediately just like the one with OpenBeken. config. So the problem seems to be the "Power0" command in Tuya. The device can be both waken up by a button press (configuration button) and by door sensor Apr 29, 2023 · The discussion revolves around the teardown and flashing of the Tuya Generic Wifi Wall Light Switch (model T34) using OpenBeken firmware. Feb 3, 2024 · Tasomta's all relays turning on but not tuya was the hint. Aug 19, 2022 · I’ve been developing my own Tasmota/esphome clone for some time already . Nov 17, 2023 · Info:CMD:[WebApp Cmd 'tuyaMcu_sendQueryState' Result] OK Info:TuyaMCU:TUYAMCU received: 55 AA 03 07 00 05 01 01 00 01 01 12 Info:TuyaMCU:TuyaMCU_ProcessIncoming[ver=3]: processing command 7 (State) with 12 bytes Info:TuyaMCU:TuyaMCU_ParseStateMessage: processing dpId 1, dataType 1-DP_TYPE_BOOL and 1 data bytes Info:TuyaMCU:TuyaMCU_ParseStateMessage: raw data 1 byte: 1 Info:TuyaMCU:TUYAMCU Feb 17, 2024 · Here I will show you the basics of individually addressable LEDs control in OpenBeken. I did a test with the Esphome climate component and my AC, it's working fine, but only 0. Feb 3, 2024 · I have a strange problem. So you can replace the firmware with openbeken. Best part, this is all done over the air and no hardware to mod. 5 meters away, otherwise Jun 29, 2024 · I'm documenting my experience with the Tuya Combustible Gas Alarm DY-RQ400A, featuring the WB2S (BK7231T) module and Runjet RJM8L151F6P6 MCU. save tuya. key. I think they are running running firmware 2. conf config below: Openhab Channel Config: Finally Mqtt Eplorer output: Tuya-cloudcutter is a tool that allows you to flash BK7231 via WiFi, just like tuya-convert allowed to do it with ESP8266. This repository is named "OpenBK7231T_App", but now it's a multiplatform app, supporting build for multiple separate chips: OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. Sep 14, 2023 · Unfortunately it comes with a 1mb BL602 so is not an easy candidate for freeing from Cozylife cloud services as OpenBeken does not work on 1mb BL602s. I attached the original firmware to my post. It may be required for some devices to work, because Tuya designs them to ignore touch buttons or beep when not paired. Apr 16, 2024 · The discussion revolves around flashing OpenBK firmware via OTA using the Tuya Cloudcutter tool. flashing guides for WB2S/WB3S/CB2S fan Tuya controllers with TuyaMCU; MQTT; Home Assistant Yaml configuration; Flash with OpenBeken - open source, multiplatform Tasmota/Esphome replacement for new Tuya modules, including BK7231N, BK7231T, XR809, BL602, W800, T34 Dec 5, 2022 · @nelevit thank you for reporting, it turns out that Autodiscovery is simply missing a check to work with TuyaMCU. Step-by-step guide for IoT device independence! OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. Jan 7, 2023 · Info:TuyaMCU:TUYAMCU received: 55 AA 03 00 00 01 01 04 Info:TuyaMCU:TuyaMCU_ProcessIncoming[ver=3]: processing command 0 (Heartbeat) with 8 bytes Info:TuyaMCU:TUYAMCU received: 55 AA 03 00 00 00 26 Info:TuyaMCU:TuyaMCU_ProcessIncoming: discarding packet bad expected checksum, expected 38 and got checksum 2 // Temperature and Humidity values Command TuyaSend is used to send commands to dpId's. ) to directly react to and implement the switches' functionality. Here's a Tuya-cloudcutter supported devices list, brought to you by OpenBeken team: Dec 22, 2023 · Using my original, I was able to use Tuya-cloudcutter to gain access. uf2 file that you can upload on the ESPHome web server dashboard page. There are versions with esp chip but the ones that i use are with Tuya WB3S module that are equipped with BK7231T chip. Then doing channel 4 set will also set dpID 104. OpenBeken templates are better, because they are user-created and usually more complete, but a template from tuya json can be a good quickstart for basic devices. Users share experiences regarding the device's teardown, flashing process, and firmware issues. RBL file from OpenBeken Releases page, and run this command: ltchiptool uf2 write -b generic-bk7231n-qfn32-tuya -o OpenBeken. to/3hDgHPVLinkind Water Leak - https://amzn. Here are some pinouts for configuration and other hints: TUYA Home Smart Life Mini Universal IR Remote S06 (BK7231T) [WB3S] Button: GPIOP_6 IR RX: GPIOP_8 WiFi LED: GPIOP_9 IR TX: GPIOP_26 TUYA Home Smart Life Mini Universal IR Remote S18 (BK7231N) [CB3S] Button: GPIOP_6 IR Dec 17, 2022 · Solutions are proposed to enhance command handling, including the addition of commands for WiFi and MQTT configuration. Mar 9, 2024 · [BK7231N] Configuring Tuya CO400A-A004 (Carbon Monoxide Detector) with (OpenBeken) [BL602L10] Flashing BL602L10 Cozylife Sensor: OpenBK Compatibility and Soldering Tips Home page May 27, 2023 · I only knew tuya MCU version (v1. ikcti fhzxtoed rtglb pqoke wmv pxsi yurs xemfo tykbo ktmzv