Openbeken commands. From the logs command line you could convert the received .

Openbeken commands. just do a Yaml copy/paste from this topic (to configuration yaml, it's very simple, just remember to check device mqtt name) 2. Nov 14, 2023 · OpenBeken has an interesting way to quickly configure devices using pins, roles, and channels. Why do you have to set voltage, power AND current for this calibration (P=U*I?)? It so happens that in OpenBeken there is a SendGET command, which also supports substituting variables (channels), so nothing stands in the way of reporting measurements from the device to an external server in the timer or in the onChange event (even one on HTTP hosting in the network). Oct 20, 2023 · Here I will show you how you can script the behaviour of TuyaMCU BK7231N relay flashed with OpenBeken firmware. So, you need to have configured some inputs for that, like a Button. To begin with, it is worth getting to know the entire list of commands through the quite obvious help command: Let's try wifi_ap_start: wifi_scan also works. There are some extra short commands for TCP console: GetChannel [index] OpenBeken simulator that allows you to draw a virtual IoT device schematic and run it on Windows. 205. The DP command works both via HTTP and MQTT. 0 Wh Energy Yesterday 0. Dec 19, 2023 · The premise of creating this image was to have devices based on OpenBeken firmware completely offline. Tasmota has the command "time" and the current time will be shown on the console when the command is issued. Channel Types (59 total) Channel types are often not required and don't have to be configured, but in some cases they are required for better device control from OpenBeken web panel. Can I flash OpenBeken over Tasmota? I have two devices for which I could not find any profile in cloudcutter, but Tasmota had it supported via tuya-convert. Sep 29, 2022 · Other OpenBeken Setup. " Btw the ideal solution would be to host web app files on a device with OpenBeken firmware. May 8, 2023 · Yes, I know that in case of Beken chipset OpenBeken should be used and Tasmota/ESPHome not possible in this case, and vice versa in case of ESPxxxx chipset. And it's reporting the percentage back. Download OpenBK7231T_UG_X. I’m not beginner and already have several Tasmota and ESPHome devices + one OpenBeken device, all of them integrated to Home Assistant. BL0942) without LittleFS; Advanced scripting and events system (allows you to mirror Tasmota rules, for example catch button click, double click 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. 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) Server can accept single connection at time from Putty in RAW mode (raw TCP connection) and accepts text commands for OpenBeken console. matt303 wrote: Every console command that takes an integer argument supports certain constant expansion. Git clone the repository locally. 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. While it works perfectly in Tasmota, it fails to execute properly in the OpenBeken environment. Grab an . The solution was id The following guide shows how you can group together OpenBeken and Tasmota devices via Tasmota Device Groups protocol. exe) for our HTTP server, so developers can create our configurator, etc, pages faster, without the need for a physical Tuya Jun 12, 2022 · Hello again, I would like to present my OpenBeken progress update. 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? Aug 30, 2023 · But when you try to send the command it only sends a 16 bit command: "Samsung-0xB24D-0x29". In my case, my single button is on pin 14, and I want to publish the button presses to MQTT. 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. aliasMem: Internal usage only. The user seeks clarification on how to achieve a delay, specifically wanting the Mar 20, 2024 · OpenBeken can: - receive commands via GET like Tasmota, cmnd syntax - send GET and POST with SendGet/SendPOST - host a custom HTML+Javascript page - and much more Here is HTTP API for REST tutorial: OpenBeken as a mini HTTP hosting - writing pages in Javascript, Tasmota REST Here is an example: OpenBeken on BW-AF1 fryer with WiFi - interior OpenBeken is a multiplatform IoT firmware, supporting currently BK7231T, BK7231N, BL602, W800/W801, W600/W601, XR809 and Windows (as simulator), more coming soon. They only require the initial, one-time start of DGR via Short startup command (up to 512 characters) storage in flash config, so you can easily init your drivers (eg. I have much more features according to user requests, including: TuyaMCU support for smart dimmers and fans. There are some extra short commands for TCP console: GetChannel [index] Apr 20, 2022 · OpenBeken also supports "short startup command line", to be set in the options, that is, a field of 512 bytes for commands that are executed at startup. Channels link roles together, for instnace if you have GPIO for a switch, a relay, and a status light, if all of these are on the same channel, it’s assume they all work together. Dedicated for Windows platform, but works on Linux with Mono. 4. May 16, 2023 · Anyway, try using PowerSave 1 in OBK short startup command (reboot after adding it), this will run OBK in low-power mode and may help if the relay click is caused by a power supply issue. Feb 24, 2024 · There are also multiple ways to get TuyaMCU data out of OBK device - you can just use OBK channels, or you can use special MQTT dpID link, or you can use DP command to request all dpID values per request. Apr 13, 2023 · The discussion revolves around an issue with the OpenBeken firmware where a user attempts to define a GET request to be executed every 60 seconds using the command `addRepeatingEvent 60 -1 SendGet . Set a Btn role for one of GPIOs first and then when you press the button (short it to ground) the BK will wake up from scratch. I created two scripts of my loop above using the different commands. 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 OpenBeken IoT devices teardowns database Powered by Elektroda. This way you can for example control a Zigbee switch directly from OBK, without writing any automations in HA. May 21, 2023 · Hello In the new OpenBK7231N_1. 1 Configure the wifi details Restart the WB3S and connect to it's IP address (use your router's interface to find it) 12. Here are the details. Anim: PA_Cmd_Anim. The whole idea of the software here is also similar, also the flashing process is similar. Feb 3, 2024 · The addClockEvent function is the main driver of this behaviour. Any help would be appreciated. elektroda. Enter the command DevGroupName on all devices in the group and make sure the result for device group 1 is the exact same (case-sensitive) name on all devices. - DS18B20: 9-byte scratchpad with different byte allocations and additional configuration options. Apr 6, 2023 · I would like to add a new command to change the display in the GUI and sending the precision of the results via MQTT: Voltage 253. The conversation highlights successful testing of commands that streamline the provisioning process, allowing for rapid setup of devices in AP mode. The user initially faced problems with command syntax, specifically when using Tasmota commands and regular MQTT syntax. Maybe with such a high power consumption voltage drop is so high that BK doesn't get enough power. I just cannot find an info what is inside FUT035W+. You switched accounts on another tab or window. Although the event is added successfully, it result Dec 4, 2023 · One of the repos has a Windows command line program `LN882H_CMD_Tool. Server can accept single connection at time from Putty in RAW mode (raw TCP connection) and accepts text commands for OpenBeken console. TuyaMCU support for smart dimmers and fans. exe` that can be used to flash using UART. . You can also script OBK devices to automate your setup, either with or without Home Assistant. In this guide I am using an Australian DETA 6922HA-Series 2 Double Power Wall outlet. I have added much more features according to user requests, including: 1. May 8, 2024 · OpenBeken provides a scriptable set of MQTT-related commands that can be used to publish data not only directly to Home Assistant, but also to other devices in the MQTT network. Here are the Module Configuration for my KS602S switches: P17 - Relay - channel 1 P24 - LED - channel 1 P26 - Button - channel 1 Now you need to do an upgrade to the latest release Do not use the config menu item: OTA (update software by WiFi). I think this is because the relay cannot sync with the NTP servers. Mar 15, 2023 · Is there any commands to set decimals or set some kind of threshold what to send and when? Edit2: The Nedis with BK7231N model freezes randomly after about 6-30hour runtime. Dec 5, 2022 · @nelevit thank you for reporting, it turns out that Autodiscovery is simply missing a check to work with TuyaMCU. 4 and I’m able to read and write commands by local Tasmota console but I’m not able to do the same by MQTT FX (I’m trying here before go OH2). 42" Please note that I calibrated with a 100W bulb (everyone enters their data) I will also mention that for BL0937 the initial procedure is different - for BL0937 you need to select the Oct 27, 2023 · However, I did not find any command to switch the indicator LED, nor did I find any command to read the energy statistics from the smart plug. Then doing channel 4 set will also set dpID 104. They all have BK7231T/WB2L chipset one them. backlog [string of commands separated Jul 6, 2022 · Thanks for the guide. Discovered basic set/get commands, searching for an extensive list. Any tips? Mar 9, 2024 · The discussion revolves around configuring a DIY 1-channel switch using OpenBeken firmware to implement a delay for the relay to turn off after receiving an off command. In general, when you map something to a channel it all works for it, i. Each command is separated by a semicolon (";"). Ask the device for status ~ cmnd / tasmota_switch / Power ← // an empty message/payload sends a status query ↳ stat / tasmota_switch / RESULT → { "POWER" : "OFF" } ↳ stat / tasmota_switch / POWER → OFF OpenBeken is a multiplatform IoT firmware, supporting currently BK7231T, BK7231N, BL602, W800/W801, W600/W601, XR809 and Windows (as simulator), more coming soon. The Status command output does not look like you configured Tasmota to match the 4-relay hardware. They incorporate a Board CUCO-Z06-N consisting of a Beken 7231N and a BL0942 connected to TX1/RX1 While programming, the Header with the GPIO-Infos wasn't readable (see attached BIN-File) so I had to roll the dice myself. Apr 21, 2023 · The discussion revolves around the scheduling capabilities in OpenBeken, specifically the use of the `addClockEvent` command for timer management. Currently they are al running OpenBeken wiht the following configuration: PIN 6: PWM-2 - Blue PIN 7: PWM_n-3 - C/W TEMP PIN 8: PWM-4 - C/W BRIGHTNESS PIN 24: PWM-1 -GREEN PIN 26: PWM-0 - RED It also has OpenBeken flag 8 selected in order to work properly: “[LED] Alternate CW light mode (first PWM for You signed in with another tab or window. The most simple way is to use a repeated event, which is defined by an interval (in seconds) and repeats count (as integer): 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 Let's check. Here’s a link to a post charting my progress with these bulbs and the required configuration. 765 After Update (5) Home Assistant Not Detecting OpenBeken Device: Manual Setup & Pin Configuration Guide (48) Identifying and Flashing Generic Tuya-Compatible LN882HK-based RGBCW Smart Bulb (10) Internet module ecoNet 300 and ecoLINK2 (530) Aug 2, 2017 · Hi guys, I’m struggling trying to find a solution from my case… I’m using Tasmota 8. Oct 17, 2023 · 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. Sep 23, 2023 · The following enum can have three values: - 0, means "initial state is always off" - 1, means "initial state is always on", - 2, means "remember last state" To set it from OpenBeken, you can use the following command: Mar 20, 2019 · Schemes of service, advice, forum, repair, computer forum, forum gsm, automotive forum, repair the TV, washing machine, auto repair, learning electronics, security Use the following command in the root directory to compile: $ sh build_app. Check this first. AnimSpeed: PA_Cmd_AnimSpeed. I was completely unaware of a reflash alternative for the WB3S until I came across the ‘Australian certified hardware’ thread the other day. See docs for 'alias' command. I’ve submitted a PR 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. I did find the command list from both Tasmota and Openbeken, but most of the commands do nothing. Server will close connection if client does nothing for some time. 000A Active Power 0. The device is powered by a BK7231N chip, which can be flashed with OpenBeken firmware to enable local control and integration with Home Assistant. Backlog is a useful feature to avoid numerous restarts when setting up a new device. There, too, you can set the configuration of BL0942 and other things. May 17, 2024 · command, would there be a way to check the current network and use that to determine which NTP address to set? Or to try contacting each NTP server and set the NTP server to the one that is available? 3) DHCP -- will OpenBeken respect the NTP option set in DHCP? Will any of these work for making my autoexec. You can also play around with HomeAssistant templates, giving you even more power on the commands you want to execute. Currently OpenBeken supports WS2812B LEDs and many LEDs with similiar protocols, like, for example SM16703P. For that, the UART communication is Feb 25, 2024 · Exploring the development of a GUI tool for generating addClockEvent commands in OpenBeken's web app. OpenBeken can handle a bunch of other sensors, much of the Tasmota scripting code and more complex devices. 09 Nov 2024 14:38 18120: 114: Sep 25, 2023 · Hi, I have a few Aldi Casa Life 9W downlights. uf2 file that you can upload on the ESPHome web server dashboard page. Users inquire about the existence of a scheduler feature, with one user seeking examples of its implementation alongside NTP server settings. The PinDeepSleep command can also take an emergency timer: Dec 25, 2022 · OpenBeken Web Application (also called "secondary web panel") is a VUE/Javascript page that provides an alternate graphical interface, commands, pins, logging system, file system etc access for OpenBeken devices. 0VA Reactive Power 0. Nov 25, 2022 · I also configured the Control Pins I calibrated the socket by issuing commands in "Execute Custom Command": - "VoltageSet 228" - "PowerSet 100" - "CurrentSet 0. I’m new to HA, but I’ve been watching a heap of HA-related videos for the last month or two. The device can be both waken up by a 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. Best part, this is all done over the air and no hardware to mod. 0 var PowerFactor 1. e. I'm trying to trigger my doorbell with a single HTTP command, but the relay opens immediately after closing. : - 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 Mar 8, 2023 · A lot of information about the device can be obtained through the Status command, which can be read in the Tasmota documentation. bat file to define channel types, set dimmer ranges, and link outputs. Baud as before. It puts a bit of a strain on my little Pi Zero server to receive so many messages from all the shutters at the same time. Any suggestions on how to achieve a pulse effect? Feb 20, 2024 · Also I observed that the delay caused by SM16703P_Start command can be eliminated when using RAW command. OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. But about that another time. Enter the command DevGroupSend 128=1 on one device in the group. Is there support for non-Beken chips? Mar 12, 2023 · I had to set TuyaMCU serial baud rate to 115200bps in Tasmota using the command "SetOption97=1" in order to establish communication with TuyaMCU. See the DHT11 in OpenBeken video (it's using W600 platform, but it's the same on BK7231): 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. Mar 9, 2024 · Exploring OpenBeken for my door/window sensor setup without TuyaMCU. There are multiple ways to do a looping automation in OpenBeken. Enter the command DevGroupShare -1,-1 on all devices in the group to enable sharing of all items. It allows for various types of wrapping, like ping-pong, wrap around or just clamp to min/max Mar 11, 2024 · The command above will sleep BK7231 until a GPIO event occurs. 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. If the power turns on on 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). Simple command line BK7231 flashing tool for SPI mode (not UART) To associate your repository with the openbeken topic, visit OpenBeken works similarly to Tasmota, and is even compatible with some of Tasmota's commands, so it is also worth reading what Tasmota is. Sep 24, 2024 · I found that OpenBeken doesn't support the Delay command like Tasmota does. It's normal. The button does not work, so it is totally freezed. 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. Mar 27, 2024 · It can be used to control a wide range of IR devices such as TVs, air conditioners, and more. Jun 26, 2023 · Here are my findings: I can PREVIEW the volume and the ringtone by sending the following commands in the command line: - tuyaMcu_sendState 3 2 100 (for the volume, values are from 1 to 100) - tuyaMcu_sendState 2 2 14 (for the ringtone, values are from 1 to 40) However, these commands do not SAVE the settings. 539 software, works waking up the smoke sensor via GPIO and Timer - command - DeepSleep xxxx - where these xxxx are seconds. Sep 2, 2023 · Please read whole description!Our forum:https://www. 0. I forgot to get photos of the process, but the process was pretty simple. File: driver Add an aliased command, so a command with spaces can be called with a short, nospaced alias. Jun 19, 2023 · Success! Our WB3S is now using OpenBeken! 10. This build creates a Windows executable (. See also Anim on forum. RGBW-IR works, but can't add it via MQTT discovery. Using "brightness_command_topic" "color_temp_command_topic" "rgb_command_template" May 5, 2023 · Do all commands issued in the console/startup in OpenBeken work only as if in RAM - until the next restart? I'm asking because in Tasmota (yes, I know, it refers to it again, but I have dozens of devices on it and I'm used to it 😊), once a command is issued, it saves the state in memory, e. From what I remember it was with BL602 that there was a serious problem with OTAs, as there simply wasn't enough space for them and some of the functions are not enabled there. You signed out in another tab or window. Quick Intro I was looking for a mains-powered (no batteries!) “nightlight” which could be linked together Feb 17, 2024 · Here I will show you the basics of individually addressable LEDs control in OpenBeken. 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. 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. 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. - DS18B20: Has an extended command set, including commands for alarm functions, copying scratchpad data, and recalling EEPROM data. What do I mean by "Tasmota/Home Assistant compatible"? - OpenBeken emulates Tasmota JSON format, commands are also mostly compatible Aug 24, 2024 · I had flashed a genereic IR blaster with a BK7231N chip. c Function: runcmd: Anim: PA_Cmd_Anim. Dec 15, 2022 · The Tuya-Commands of older versions MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 3/38 Info:MQTT:mqtt_userName openbeken mqtt_pass XXXXXXXX mqtt_clientID Jul 8, 2022 · In the App panel, drag the file to the OBK file system: This file will be automatically executed after every reboot. Tuya 5 Speed Fan Controller by TEQOOZ - Home Assistant OpenBeken Javascript/Vue control panel and Supported Devices (Teardowns/Templates) List. Hello all, my OpenBeken community is growing and have prepared some detailed flashing guides for TuyaMCU-based fan controllers just for you, TuyaMCU config and Yaml code included. Short startup command (up to 512 characters) storage in flash config, so you can easily init your drivers (eg. Just go to webapp and the log tab, press button on the IR remote and a code like "IR_NEC2 0x6DD2 0x2 1 " would appear. I have a question, can I tell openbeken not to send via MQTT every single percentage number during driving. I am quite sure any future command or setting will be addressable via a MQTT cmnd command. I had to convert the code. OpenBeken frees us from the Tuya cloud, and a locally hosted container ultimately cuts us off from Microsoft's "cloud. I could observe that the SM16703P_Start loop causes the LED to be lit for longer period than when using RAW command. Disconnect all but the 5V power and 5V GND [b]11. Both approaches are supported by OpenBeken. 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) Add an aliased command, so a command with spaces can be called with a short, nospaced alias. In this topic I will focus on the basics of the manual LED control, I will not cover advanced animations here. 00 Energy Today 0. Users share experiences and solutions regarding the setup process, including the use of specific commands in the autoexec. sh apps/template_demo template_demo 1. bat set NTPServer to the appropriate one? Apr 2, 2023 · Exploring MQTT topics for device management with OpenBeken. Pre-Reqs Need a Ubuntu/Linux machine with Docker to do the install with Tuya Cloud Cutter. 0W Apparent Power 0. My question is: How does OpenBeken handle serial communications for a device such as this? Does it use the UART pins from within the firmware and make them available for use via integrations? Understanding the commands that would need to be sent is kind of an issue as well. Prelimary event scripting and command systems have been added as an alternative to automation and scenarios found in Tuya or there in Home Assistant. Therefore, I have to figure out the time stored in the relay. Oct 1, 2024 · I encountered issues with the Tasmota command publish v1/devices/me/telemetry not functioning in OpenBeken. OpenBeken is an alternative, open source software for IoT devices, offering, among others independence from the manufacturer's cloud, compatibility with many ecosystems, configurability and support for various platforms, including BK7231T, BK7231N, XR809 and BL602. Users share insights on flashing the device with OpenBeken firmware, troubleshooting issues related to the BL0937 driver, and [Read more] Lightning Semiconductor LN882H - A Windows GUI Firmware Flashing Option Jan 21, 2024 · OpenBeken on WiFi Smoke Detectors (Tuya CBU Chip) - ESP8266 Alternative, MQTT & Setup toboxx 15 Dec 2022 (114) Smart Home IoT. Jan 12, 2024 · Hi there! I got a bunch of new GoSund EP2 Sockets with Power Measurement. Our firmware is using mostly the same JSON syntax and commands like Tasmota, so it can be compatible with ioBroker Sonoff plugin, with Tasmota Control app, etc, but it's designed to be multiplatform and supports many new Tuya modules, like BK7231, WinnerMicro chips, XR809, and of course BL602. OpenBeken simulator that allows you to draw a virtual IoT device schematic and run it on Windows. 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. bat: addClockEvent 8:30:00 0xFF open POWER ON addClockEvent 01:20:00 0xFF close POWER OFF When I issue the command "listClockEvents" to see the ClockEvents, the log shows: Info:CMD:Ev 0 - 1:20:0, days 255, cmd POWER OFF Info:CMD:Ev 0 - 8:30:0, days 255, cmd POWER ON Info:CMD:Total 2 events Info:CMD:[WebApp 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 By looking at the commands table we can learn about the POWER command and options associated with it. bin and place it in /custom-firmware folder Exploring how the SSDP driver enhances my Aubess mini switch's functionality after flashing with OpenBeken, and the correct startup command setup. 2V Current 0. The user seeks guidance on translating Tasmota commands, particularly regarding the differences in syntax and functionality between Tasmota and Tuya. So here’s a question that maybe someone can answer. 197 kWh so that instead of giving the energy consumed in Wh, it can be immediately converted into kWh with one Final pin configuration: An example of scripting a switch and a light in OpenBeken I think it is worth showing the additional possibility that I recently implemented in my OpenBeken. RBL file from OpenBeken Releases page, and run this command: ltchiptool uf2 write -b generic-bk7231n-qfn32-tuya -o 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. As for the configuration of the device itself, it is worth noting that it could also be handled "manually", through the OpenBeken script, simply by entering a simple loop with IF and GoTo, which will put it to sleep using the PinDeepSleep command when there are no changes on the sensor for while. Sorry for the late reply. Feb 3, 2024 · The discussion revolves around converting Tasmota button rules for use in OpenBeken (OBK) on the BK7231 device. There is a "backlog" to send multiple commands as in Tasmota. Jan 7, 2023 · This shows the power of the MQTT Group Topic and the way the OpenBeken developers have come making provisioning a breeze. The various parameters are as follows: addClockEvent <time> <daysOfWeek> <id> <command> time - The time of day for the command to be triggered. From the logs command line you could convert the received Mar 15, 2023 · I tired the command "addClockEvent" and the relay would not turn on or off at the specified time. No external server is needed, no Home Hello again, I would like to present my OpenBeken progress update. The command isn't working as expected, and I'm trying to publish telemetry data directly in the desired JSON format. Dec 17, 2022 · Solutions are proposed to enhance command handling, including the addition of commands for WiFi and MQTT configuration. com/rtvforum/topic3971355. Aug 25, 2024 · The discussion revolves around issues with controlling a smart water valve via MQTT using OpenBeken firmware. If there is, make sure it's set to 32 bit. 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) 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: Our HA discovery system supports basic and also advanced Nov 30, 2022 · Commands to issue to OpenBeken: Buttons provide the events OnClick, OnDblClick, OnToggle, OnHold - but these are published against PIN numbers. See also alias on forum. htmlOur teardowns li Jan 20, 2023 · The Openbeken firmware has MQTT baked in and native discovery for Home Assistant so once the device is configured, the data is pushed to Home Assistant and shows up automatically allowing full, local control over any devices. Hi everyone, I'm developing a project to run firmware on unsupported, non-ESP chips of many IoT devices nowadays (that used to… Once the device reliably connects to your network, go back to the config menu to finish setting up your device. 168. com/LittleFS hosting guide:https://www. 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: Feb 18, 2023 · it will start by default a measurement every 10 seconds. Apr 27, 2022 · Here we also control it through UART commands. What do I mean by "Tasmota/Home Assistant compatible"? - OpenBeken emulates Tasmota JSON format, commands are also mostly compatible Feb 27, 2023 · TextField will also allow you to enter this value in the GUI. 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. We have the entire code of this demo so we can see what and how it is implemented. 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 added these two ClockEvents in autoexec. With me on OBK it works: Let's check in the latest version: Unless you are trying to do it on another platform, for example on OpenBL602. Jun 9, 2022 · Here I will show how you can easily use a TuyaMCU device (dimmer) with my OpenBeken and connect it to Home Assistant . See also aliasMem on forum. calibrations, NTP server address or all types of May 25, 2024 · Command Set: - DS1820: Uses a simpler command set. Step by step guide with photos. Is there any way to set the TuyaMCU serial baud rate to 115200bps in OpenBeken? I could not find any option or command for changing the baud rate. Unable to Log into Tuya Switch with OpenBeken 1. 17. uf2 "OpenBK7231N_1. Sep 22, 2022 · Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. Dec 19, 2022 · Hi, i am new to this community as i am using Home Assistant only a few days, but with success, i think. c Function: alias: aliasMem: Internal usage only. 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. Deep sleep mode for energy efficiency & MQTT updates on state change. Dec 22, 2023 · The ClampChannel command clamps the channel at the execution time. In future, we may add support for multiple connections at time. See also AnimSpeed on forum. This tool can automatically download latest firmware (on user request) and then do a full BK backup and then write new flash cycle. Considering the integration challenges, suggesting a new website category for easier access. 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. This is only a simple example, with 4 buttons, 4 relays and LEDs that mimic the states. This OTA does not overwrite this. 5. Feb 10, 2023 · Tip: If and when come to the point that want to test both commissionings a Tasmota Matter device inside some other open-source Matter Server/Controller implementations and/or testing to commission other virtual Matter devices inside Tasmota then check out these projects: Sep 18, 2023 · Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. 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. Curl - sending commands without a browser As you can probably guess, such a magic URL is enough to be pasted into the browser and the command will be sent. 42" I have a question. Aug 4, 2022 · And first try out your commands in the console before even trying to send them from the outside. wait for an update that will add a missing link between TuyaMCU and autodiscovery Mar 16, 2023 · It works now, but I found one more problem. I ran the command every 36000 seconds on my 2 sensors and since yesterday it shows me the battery status in my HomeAssistant every 10 hours. It's a standard-sized 12S type module that could be replaced with an ESP-12S. Scratchpad Structure: - DS1820: 9-byte scratchpad. I used the tool, the AI-Thinker examples on GitHub with an updated SDK (version 2. 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 17, 2024 · I love the OpenBeken firwarea as it work out of the box with Homeassistant. Simple command line BK7231 flashing tool for SPI mode (not UART) Oct 4, 2023 · I command it via MQTT by sending the percentage I want. Configure the OpenBeken software to connect to your wifi Connect your computer to the OpenBeken SSID and browse to 192. 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 Our firmware is using mostly the same JSON syntax and commands like Tasmota, so it can be compatible with ioBroker Sonoff plugin, with Tasmota Control app, etc, but it's designed to be multiplatform and supports many new Tuya modules, like BK7231, WinnerMicro chips, XR809, and of course BL602. This was easy to use in Mqtt automations. It was mujch more difficult to find out how to send IR codes. 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. KS-811-3 Album Photos Easy configuration of BK7231 devices, with just a few clicks - OpenBeken can now extract Tuya GPIO Config and autogenerate your device template!Our firmware Oct 2, 2024 · I encountered an issue with OpenBeken's AddChangeHandler command for sending JSON telemetry to ThingsBoard. 4. Receiving IR codes was easy. The solution was id 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. g. rbl=device:download" This will create OpenBeken. apps/template_demo: compile project path. May 21, 2023 · The discussion focuses on configuring a TuyaMCU dimmer with OpenBeken firmware for integration with Home Assistant. Oct 8, 2022 · Commands to issue to OpenBeken: Buttons provide the events OnClick, OnDblClick, OnToggle, OnHold - but these are published against PIN numbers. Reload to refresh your session. 53 votes, 31 comments. File: cmnds/cmd_test. I did the "StartDriver BL0937" command and after that I did these "Execute custom commands" with the correct parameters to calibrate the device: - "VoltageSet 228" - "PowerSet 100" - "CurrentSet 0. For more info, please refer to those guides: https Easy to use, GUI, BK7231T/BK7231N flash tool and GPIO config extractor for beginners. I will also fix "Color" command because in old OBK it was writing directly to PWMs but now we will use it just like in Tasmota (instead of "led_basecolor_rgb"). Jan 4, 2023 · I have also added aliases for our old commands, so "led_dimmer" is now also "Dimmer", etc. Backlog command allows executing up to 30 consecutive commands with a single command line. There are versions with esp chip but the ones that i use are with OpenBeken Javascript/Vue control panel and Supported Devices (Teardowns/Templates) List - OpenBekenIOT/webapp The discussion revolves around issues with controlling a smart water valve via MQTT using OpenBeken firmware. 0) from a gitee repo to compile firmware. XX. Flashing OpenBeken Firmware. Generally, using http is not the best way, Tasmota is built for being controlled via MQTT. DGR scripting In OpenBeken we have script commands that allow you to operate "from the outside" on Tasmota Device Groups. 2 Wh Energy Total 8. Sep 20, 2023 · Flashed my MagicHome LED with OpenBeken BL602 for Home Assistant. This can be various formats: TimerSeconds representing seconds from midnight, Time strings, ie. Both loops did not have any delay_ms statement. You have two options: 1. Jan 17, 2024 · Struggling to flash OpenBeken firmware on my ELIVCO LSPA9 with a WL2S module and LN882HK chip. phupmo qmre kqg wzhiza wirx mmjef msiak vglchklnv ksvih abbap