How To Install ESPHome on Tuya Beken BK7231 w/ ltchiptool

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 105

  • @joshuakelly2665
    @joshuakelly2665 11 หลายเดือนก่อน +4

    Dude, your tutorials are pretty good. Lot's of good info without being too slow or wordy The links to your references are also very good. Keep it up.

    • @digiblurDIY
      @digiblurDIY  10 หลายเดือนก่อน

      I appreciate that!

  • @tamildesan837
    @tamildesan837 หลายเดือนก่อน +2

    Thanks for this step by step video. Though I have done Libretiny based conversion before and made the IoTs cloudfree, I was not attempting to flash via the wired methods. Recently bought 4 node smart touch switch is CB3S running 1.3.5 version that is patched. I had to take the plunge and went with the backup and flash process as you described. Putting the chip into ltchiptool was like learning to leave the clutch in motorcycle, but once you get to know the trick, you will enjoy the ride after that 😂. Your video is only one that gave me confidence to flash. Thanks a ton 🎉

    • @digiblurDIY
      @digiblurDIY  หลายเดือนก่อน

      Glad you got it working, and thanks for the motorcycle analogy 😂

  • @marcusone1
    @marcusone1 ปีที่แล้ว +4

    Great video as always. Suggestion: Remind people that the USB Power Switch, many do not have Data Line passthrough. so careful which one you purchase or double check when you get it and send back if data lines are not passed through.

  • @danfitzpatrick4112
    @danfitzpatrick4112 ปีที่แล้ว +2

    Thanks for the info Trav. I gotta say that I am Zigbee hooked here (Probably 50 devices or so). Private,, Solid, reliable, and never an issue so far. but love the ESP stuff 2...

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว +1

      Zigbee is cool for sure especially for the taking out the box and roll but for things like this 4 button switch, I do prefer the WiFi open source there so you can do whatever you want in the firmware. Rocking about 40-50 zigbee devices myself though.

  • @makerlatino3811
    @makerlatino3811 ปีที่แล้ว +1

    Excellent information!, I have 3 switches where the power source isn't working, but I'm trying to repurpose them by replacing the power source. The chip and relays are in perfect condition; the chip is the PSF-B04. I hope to start my channel by repurposing several switches damaged by the power source and modifying the firmware of the ESP chips. Thanks for the video! 🤖

  • @stephenremillard9462
    @stephenremillard9462 4 วันที่ผ่านมา +1

    Fantastic Video, I just watched your Tuya-Cloudcutter & ESPHome: How-To Guide w/ Home Assistant video (released Dec 2024), and discovered to my disappointment that my cheap Globe Electric smart plugs were already patched to FW 1.1.15.
    I then watched this video and took the plunge to crack open the devices and solder wires in the standing CB2S module which was not an easy feat. Since I have a few more devices to "liberate", I am looking to build some kind of jig to ease the process. Other than your elaborate contraption, do you have any suggestions?

    • @digiblurDIY
      @digiblurDIY  4 วันที่ผ่านมา

      That one can be tough. Tried the BDM pins?

  • @Ender_Wiggin
    @Ender_Wiggin ปีที่แล้ว +1

    I keep putting this on my todo list and the process keeps changing. Lol Keep up the good work. Also I am unsure how i have never heard of a BDM Frame. That looks great!

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว +1

      I'm not sure it will get much easier after this... maybe just after the 2023.9 ESPHome release is a good time to start.

  • @joudatfd
    @joudatfd ปีที่แล้ว +3

    Great video again. I didn't know it's possible to disassemble pin configuration from original firmware, that's what I was missing all the time

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว +1

      That part is down right amaze balls. Mind is still blown here that you can do that.

  • @ljnett1
    @ljnett1 ปีที่แล้ว +1

    Thank you for this video as this opens so many possibilities. Perhaps consider if you would handle your garage opener differently now.

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      I'm still using my regular ESP32 dual relay setup with the remote in the garage in a box. Working well. This one - digiblur.com/wiki/ha/esphome-garage-opener

  • @ivlis32
    @ivlis32 ปีที่แล้ว +1

    Great video, I will grab this 4 button for sure! I wish esphome supported Tasmota device groups or a similar feature.

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว +1

      Ask and you shall receive. github.com/Cossid/TasmotaDeviceGroupsForESPHome

  • @mannbat
    @mannbat ปีที่แล้ว +1

    Another fantastic guide! Thanks, and greetings from Australia!

  • @heiaheiaheiahei
    @heiaheiaheiahei ปีที่แล้ว +1

    Thanks!

  • @tin2001
    @tin2001 ปีที่แล้ว +3

    Clicked the video to find out what the pins probing the board were... Staying for the whole video for the algorithm now that I know what I need to search eBay for (I'm in Australia, so Amazon is kinda useless here).

  • @TradieTrev
    @TradieTrev ปีที่แล้ว

    Neat little setup! I always screw up flashing lol 😂 😂

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว +1

      If definitely makes it easy to snag a switch in a pinch without soldering.

  • @PedroVinicius10
    @PedroVinicius10 ปีที่แล้ว +1

    saudações do Brasil..
    Obrigado pelo video, não sabia que esses chips haviam alternativas alem da Openbeken.. Ja subi um flash em um switch mini de 1 canal perfeitamente.. Obrigado!

    • @brunocabral1578
      @brunocabral1578 ปีที่แล้ว

      Como voce abriu? O mini smart switch que tenho aqui esta patcheado pro cloudcutter.

    • @brunocabral1578
      @brunocabral1578 ปีที่แล้ว

      Do you have any video on openning a tuya mini smart switch, @digiblurDIY ? The firnware is patched anti-cloudcutter

    • @PedroVinicius10
      @PedroVinicius10 ปีที่แล้ว

      @@brunocabral1578 não entendi..

    • @brunocabral1578
      @brunocabral1578 ปีที่แล้ว

      @@PedroVinicius10 como você abre a caixinha dele sem danificar nada? Fizeste um video abrindo a unidade?

    • @PedroVinicius10
      @PedroVinicius10 ปีที่แล้ว

      @@brunocabral1578 posso tentar fazer um vídeo.. mas é simples abrir, pega uma espátula de plástico. se n tiver pode ser chave de fenda, vire a caixinha de forma que fique com a capa menor para cima, enfie a chave acima dos bornes de conexão, cerca de 1cm, entre o Borne e a capa menor, e dê uma leve levantada em forma de alavanca.. ai vai destravar a capa

  • @vinup7667
    @vinup7667 ปีที่แล้ว

    great video, informative. I have wb3s based fan switch with tuyamcu. not able to get esphome to communicate with tuyamcu. Any thoughts of making openbeken and tuyamcu with esphome video?

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      I haven't touched openbeken in a while as I decided to go esphome on Beken stuff for now as it also allowed me touch up on my ESP based projects too.
      I have done the fan controllers with Esphome on Beken devices and it works fine. See here digiblur.com/wiki/devices/other/treatlife_esmlfe_fan_ds03_beken

  • @lamborghinirevention
    @lamborghinirevention 7 หลายเดือนก่อน

    thank you for your great video
    i managed to flashed openbeken for 1-gang variant but no luck with 4-gang variant. i used bk7231 gui flash tool and it stucked at getting bus. Do you happen to know what might cause this error ? thank you

    • @digiblurDIY
      @digiblurDIY  6 หลายเดือนก่อน

      When I get that I just keep trying the reset

    • @lamborghinirevention
      @lamborghinirevention 6 หลายเดือนก่อน

      thank you. I eventually managed to flash openbeken. i found out that the old dupont cables were causing errors

  • @cdawson875
    @cdawson875 18 วันที่ผ่านมา

    your tutorial is great, however its not clear how to get into the Kickstarter GUI to change each of the pins etc. I was able to get a configuration from the dump, but it seems to not function in the same way as the original device (status LED's are not controlled individually), so I was hoping to dig into this a bit.

    • @digiblurDIY
      @digiblurDIY  18 วันที่ผ่านมา

      If you need to get into the Kickstarter, just browse to the device IP

    • @cdawson875
      @cdawson875 18 วันที่ผ่านมา

      @@digiblurDIY Thanks for the quick reply. the UI though only allows me to set the SSID, or update the FW, no pin controls. perhaps I need to look for another kickstarter FW.

    • @digiblurDIY
      @digiblurDIY  18 วันที่ผ่านมา

      @cdawson875 did you set the SSID so it attaches to your network?

    • @cdawson875
      @cdawson875 18 วันที่ผ่านมา

      @@digiblurDIY Yes

    • @digiblurDIY
      @digiblurDIY  18 วันที่ผ่านมา

      @cdawson875 did you power cycle it? Sounds like it is stuck in the AP mode

  • @fabioamado6725
    @fabioamado6725 4 หลายเดือนก่อน

    Can you please link to a video of how to use correctly the bdm frame? Thank you

    • @digiblurDIY
      @digiblurDIY  4 หลายเดือนก่อน

      This is another I used the frame in. th-cam.com/video/GTniWwSzZHE/w-d-xo.html

    • @fabioamado6725
      @fabioamado6725 4 หลายเดือนก่อน

      Yes thank you. I saw this video because you mention it in this video. I was asking for some bdm video for dummies, with examples of how to fix the pens etc… never used this before and i don’t know the potential problems… anything for dummies? 😅

    • @digiblurDIY
      @digiblurDIY  4 หลายเดือนก่อน +1

      @fabioamado6725 sorry I don't have anything more. It is really just simply place the pins carefully

    • @fabioamado6725
      @fabioamado6725 4 หลายเดือนก่อน

      @@digiblurDIY ok thank you very much, i will try ❤️

    • @fabioamado6725
      @fabioamado6725 4 หลายเดือนก่อน

      It is fairly easy to use the pins method, now my doubt is, as above posted, to fine the CEN on this board...

  • @tonicipriani
    @tonicipriani 3 หลายเดือนก่อน

    I have some LED controllers that have the exact same Tuya CBU controller, I can use the same reflash process?

    • @digiblurDIY
      @digiblurDIY  3 หลายเดือนก่อน

      Yup! Might save a backup copy in case you want to go back. It's

    • @tonicipriani
      @tonicipriani 3 หลายเดือนก่อน

      @@digiblurDIY Yeah the controllers are e-waste for me anyways, the sellers didn't tell me the controller couldn't handle the ARGB encoding that my LED strips are using. I was actually trying to find a way to repurpose them.

  • @yogeshkumargobinathan4532
    @yogeshkumargobinathan4532 8 หลายเดือนก่อน +1

    Hii sir i want to install esp home in tuya cb2s.... I follow you instructions as per you video... But did done....i got error message in ltchiptool.... What will i do, I need your support.

    • @digiblurDIY
      @digiblurDIY  8 หลายเดือนก่อน +1

      What's the error?

    • @yogeshkumargobinathan4532
      @yogeshkumargobinathan4532 8 หลายเดือนก่อน +1

      serialException: could not open port 'COM12':OSError(22, 'A device which does not exist was specified. 'None, 433)...this error message I got sir.

    • @yogeshkumargobinathan4532
      @yogeshkumargobinathan4532 8 หลายเดือนก่อน

      E: An error has occurred
      E: SerialException: could not open port 'COM12': OSError(22, 'A device which does not exist was specified.', None, 433)
      E: |-- File "ltchiptool\gui\work\base.py", line 24, in run
      E: |-- File "ltchiptool\gui\work\flash.py", line 69, in run_impl
      E: |-- File "ltchiptool\gui\work\flash.py", line 87, in _link
      E: |-- File "ltchiptool\soc\bk72xx\flash.py", line 86, in flash_change_timeout
      E: |-- File "ltchiptool\soc\bk72xx\flash.py", line 72, in flash_build_protocol
      E: |-- File "bk7231tools\serial\main.py", line 30, in __init__
      E: |-- File "serial\serialwin32.py", line 33, in __init__
      E: |-- File "serial\serialutil.py", line 244, in __init__
      E: |-- File "ltctplugin\terminal\gui.py", line 149, in
      E: |-- File "ltctplugin\terminal\gui.py", line 187, in OnSerialOpen
      E: |-- File "serial\serialwin32.py", line 64, in open
      E: Couldn't open None
      E: SerialException: could not open port 'COM12': OSError(22, 'A device which does not exist was specified.', None, 433)
      E: |-- File "ltctplugin\terminal\gui.py", line 234, in PortOpen
      E: |-- File "serial\serialwin32.py", line 64, in open
      E: An error has occurred
      E: SerialException: could not open port 'COM12': OSError(22, 'A device which does not exist was specified.', None, 433)
      E: |-- File "ltchiptool\gui\work\base.py", line 24, in run
      E: |-- File "ltchiptool\gui\work\flash.py", line 69, in run_impl
      E: |-- File "ltchiptool\gui\work\flash.py", line 87, in _link
      E: |-- File "ltchiptool\soc\bk72xx\flash.py", line 86, in flash_change_timeout
      E: |-- File "ltchiptool\soc\bk72xx\flash.py", line 72, in flash_build_protocol
      E: |-- File "bk7231tools\serial\main.py", line 30, in __init__
      E: |-- File "serial\serialwin32.py", line 33, in __init__
      E: |-- File "serial\serialutil.py", line 244, in __init__
      E: |-- File "ltctplugin\terminal\gui.py", line 149, in
      E: |-- File "ltctplugin\terminal\gui.py", line 187, in OnSerialOpen
      E: |-- File "serial\serialwin32.py", line 64, in open
      E: Couldn't open None
      E: SerialException: could not open port 'COM12': OSError(22, 'A device which does not exist was specified.', None, 433)
      E: |-- File "ltctplugin\terminal\gui.py", line 234, in PortOpen
      E: |-- File "serial\serialwin32.py", line 64, in open..... This error I got while read flash.

    • @YogeshkumarGobinathan
      @YogeshkumarGobinathan 8 หลายเดือนก่อน

      @@digiblurDIY Hello sir, i want to install esp home in tuya cb2s. today I bought New USB to TTl adaptor (D-SUN brand) and start to read flase ,i got error messeges like this
      E: An error has occurred
      E: SerialTimeoutException: Write timeout
      E: |-- File "ltchiptool\gui\work\base.py", line 24, in run
      E: |-- File "ltchiptool\gui\work\flash.py", line 69, in run_impl
      E: |-- File "ltchiptool\gui\work\flash.py", line 109, in _link
      E: |-- File "ltchiptool\soc\bk72xx\flash.py", line 102, in flash_connect
      E: |-- File "bk7231tools\serial\linking.py", line 22, in connect
      E: |-- File "bk7231tools\serial\linking.py", line 56, in wait_for_link
      E: |-- File "bk7231tools\serial\protocol.py", line 128, in command
      E: |-- File "bk7231tools\serial\protocol.py", line 87, in write
      E: |-- File "serial\serialwin32.py", line 325, in write
      E: AttributeError: 'NoneType' object has no attribute 'lower'
      E: |-- File "ltchiptool\gui\base\window.py", line 52, in _handle_thread_stop
      E: |-- File "ltctplugin\terminal\gui.py", line 205, in OnWorkStopped
      E: |-- File "ltctplugin\terminal\gui.py", line 224, in PortOpen
      please tell what is the solution for this error sir and also tell where is tha ESP ymal file you take.

  • @Electronieks
    @Electronieks หลายเดือนก่อน

    can u do an update ? there is now esphome and BK72xx is included and many boards such as cb3s etc ....
    i suppose to solder the tuya device to a ttl serial to usb , and install directly via esphome !?

    • @digiblurDIY
      @digiblurDIY  หลายเดือนก่อน

      Esphome is what I showed on here.

    • @Electronieks
      @Electronieks หลายเดือนก่อน +1

      @@digiblurDIY it worked !! thx

  • @Tntdruid
    @Tntdruid ปีที่แล้ว +2

    One more device free from ☁️ 👍

  • @Zain-rt1rm
    @Zain-rt1rm ปีที่แล้ว

    Are you using the regular Esphome addon ? Or LibreTiny ESPHome ?

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      I am using the beta container. The stable release of Esphome with it is coming soon.

  • @mikekornikh
    @mikekornikh ปีที่แล้ว

    Hey Digi! Big fan of your videos and work. I cloudcuttered (Cloudcut?) 2 energy monitoring plugs already thanks to you. I'm having an issue with a device. It's a Moes IR/RF wifi receiver/transmitter, similar to the UFO one, but thumb drive form factor. It has a WB3S chip. Cloudcutter couldn't exploit it wirelessly so I opened it up. I soldered all the pins, connected the ame serial to usb you have and when doing the firmware dump, with a few ground to cen touches, ltchiptool begins reading the firmware but then fails after about 2%. Any advice? Thanks so much and looking forward to more vids :)

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      Is there something tied to the RX TX pins possibly?

    • @mikekornikh
      @mikekornikh ปีที่แล้ว

      Not sure if this is what you mean, but I tried checking continuity with a multimeter from the rx/tx to other components and it beeps on a few legs of a nearby chip, also on a bunch of capacitors and even on the data pins of the usb port it uses for power. Do you think I need to de-solder anything?@@digiblurDIY

  • @buiangcuong0136
    @buiangcuong0136 ปีที่แล้ว

    Is there any module that can replace that?

  • @gandalf1783
    @gandalf1783 ปีที่แล้ว

    Man, I would be interested in those WiFi remotes from tuya....

  • @kenjilin6852
    @kenjilin6852 ปีที่แล้ว

    Hi,I bought the same switch as you and finished it according to the video, but the LED won't light up when I press the button. Did I do something wrong?

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว +1

      Is the led set to pwm or regular output?

    • @kenjilin6852
      @kenjilin6852 ปีที่แล้ว

      I didn't change anything, after flashed (bk7231n.uf2) I creat a esphome device and paste yaml(copy form the LTchip tool) on it that's all.@@digiblurDIY

    • @alanmarcelovv
      @alanmarcelovv 10 หลายเดือนก่อน

      I have the same problem! Same switch. I analyzed the fw dump and copied the code to ESPHome. My configuration is exactly the same as yours. Any idea what it could be?

    • @digiblurDIY
      @digiblurDIY  10 หลายเดือนก่อน

      If it is set to pwm, I found it wouldn't activate the LED. I changed them to binary light outputs

    • @alanmarcelovv
      @alanmarcelovv 10 หลายเดือนก่อน

      That was it! I set the output to GPIO and the light to binary, and it started to work! Thanks a lot!!@@digiblurDIY

  • @ckbne
    @ckbne ปีที่แล้ว +1

    This does not often work. Vendors are now burning programming fuses in the MCU so they are read only and cannot be reprogrammed via the serial interface.

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว +1

      I haven't run into this yet.

  • @dutzaboss
    @dutzaboss ปีที่แล้ว

    hello, i try a lot of time with a ZMAI 90 and can't put in reset mode, if you can i will buy 1 for you to try but try from Linux from Windows and nothing, this ZMAI is a problematic switch with monitoring

  • @ronm6585
    @ronm6585 ปีที่แล้ว +1

    Thanks Travis.

  • @almightytreegod
    @almightytreegod 11 หลายเดือนก่อน

    Windows 10 REALLY doesn’t like ltchiptool… by the way, does anyone know of any videos of installing it (and prereqs) for ubuntu 20.04?
    Trying to build a flashing machine out of a pi but I’m new to this.

    • @digiblurDIY
      @digiblurDIY  11 หลายเดือนก่อน

      I'm using it on Windows 10. Seems to work fine, did you check the latest version?

    • @almightytreegod
      @almightytreegod 11 หลายเดือนก่อน

      @@digiblurDIY i was actually able to get the previous version working (even tho i still cant seem to flash the CB3S)... windows defender doesn't let me launch the latest version. the issue is mentioned on the github page.
      thanks for the reply tho!

  • @LifeWithMatthew
    @LifeWithMatthew ปีที่แล้ว

    Tuya cloud cutter worked well for most my stuff, but I had a random Lightbulb that after booting into kickstarter and applying the ESPhome yaml file auto generated it just died hard. No more IP address requests, no light, completely dead. 🤷‍♂

    • @thebatu89
      @thebatu89 ปีที่แล้ว

      Not even serial flash brings it back online?

    • @LifeWithMatthew
      @LifeWithMatthew ปีที่แล้ว

      @@thebatu89 I haven't tried that as I'd have to be a fair bit destructive to get to it with the light bulb

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      I had a weird one once where kickstarter wouldn't boot. It was bootlooping and finally after enough resets it popped into AP mode.

    • @LifeWithMatthew
      @LifeWithMatthew ปีที่แล้ว

      @@digiblurDIY Interesting, yeah mine just did that. Its AP name is the device name I gave it, but I can't connect to a web interface after joining it's network. Any suggestions? 🤔

  • @andymok7945
    @andymok7945 ปีที่แล้ว +2

    Friends don't let friends use cloud based smart home devices. So many devices are no longer hackable, which sucks.I still remember using a D1 mini way back in the day to do man in the middle firmware hack. Those were the days.

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      I think that is still kind of a thing with the Lightleak android app for Tuya hacks.

  • @BillsCountrysideAdventures
    @BillsCountrysideAdventures ปีที่แล้ว

    Your shaved head man looks so much better 👍

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      Thanks.. I did it on a live stream and let the kid do it, then his mom did his hair. I was shocked he did it!

    • @BillsCountrysideAdventures
      @BillsCountrysideAdventures ปีที่แล้ว

      @@digiblurDIY Makes you look younger mate

  • @mikemannox4191
    @mikemannox4191 ปีที่แล้ว

    Wow, the hairline! The buzz-cut is so-so much better! Why didn't you do it earlier?

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว +1

      Thanks.. I did it on a live stream and let the kid do it, then his mom did his hair. I was shocked he did it! Procrastination is a bad thing I have :)

  • @Tom_Neverwinter
    @Tom_Neverwinter ปีที่แล้ว

    I hate esphome. Can I just flash wled...

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      I'm not aware of wled supporting this chipset, you can try OpenBeken.

  • @bigneilh
    @bigneilh ปีที่แล้ว +1

    first