Openbk home assistant commands. 94 (may be some newer too) and from 0.
Openbk home assistant commands This topic will be written in the form of a tutorial, I will present here step by step how I developed my own, cross-platform (running on Windows and BK7231T) mini HTTP server, pin configuration system via the web panel and how I connected it with MQTT and ultimately with Home Assistant. /start_flash. 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. I recommend not to put this 100ohm resistor that is marked with light blue X. It using Home Assistant temperature range (in the range from 154-500 defined in homeassistant/util/color. Jul 19, 2023 · Btw, if you are a new user, you can look into PowerSave 1 and startDriver SSDP commands, the first one can reduce energy consumption by WiFi module while maintaining all features running and second can make device discoverable by Windows. py as HASS_COLOR_MIN and HASS_COLOR_MAX). Here’s a link to a post charting my progress with these bulbs and the required configuration. 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. 103. Turns out the power strip uses a WBR3 to control the sockets. Jun 9, 2019 · Hello: I had Esphome with a couple wemos working on a Raspberry pi, HA installed on docker (no Hassio). whenever after a power failure, my 4gang switch is not connected to home assistant through mqtt. WBR3 is using an RTL 8720cf which is hopefully similar to the RTL8710 so we could maybe have an easy port of OpenBeken to integrate these devices into HA It doesnt use the connectors on the bottom of the WBR3 PCB so it also could be easily replaced with an esp 12f PCB serials for Tuya IoTOS embedded SDK is an important part of Tuya IoTOS. yaml as follows: # openBK switch switch: - platform: mqtt name: "obk8DB4B177 1" state_topic: "obk8DB4B177/1/get" command_topic: "obk8DB4B177/1/set" qos: 1 payload_on: 1 payload_off: 0 Sep 13, 2023 · Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. This allows to trigger On/Off commands from the Matter controller, that are translated to On/Off infra-red commands (we use the simple NEC protocol in the example, like used in Magic Home LED strips). Starting Fully Kiosk Browser 1. I have the tuya-convert process loaded on a Ubuntu laptop. You can also received On/Off infra-red commands that are reflected in the virtual light. Normaly all my devices run tasmota, for this chip only openbk (tasmota clone) is available. 6. Jan 13, 2020 · Hi guys! 🙂 This is my new platform, that can control hundreds of Air Conditioners, out of the box, via Tasmota IR transceivers. 12. However, there are completely different circuit boards in these (see below): Does anyone know if these can be flashed the same as the older ones and work with HA? I am hoping so, because accessing the required pins looks like a no-soldering Jul 27, 2022 · Yep, got that working last night. bin”. 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) Nov 23, 2022 · I’m adding some switches using MQTT, they work fine but they are seen as 2 different entities of one device instead of 2 different devices: this is my configuration: mqtt: switch: - name: "switch_1 1" unique_id: "OpenBK_switch_1_relay_1" state_topic: "obk1F344341/1/get" command_topic: "obk1F344341/1/set" qos: 1 payload_on: 1 payload_off: 0 retain: true availability: - topic: "obk1F344341 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. 405) and Mosquitto broker (ver. 6 otherwise). I did have to open one of the devices, dump the firmware and upload it to the Tuya CloudCutter project - so now you don’t have to. (needs to have wifi) Apr 9, 2022 · Hey all, as some of you might already know, I am making open source firmware for Bekken chips (BK7231N, BK7231T, etc, WB3S, WB2S) that allows to pair new Tuya devices with Home Assistant. Only thing was that the generated config had the switch states the wrong way around (on=off, off=on). There is some “King Smart Jan 7, 2023 · Just Home Assistant Virtual Machine + OBK simulator will suffice. For more info, please refer to those guides: https Feb 17, 2024 · Here is a detailed guide on how to Open Bekenize/flash the new Tuya chips with OpenBK7231T. All switches works perfect, but I found 1 problem. It’s working well so far. Works very well! Playing around with multiple images I managed to brick the bulb!! 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. This can be done OTA, no soldering needed. After ESP home has compiled the download, navigate to in your web browser to the IP Address and upload. In short, it is now possible to OTA flash this device with OpenBK7231, which has direct support for HomeAssistant via MQTT. File: cmnds/cmd_tasmota. The smart plug is discovered by Home Assistant, but some elements are missing, which are available on MQTT Explorer. In the case of the RGB controller, this option "doesn't know" that you need to combine three PWMs into one color controller. It can be applied to industrial IoT, vehicle networking, security monitoring, outing, and smart home development. Sep 22, 2022 · the HA auto discovery in OpenBK did not work for me, but I managed to construct a MQTT message manually and got that registered with HA. in this size, so I decided to give a try to “no name Aliexpress” Tuya switch. 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. Aug 16, 2022 · OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. Easy to use, GUI, BK7231T/BK7231N flash tool and GPIO config extractor for beginners. I did come across one quirky trick. MQTT INTEGRATION. But at the Esphome Dashboard (as Hassio addon) i see the default start page Jul 1, 2023 · Exactly the same problem too with a ZT-LP-ZEU2S-WH-MS, a new device is detected each time I click. The issue I am having is that the Apr 13, 2022 · Now, for a test, let's warm up one sensor with soldering iron: Both sensors work. After flashing works just like esphome / home assistant. Feb 15, 2023 · Libretiny has a ESPHOME branch that allows flashing / integration into ESPHOME (branch) and Home assistant. This could be the end of setting up the thermometer, but having the thermometer on all the time will drain the batteries even within a day. Sep 26, 2020 · The remaining 7 WP5’s have yet to be flashed. Powered by a worldwide community of tinkerers and DIY enthusiasts. Home Assistant is open source home automation that puts local control and privacy first. 110. bin. Maybe there’s a way to listen to events and trigger commands to make the light switch behave like an on/off switch. x. There is and rgb LED strip that goes around the light and creates like a halo and there is a separate CCT LED strip that points straight down. If I restart my host (my RPI), all my switches are unavaible. Mar 27, 2023 · Hello, i bought a “tuya led strip controller”. I’ve added a custom converter using enocean_ptm215ze as a template (it’s also a GreenPower_2 switch), that fixes multiple-device creation issue and the device is paired, Then I got message “command ‘33_0’ is not recognized”. 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. I have a RGBCCT Tuya bulb exposed to Google Assistant via Nabu Casa. 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. See also StartupCommand on forum. lfs Jun 9, 2022 · The discussion focuses on configuring a TuyaMCU dimmer with OpenBeken firmware for integration with Home Assistant. Available for free at home-assistant. 1. I installed Esphome thru command line. What sort of POST commands are you looking to send? Example in the documentation shows how this can be done: Home Assistant RESTful Command. If I do this everything works great. Please, excuse me for the poor quality of the readme file, but this is my first time I make Sets the new startup command (short startup command, the one stored in config) to given string. I only have it installed in a test rig that I built. bat file to define channel types, set dimmer ranges, and link outputs. e. TuyaMCU support for smart dimmers and fans. c Sep 22, 2022 · So I just bought a couple of the Feit wifi dimmers from Costco because I saw there were steps on getting them to be ‘non-cloud’ and work with HA. Dedicated for Windows platform, but works on Linux with Mono. Connect your USB-to-Serial converter to the WB3S chip like below. Unfortunately it has a bk7231t-chip and no esp32 chip inside. Start up BKWriter and browse to the . I don’t think that’ll let you manage other containers (but try that first, it is the easiest way if it works). Its working very well in the webapp an has a homeassistant integration with mqtt. Instructions on how to integrate REST commands into Home Assistant. In this guide I am using an Australian DETA 6922HA-Series 2 Double Power Wall outlet. Next I’m going to have a go at flashing my Brilliant PIR sensor, as the electrician is coming in 6 days to wire that in. It is based on “tasmota-ircustom. AI: Could you specify the device model you are using with OpenBK? Jan 28, 2022 · Hello, here I will present the progress report of my work on the open firmware for BK7231T. More details about Home Assistant discovery can be found here. 0 at this time (Tested successfully with Home Assistant 2021. 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 Jul 6, 2022 · Use the OpenBK7231T_ UA _x. The fine folks over there created a new profile (within minutes!) and now it’s possible to flash Jun 1, 2022 · Send a Zigbee command or change a setting somewhere in the zigbee2mqtt interface. 34 we support publishing device info and major device events to the MQTT broker. Obviously you don’t need home assistant for this as HomeKit is local control by standard. pin 15 is RGBCW LED lighting control compatible with Home Assistant (including PWM LEDs, and SM2135, BP5758, SM15155 etc ) LittleFS integration for scripts and large files (you can write scripts there, you can host a page there with REST interface control of device) Command line system for starting and configuring drivers, for controlling channels, etc Nov 12, 2022 · i recently upgraded to 14599 in the hope that this light would be discovered correctly According to home asistant this should be the correct config file for broadcasting This is an RGBWW light which has RGB OR Warmwhite(color temperature Aug 10, 2023 · Open up Home Assistant and run LibreTiny ESPHome Copy the YAMLand paste into the New Device profile. I already tried to put LED and LED_n in every possible P* in conf, with no effect (one by one, of course). The discovery topic should match the discovery_prefix defined in Home Assistant, the default value is homeassistant. This tool can automatically download latest firmware (on user request) and then do a full BK backup and then write new flash cycle. OpenBK7231T/OpenBeken is a Tasmota/Esphome replacement for new Tuya modules featuring MQTT and Home Assistant compatibility. Toggles LED driver into temperature mode and sets given temperature. I’ve submitted a PR To do click the Start Home Assistant Discovery button which sends outs MQTT discovery messages, one for each entity (switch, light). I using Home assistant with MQTT installed in Dockers on my RPI. Now i moved all to an IntelNuc with Ubuntu, and installed Hassio (alternative install, on Docker). Feb 24, 2024 · TuyaMCU devices configured with OBK can be also paired with Home Assistant, both by automatic Home Discovery or by more advanced and flexible manual YAML config. For a list of command line commands, refer to Home Assistant via Command Line. shone of the steps is to stop several prompted services Dec 31, 2019 · Sorry to necro an old thread, but I’ve run into what appears to be the same issue. Also read that tasmota is possible after replacing the chipset but thats too much trouble. After launching a terminal session and executing the command cd tuya-convert followed by sudo . Quick Intro I was looking for a mains-powered (no batteries!) “nightlight” which could be linked together 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. I have added much more features according to user requests, including: 1. I hope I can pass this along correctly. I'm having trouble adding my BK7231N based bulb to Home Assistant OS using OpenBK (ver. I installed Libretiny and Tuya-cloudcutter into docker containers running Ubuntu onto an old laptop. PS: In a meantime, I have also added a LFS_* commands for writing files to our LittleFS file system. The connection is established, but the device isn't showing up in the list. OpenBeken simulator that allows you to draw a virtual IoT device schematic and run it on Windows. 0 on it, I’ve done the “SetOption78” command (and verified that, after reboot, it’s still on), but when I upload the ESPHome-generated bin file, I’m still getting a “Upload Failed” and “Upload buffer miscompare”. 2. The benefit of home assistant is that not everything needs to be HomeKit that way. It allows you to use the Home Assistant Command Line Interface (CLI) which provides custom commands for checking logs, stopping and starting Home Assistant and add-ons, creating/restoring backups, and more. Jul 28, 2022 · Hi guys. I must go to Config->Home Assistant Configuration and click Home assistant discovery. The device should be detected and displayed in Home Assistant. Users share experiences and solutions regarding the setup process, including the use of specific commands in the autoexec. 94 (may be some newer too) and from 0. The user initially struggled to have these entities recognized by HA despite enabling relevant setting. By virtue of dedicated design, it provides customers with unified APIs, rich SDKs, and DIY functions, enhancing the integrality of the IoT industry. Oct 22, 2023 · The discussion revolves around configuring the BK7231(CB2S) device with openBk to publish Signal and RSSI entities via MQTT in Home Assistant (HA). lfs_append [FileName][String] Appends a string to LFS file. To enter the homeassistant container: Apr 16, 2024 · RESTful Command payload is templatable. Now, as you most likely already realize, having temperature values in MQTT automatically allows us to expose them to Home Assistant, just like with any other variables. I am using configuration yaml with following commands: rgb_command_template brightness Then you can create a bridge from home assistant so you can add in everything from home assistant into HomeKit (using the HomeKit controller integration). I have flashed openBK on it and I am attempting to integrate it with home assistant. Currently it works on Home Assistant 0. I made GitHub repo with releases named after the HA versions so it would be easy to figure out what version you have to download. I bought this one, blindly, without checking specs firstly: As you can see, it actually consist of 2x 3 gang switch: Additional info: I prefer Sonoff, and all other wall switches in my home are Sonoff T3, but unfortunately Sonoff is not manufacturing bathroom switches, i. 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 Apr 17, 2024 · I have 5 switch with installed OpenBK firmware. It is because I struggle with ESPHome and Home Assistant. x right to the latest 0. In the end I decided to leave the IR remote completely off HA and communicate with it only through the MQTT broker. You might need to connect like this Debugging the Home Assistant Operating System | Home Assistant Developer Docs. It allows connecting to your system using an SSH client. This repository is named "OpenBK7231T_App", but now it's a multiplatform app, supporting build for multiple separate chips: Jun 12, 2022 · Hello again, I would like to present my OpenBeken progress update. however, i face a problem. Nov 5, 2021 · The problem. Unfortunately, I didn’t tried device on Tuya firmware at all, so I cannot know is it red for on, blue for off, feature or bug , I flashed it with OpenBK straight after unboxing. 0). 389 (had to desolder the CB2S chip to do so, as the flash wouldn't start on bk7231flasher_1. On HA i can see the Esphome old entities after adding the as integrations. 2) The schematics to make such Tasmota IR Transceiver is shown on the picture. Trying to flash the OpenBK binary result in: Update Failed: Bad Magic Number Tha… Sep 6, 2019 · and just found this in the docs on their website. Oct 17, 2023 · Through the exchanges in this conversation, I managed to flash the smart plug with OpenBK 1. Second argument is optional, if set to 1, command will be also executed after setting. c Function: CMD_StartupCommand: State: NULL: NULL. If I am in White mode, asking Assistant to select a color like Blue or Red (or trying to see a color within the Google Home UI) does not work, Google responds as if successful. See also led_temperature on forum. In Home assistant you should get a new devices found Jul 12, 2022 · Hi @p. Both of these lights are controlled from the same beken chip. Here is my respository: Today I have written a RGBCW LED driver that is compatible with Home Assistant RGBCW system. See also lfs_append on forum. NOTE: you must connect Ground to the chip directly while flashing. 17. 1. In Tasmota there are commands that clear just the wifi info but keep everything else, and the device defaults to AP mode with missing wifi info. As suggested by Travis I only kept the first two lines of code. Hi, bought YITOM Smart Power Strip on aliexpress. OBK simulator will be released soon, no binary is yet available. Aug 14, 2024 · Hi all, I`m wondering if there is any method to replace ESPHome with OpenBK. Sep 21, 2022 · Recently bought one of these light (available for 10 euros at the Action stores in the Netherlands) and after jumping through all the hoops with tuya local i decided that’s not the way i want to go with these. Being able to run OBK on Windows also speeds up development process a lot. See below. io. ) Set up some automations in HA or Node-RED to adjust the behavior of the modules by sending commands. See also State on forum. Apr 27, 2022 · For the user - pairing with Home Assistant There is a "Generate Home Assistant Config" option in the OpenBL602 panel, but it is not always enough. Nov 24, 2024 · I want to flash and configure a device at home, and then install it in a different location with a different wifi setup. I have a device with Tasmota 9. File: cmnds/cmd_main. There are versions with esp chip but the ones that i use are with Sep 18, 2023 · I have managed to flash my tuya 4 gang switch with OpenbK , get it to work with home assistant through mqtt. Feb 7, 2022 · I assume that is Home Assistant OS with the SSH addon. Mar 2, 2023 · Update: I have completed this quest. kaczmarek2, sorry been away for work Just tested the tasmota group feature, i've added openbk 2 gang wall switch into an existing tasmota group (nightlamp -> 4 lights bulbs, + button 3 from a 3gang switch) By toggling either tasmota bulbs or switch, it would toggle the openbk switch as well. (I couldn’t find anything. Aug 1, 2022 · This isn’t intuitive for me and I would like to be oposite. Dec 13, 2024 · I have purchased some tuya ceiling lights that are really 2 lights in 1. I have to login to web interface configuration and press on “home assistant discovery” for it to connect again. Perfect to run on a Raspberry Pi or a local server. You will need to connect to the CEN pin to trigger Reset. bin file. 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). 4. Apr 20, 2022 · Related Topics General topics about my firmware for BK7231: [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant WB2S/BK7231 Tutorial - writing custom firmware - UDP/TCP/HTTP/MQTT Topics about uploading OpenBK to other products: LED WiFi RGBCW Tuya - teardown, BK7231N, programming with my Tasmota replacement Garden Tuya Jun 30, 2022 · I’ve installed the latest home assistant on a RPi3 & set the device up in configuration. Luckily a smart guy (also a member here) figured out how to flash these chips and i applied Jan 5, 2024 · Then we enter the configuration again "Home Assistant Configuration" and click on "Start Home Assistant Discovery" . Sep 11, 2022 · Just making sure we're on the same page here I wanted to add 1 button and exclude the other 3 buttons to the device group on the openbk switch, not sure if this is supported yet My current setup: 3gang bedroom switch (relay 1-ceiling lights, relay 2-fan , relay 3- night lamp) The relay (pin 14) for the night lamp is set to output high so the tasmota bulbs stays online all the time. sktc jjwdpei nyq nxozx vbthul wsyj hao mtkihgr awlcjh axrpc