How To Install ESPHome on Tuya Beken BK7231 w/ ltchiptool

Поділитися
Вставка
  • Опубліковано 27 вер 2024

КОМЕНТАРІ • 89

  • @joshuakelly2665
    @joshuakelly2665 8 місяців тому +2

    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.

  • @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.

  • @tin2001
    @tin2001 9 місяців тому +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).

  • @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.

  • @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! 🤖

  • @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.

  • @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

  • @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.

  • @ronm6585
    @ronm6585 Рік тому +1

    Thanks Travis.

  • @gandalf1783
    @gandalf1783 Рік тому

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

  • @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.

  • @lamborghinirevention
    @lamborghinirevention 4 місяці тому

    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  4 місяці тому

      When I get that I just keep trying the reset

    • @lamborghinirevention
      @lamborghinirevention 4 місяці тому

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

  • @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.

  • @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.

  • @tonicipriani
    @tonicipriani 21 день тому

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

    • @digiblurDIY
      @digiblurDIY  21 день тому

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

    • @tonicipriani
      @tonicipriani 20 днів тому

      @@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 6 місяців тому +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  6 місяців тому +1

      What's the error?

    • @yogeshkumargobinathan4532
      @yogeshkumargobinathan4532 6 місяців тому +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 6 місяців тому

      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 6 місяців тому

      @@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.

  • @dutzaboss
    @dutzaboss 10 місяців тому

    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

  • @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

  • @fabioamado6725
    @fabioamado6725 Місяць тому

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

    • @digiblurDIY
      @digiblurDIY  Місяць тому

      This is another I used the frame in. ua-cam.com/video/GTniWwSzZHE/v-deo.html

    • @fabioamado6725
      @fabioamado6725 Місяць тому

      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  Місяць тому +1

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

    • @fabioamado6725
      @fabioamado6725 Місяць тому

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

    • @fabioamado6725
      @fabioamado6725 Місяць тому

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

  • @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

  • @kenjilin6852
    @kenjilin6852 9 місяців тому

    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  9 місяців тому +1

      Is the led set to pwm or regular output?

    • @kenjilin6852
      @kenjilin6852 9 місяців тому

      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 8 місяців тому

      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  8 місяців тому

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

    • @alanmarcelovv
      @alanmarcelovv 8 місяців тому

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

  • @almightytreegod
    @almightytreegod 9 місяців тому

    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  9 місяців тому

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

    • @almightytreegod
      @almightytreegod 8 місяців тому

      @@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!

  • @mikekornikh
    @mikekornikh 11 місяців тому

    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  11 місяців тому

      Is there something tied to the RX TX pins possibly?

    • @mikekornikh
      @mikekornikh 11 місяців тому

      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

  • @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 10 місяців тому

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

    • @digiblurDIY
      @digiblurDIY  10 місяців тому

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

  • @Tntdruid
    @Tntdruid Рік тому +2

    One more device free from ☁️ 👍

  • @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

  • @mannbat
    @mannbat Рік тому +1

    Another fantastic guide! Thanks, and greetings from Australia!

  • @bigneilh
    @bigneilh Рік тому +1

    first

  • @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 11 місяців тому

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

    • @brunocabral1578
      @brunocabral1578 11 місяців тому

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

    • @PedroVinicius10
      @PedroVinicius10 11 місяців тому

      @@brunocabral1578 não entendi..

    • @brunocabral1578
      @brunocabral1578 11 місяців тому

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

    • @PedroVinicius10
      @PedroVinicius10 11 місяців тому

      @@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

  • @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.

  • @heiaheiaheiahei
    @heiaheiaheiahei 11 місяців тому +1

    Thanks!

  • @buiangcuong0136
    @buiangcuong0136 10 місяців тому

    Is there any module that can replace that?

  • @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? 🤔