One feature that we would all love is ESPHome BT proxy on OpenBeken. C 9 1. bin - Put your device in AP mode (3 quick clicks of the button, light should flash every 2 secs. ) - It should find the AP and do its thing and load the OpenBK firmware, i didnt document this part very well, sorry. Cool little Outsmart/Tuya RGBIC LED controller perfect for OpenBeken PixelAnim WS2812B control [CBU] I explored the Outsmart/Tuya RGBIC controller from AliExpress, testing OpenBeken's new WS2812B individually-addressable LED support and pixel animations. // tuyaMcu_sendState [dpID] [VarType] [Value] tuyaMcu_sendState 14 4 1. pl/rtvforum/topic3918655. 1, nameserver 8. tuya_demo_template: compile project name. Now, press "Write only OBK config" and do power cycle if needed (if UART command Mar 31, 2024 路 OpenBeken IoT device simulator allows you to run a virtual OBK device to try out OBK scripting, MQTT setup and Home Assistant pairing. sh apps/tuya_demo_template tuya_demo_template 1. I found this below and thought this might be sufficient for some of you. 3V logic levels, like HW 597. 8. It is possible to flash the wireless controller with OpenBeken, replacing the Tuya based controller with local-based control using MQTT. Click "Change OBK settings" and change settings to suit your needs: Here you can enter your WiFi data, IP settings, MQTT settings, flags, and even a short startup command. It is designed to work with Beken chips (e. g. -No pins need configured, OpenBeken takes care of the TuyaTX/RX automagically. 1. 0025 ohm" # The main relay is connected to P26 switch: - platform: gpio name: Socket pin: P26 id: socket1 on Dec 27, 2022 路 Hi All, This is my first post, after watching this project over the last few months, and deciding I should give it a go! This is a quick teardown of the Arlec Grid Connect PC191 Smart Plug-In Socket with Energy Meter. OpenBeken allows you to disconnect the device from Tuya cloud and control it entirely as you want, of course also providing Home Assistant compatibility, Tasmota Device Groups Feb 6, 2023 路 At the same time, the open-source community never sleeps and I have seen that the OpenBeken is very promising and a possible replacement to Tasmota for devices with newer non-ESP WiFi chips. me/rio_diy馃敹小锌懈褋芯泻 锌褉懈褋褌褉芯褩胁 https://openbekeniot. Aug 17, 2023 路 Hello, I would like to present a simple teardown of a "USB Smart Adapter HC-S050-WIFI". uf2 file that you can upload on the ESPHome web server dashboard page. 6. Use USB to TTL converter with 3. Just got some ELIVCO LSPA9 modules and wanted to flash it with OpenBeken firmware. CBU module, 7321N chip DMM continuity says connections are ok, TX-RX. 3V CEN to GND with a button. Jun 19, 2023 路 The problem seems to have been that the Tuya app was trying to talk over the UART with the MCU (which is held at reset) and would only give a small time window at boot time to talk with the bootloader. github. io/webapp/devicesList. It seems that recent Tuya firmware updates now Aug 31, 2023 路 This script reads power every second. 4. Select the Manufacturer/Device Name if your device is listed. "OpenBeken features: Jan 5, 2024 路 Struggling with Tuya Sprycle BK7231N/CB3S Smart Water Timer setup. Code: text Expand Select all Copy to clipboard. com/openshwprojects/OpenBK7231 Aug 6, 2021 路 Relays section: Update - OpenBeken and Home Assistant [2022] [Update - 2022. sh -r. apps/template_demo: compile project path. rbl=device:download" This will create OpenBeken. in the logs at the moment is: Quote: Info:TuyaMCU:TuyaMCU_ProcessIncoming [ver=3]: processing command 3 (WiFiState) with 7 bytes. XX. 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) Can't flash openbeken tuya cbu, won't reset Hello. Changing to ESP is to hard for me. Here I will write down our experience. com/openshwprojects/OpenBK7231T_Appwith BK7231N variant use this flashing command Oct 17, 2023 路 Dears, Long time ago I bought 3 pieces of Tuya plugs (NEO NAS-WR01W) which I supposed to be easy to tasmotize - I already had same one tasmotized. YMMV of course! The important parts: substitutions: bl0937_voltage_divider: "750" bl0937_current_resistor: "0. We've been recently looking for a way to buy brand new Tuya modules, especially CB3S/CB2S (BK7231N) and WB2S (BK7231T). ug. OBK simulator features. amazon. More than 300 guides showing how to flash IoT/Smart Home devices with open source firmware (Tasmota and multiplatform OpenBeken) in order to free it from the cloud and pair with Home Assistant. Once again I learned that zigbee seems to be quite a loose standard and how much I prefer all my other devices running tasmota, openbeken or esphome. Dec 5, 2022 路 Debug:MQTT:MQTT deduper sent 0, culled duplicates 0, culled too fast 0 Info:MAIN:Time 43, idle 189495/s, free 76640, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38 Debug:MQTT:MQTT deduper sent 0, culled duplicates 0, culled too fast 0 ExtraDebug:TuyaMCU:TuyaMCU heartbeat_valid = 0, product_information_valid=0, self_processing_mode = 1, wifi_state_valid = 0, wifi_state_timer=0 Info:MAIN UART (obsolete method; Windows only) get BKwriter 1. Returning to the ESP chips, some brands have blocked the possibility to flash a new firmware via air, so it’s best to not update the firmware of the May 27, 2023 路 OpenBeken Integration: ESPHome Bluetooth Proxy for HLK-LD2410B & Tuya Devices Expansion. 9; After you complete the Tuya-CloudCutter process, you may need to restart your OS or DNS service to resume normal internet functionality. The DpID used on this device is the same with the stock firmware. To open the case, apply some gentle force around the edge to open the lid. 60 (select COM port, etc) then re-power the device (or reset with CEN by temporarily The Treatlife DS02 is an inexpensive dimmer available on Amazon. OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. 13] This device, of course, has been supported by my OpenBeken project for a long time . 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 Jul 23, 2023 路 OpenBeken is a Tasmota/ESPHome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. We strive to be the best alternative to Tasmota or ESPHome, which do not support these new platforms at the moment. It would be great if a timer sleep with button wakeup gets implemented in the future to be able to wake it manually from the button. Also supports HH:MM syntax if you want to specify value in minutes. 6. Step 4: Save back OBK config. The compile project is in the apps directory, you can quickly compile, burn, and run the process through tuya_demo_template. May 26, 2024 路 袣邪薪邪谢 胁 Telegram - https://t. What was a surprise, when I got Beken7231T ones They were working via LocalTuya integration, and one day one of them stopped to work (no wifi connection, no reaction on button). Also, I've got some news: On Channel 1, the toggle button doesn't act on the relay when pressed, but the state of the button does change when I toggle the relay on the device itself. It is not possible to flash them over WiFi. This time around I am trying to flash openbeken to this T&H tuya wifi clock. A few examples: A circuit breaker with metering function: Circuit breakers for multiple phases: But it is completely not clear if it is possible to control these devices locally, without using the Tuya cloud platform. Aug 1, 2022 路 I really want an easy way to reflash the 10x SL10 Bulbs I have away from Tuya, but have failed miserably even after removing the Tuya Chip entirely and trying it individually with the USB to TTL. Step 2) Repeat step 1 and now the switch should be slow blinking. button still worked and led flashing was all correct while going through flashing process. My firmware is easily flashable by UART (or by tuya-cloudcutter OTA) and easily configurable just like Tasmota. com/openshwprojects/OpenBK7231T_Appwith BK7231N variant use this flashing command Jul 6, 2022 路 Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. Using flasher from elektroda. Code available from https://github. For flashing via UART connect TP5 as RX and TP4 as TX. 4GHz Music Sync Color Changing Light Bulb, Oct 17, 2023 路 Level 5. This repository is named "OpenBK7231T_App", but now it's a multiplatform app, supporting build for multiple separate chips: Apr 18, 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. 130_bk7231t. I hope I can add OpenBK somehow to openHAB finally. Pre-Reqs Need a Ubuntu/Linux machine with Docker to do the install with Tuya Cloud Cutter. bin > OpenBeken-v1. Firmware will be changed to new multiplatform IoT system, OpenBe I am working on free, open source Tasmota replacement for non-ESP Tuya modules, mostly focusing on BK7231T and BK7231N. 15 respectively. Apr 23, 2023 路 Our list features IoT devices with mostly ESP8266/ESP8285/BK7231 modules, but more rare ones like BL602, etc are also included - our Tasmota-compatible firmware, OpenBeken, runs on all of them (as it’s multiplatform): GitHub Nov 14, 2022 路 Rozwi艅 opis by zobaczy膰 linki!Temat na forum: https://www. See also ntp_timeZoneOfs on forum. BK7231N is a bit newer and has more advanced support in OpenBeken (deep sleep and WS2812B), so it was our primary focus. The LSPA7 smart plugs reports current use via the (BL0942) and also had a relay. This will put the device in fast blinking mode. You can also sketch connections of your virtual WiFi module to connect peripherals like buttons, relays, LED strips and even power metering modules and potentiometers. OpenBeken simulator that allows you to draw a virtual IoT device schematic and run it on Windows. More options will be added soon. Click on "Do backup and flash now". 8, or nameserver 9. Git clone the repository locally. When the new API came out (along with Tuya v2), I decided to tackle Localtuya, and got it all set up pretty easily. BK7231N/T devices, CBU, CB3s, WB3L chips, etc. Jul 8, 2022 路 In the App panel, drag the file to the OBK file system: This file will be automatically executed after every reboot. Download OpenBK7231T_UG_X. We would like to show you a description here but the site won’t allow us. com Dec 11, 2022 路 Please read whole description for links!Please visit following links for more information:OpenBeken repository: https://github. 0. On my switch, you actually hear bi-bi-bi. May 27, 2023 路 I only knew tuya MCU version (v1. /. In appearance it is very similar to Tasmota, but it is not a port like LibreTiny to ESPHome. 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. #1 17 Oct 2023 13:10. The compile project is in the apps directory, you can quickly compile, burn, and run the process through template_demo. connect the PC to TX1 and RX1 on the bk7231 (TX2 and RX2 are optional, only for log) start flash in BKwriter 1. Compile. Sep 22, 2023 路 I've upgraded OpenBeken to version 1. RBL file from OpenBeken Releases page, and run this command: ltchiptool uf2 write -b generic-bk7231n-qfn32-tuya -o OpenBeken. Functions: 3-Speed Ceiling Fan Remote, Off-timer, Dimming. bin and place it in /custom-firmware folder Apr 20, 2024 路 Just did some tweaking with some manually flashed Tuya sockets I have laying around. These are available through Bunnings in Australia individually for about AU$20 and in an even cheaper 4 pack. 17. Home Assistant OS 8. 3 I also have Local Tuya in parallel as backup. // this will run the turn off command every time that CH1 becomes 1. bat ' on the device file-system and reboot. OpenBeken on LN882H pulsetime command or how to make relay return after time "Superior Detector" - another version Configuring Tuya Device with BL0937, CB2S Module, BK7231N: Pin & Module Details Jul 20, 2022 路 You are right. Some of the totem pole features are MQTT support, Home Assistant Just so you know, I'm fully updated and Tuya integration is working perfectly. Apr 23, 2023 路 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. The solution comes from reseting the board while the python script was already running (the bk7231tools script is internally flooding the serial). Bought from AliExpress, need tips for WiFi connection issues. DP 1 = Toggle Switch (power on/off) DP 2 = Timer (measured in seconds) DP 3 = it exists but non-functional (level1 - 5) Dec 9, 2023 路 Universal Smart Ceiling Fan Remote Control and Dimmer Light Switch. /tuya-cloudcutter. Value can be 0, 1 or 2. elektroda. 2 Home Assistant Core 2022. Run Tuya-Cloudcutter (might take some additional time on the initial run to build the application container) sudo . Most of OpenBeken features are emulated, including pins, buttons, energy metering, ADC and potentio…. Nov 14, 2023 路 These switches had been using ESP-12F modules for some time, but have since transitioned to CB3S. buy: amazon. The unit features a CBU using P16 for MOSI and includes a microphone. 9. In this guide I am using an Australian DETA 6922HA-Series 2 Double Power Wall outlet. Make your devices 100% local, step by step guides for beginners, YAML often included Sep 20, 2023 路 Can be easily flashed to OpenBeken without any kind of soldering using Cloudcutter. Fortunately, I was able to find a project called OpenBeken, which is a custom firmware for the Tuya CB3S module. com Smart Light Bulbs 4 Pack, TREATLIFE 2. 7 Home Assistant Supervisor 2022. Here the dpID is 14, type is 4 (TuyaMCU enum) and value is 1. Valid options may be nameserver 1. template_demo: compile project name. I honestly think Local Tuya wasn't/isn't a pain. apps/tuya_demo_template: compile project path. c Function: NTP_SetTimeZoneOfs: obkDeviceList: Generate the SSDP list of OpenBeken devices found on the network. It isn't my first, I have successfully flashed some sockets and night lights. OpenBeken is a new firmware. File: driver/drv_ntp. 205. . The BK7231T only can send dimming commands May 16, 2023 路 Both of your 2MB screenshots of newer LSPA9 are already patched, they are versions 1. Sharing the configuration I built up after some soldering/multimetering and calibration. If power drops below 10W, it starts counting time. com. 25 seconds to put the device into the flash mode. Our modules were ordered from a Chinese reseller, the unit price OpenBK7231T/OpenBeken is a replacement firmware for Smart Home and IoT devices manufactured using Tuya's new modules based on chips than Espressif's ESPxxxx. Aug 28, 2023 路 Change to the tuya-cloudcutter folder if necessary with cd tuya-cloudcutter. sh apps/template_demo template_demo 1. This would allow for awesome integrations like hlk-ld2410b etc and would make things amazing. 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. Grab an . May 28, 2024 路 Smart Home IoT. 251 but I don't think the Voltage_div100 was merged in this build. Sep 23, 2023 路 To set it from OpenBeken, you can use the following command: Code: text Expand Select all Copy to clipboard. When added to HA you also see ewelink in the default name. As you can see, there are many ways to get OBK running, but remember, no matter which approach you choose, you can always ask for help on our forum. For negative values, use -HH:MM syntax, for example -5:30 will shift time by 5 hours and 30 minutes negative. Here is a portion of the flashing process. I want to get rid of Tuya, wether this is done by Tasmota or not. ). 1 to 0. Both get along nicely. uf2 "OpenBK7231N_1. htmlRepozytorium OpenBeken (alternatywne firmware dla uk艂adów BK Temat na forum: https://www. It’s more basic than ESPHome, but it did actually do what it said it would, with very little effort. Quick Start: -desolder, flash, reinstall. The only other chip on the board is KP3210SG chip as I think the power supply. Everything with MQTT and Home Assistant support. Please note that you might need to adjust the `calculatePower` function Mar 9, 2024 路 Something like: Code: text Expand Select all Copy to clipboard. // addRepeatingEvent[IntervalSeconds][RepeatsOr-1][CommandToRun] alias turn_off_after_time addRepeatingEvent 10 1 setChannel 1 0. Select Option #2 - Flash 3rd Party Firmware. May 22, 2023 路 Step 1) Press 6 times the switch, on the 6th press hold for at least 5 seconds. 60 exe (extract zip) from here. It's a small device to control power to a USB socket built around a BK7231N. 900 seconds can be increased to preserve the battery even more. The only little downside with the ewelink ones is that they take a second to light up when connected to power. Jan 21, 2023 路 Hi folks, Every time when I start googling for din-rail devices with wifi, I always come across nice looking devices from Tuya. html馃敹OpenBeken GitHub https Feb 27, 2023 路 After some time - sometimes 10-15 seconds, sometimes after about 30 seconds, the data stops refreshing and you have to send the command again: uartSendHex 55AA000300010407. The device heavily relies on TuyaMCU for controls. Feb 10, 2023 路 The following guide shows how to change firmware of a Tuya ceiling lamp based on CB2S module. It would allow us to extend the BT network far and beyond as we have a ton of OpenBeken First, a bit of backstory: I picked up a bunch of the Feit bulbs and Feit dimmer switched from Costco a few years ago, and set them up with Tuya without any issues. Dec 8, 2023 路 A delay of 50 seconds is enough to connect and send data to MQTT as well as to be able to debug after restarting it. 7) and chip type ( WB2S BK7231T) and tuya-cloudcut the device using the nearest sounding device for the same version. pl/rtvforum/topic3933829. -Place the ' autoexec. maybe 10vdc. 5. html Rozwi艅 opis aby zobaczy膰 linki:Repozytorium OpenBeken (alternatywne firmware dla uk艂adów Also supports HH:MM syntax if you want to specify value in minutes. Big sorry! New to this topic. Jul 6, 2022 路 Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. This will likely be overridden the next time your DNS service starts back up. 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. Best part, this is all done over the air and no hardware to mod. 07. 05. However, the switch functionality is controlled by a different microcontroller, a Nuvoton M031EC1AE. Next, you'll have to connect your ACS712 or similar power sensor to the Arduino and connect the relay to digital pin 8. // This aliased command will turn off relay on CH1 after 10 seconds. 3. If power stays below 10W for 10 minutes, it turns off the relay. After disassembling I had to find out that the installed microcontroller board is named WL2S and the chip used is LIGHTNING LN882HK. 12 and 1. Easy configuration of BK7231 devices, with just a few clicks - OpenBeken can now extract Tuya GPIO Config and autogenerate your device template!Our firmware Sep 14, 2023 路 Step 3: Modify OBK config. Use the following command in the root directory to compile: $ sh build_app. This topic will not cover the automatic Flashing TUYA CB3S BK7231N with Openbeken alternative firmware. obkSimulator Public. Oct 20, 2023 路 Here I will show you how you can script the behaviour of TuyaMCU BK7231N relay flashed with OpenBeken firmware. Jan 29, 2024 路 I used BK7231 GUI Flash Tool very easy to use i just spun up a vm of windows to flash the CB2S. Sets the time zone offset in hours. Reboot (power off-on) the device and wait a minute (at least) for it to go online and in the AP mode. Fast forward this past holiday season, and I see the two packs of Aug 2, 2023 路 Select your custom firmware file for BK7231T chip: OpenBeken-v1. While the flasher is displaying "Getting bus failed" in yellow, touch the CEL pin to ground for 0. isbbhdyyndgrdrxiixvk