logo elektroda
logo elektroda
X
logo elektroda

[BK7231T] My HTTP server, configurator, MQTT support from Home Assistant

p.kaczmarek2 178110 1242
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #181 19887390
    p.kaczmarek2
    Moderator Smart Home
    boozeman wrote:
    p.kaczmarek2 wrote:


    @boozeman so you're saying that mac change works (and can be seen by router) but it's not saved and after reboot mac is lost?


    Edit: I will try to be clearer.
    The form works, but the MAC address does not change or be saved.


    Are you really sure about this, @boozeman ?

    Current repository version (as of today).
    Step 1: change mac (I changed only last letter from 'A' to 'B')
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    Step 2: manually reboot
    Step 3: See results on router:
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    As you can see, it works for me.
    You can clearly see that the same device is on DHCP list twice because it had a MAC address change, and now obviously old IP is not responding and new one works like a charm.

    Can you check again?

    Maybe.... maybe the @btsimonh config change broke something and now that he revoked it (he abandoned his config idea) now it started to work again... anyone, please recheck. Anyone able here, is MAC change working for you? For me it certainly is!
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #182 19887613
    ferbulous
    Level 18  
    Hi, how do i backup the tuya firmware?
  • ADVERTISEMENT
  • #183 19887695
    p.kaczmarek2
    Moderator Smart Home
    @ferbulous you can try reading original firmware with BKwriter
    Helpful post? Buy me a coffee.
  • #184 19887697
    sebastian48
    Level 9  
    boozeman wrote:
    Just flashed new Nedis WIFIPO120FWT at one shot. Just desolder that R33 for first flash. No need to even take the board off the plug \o/


    That is great news! Well done! I managed to destroy part of the board while desoldering. Even so I did continue to try to flash the WB2S but could not get Beken Writer to connect at all. Init always fails. CEN pin is connected to GND throughout the process. Do I need to change anything specific in the Beken Writer except COM-port, bin and Target IC?
  • ADVERTISEMENT
  • #185 19887716
    p.kaczmarek2
    Moderator Smart Home
    sebastian48 wrote:

    CEN pin is connected to GND throughout the process.

    This sounds incorrect. You should connect CEN to ground, then start flashing, then disconnect CEN from ground so module can reboot and start firmware update.
    Helpful post? Buy me a coffee.
  • #186 19887730
    ferbulous
    Level 18  
    p.kaczmarek2 wrote:
    @ferbulous you can try reading original firmware with BKwriter


    Regarding bkwriter, which option in the settings [ i should pick to backup the firmware?

    Also, i have bk7231n device (cbu chip),
    Could i still flash openbkt on this one?

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
  • #187 19887737
    sebastian48
    Level 9  
    p.kaczmarek2 wrote:
    sebastian48 wrote:

    CEN pin is connected to GND throughout the process.

    This sounds incorrect. You should connect CEN to ground, then start flashing, then disconnect CEN from ground so module can reboot and start firmware update.


    OK thanks for the clarification. I tried that just now and it results in BWriter failing exactly when I pull the CEN from ground.

    My procedure is as follows:

    1. Everything connected and powered. So I have two GND connections: CEN and the GND beside VBAT.
    2. I start the programming
    3. I pull the CEN from GND
    4. Writer fails instantly when I remove CEN from GND.
  • #188 19887746
    p.kaczmarek2
    Moderator Smart Home
    Try different baud rate :
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    sometimes 921600 worked for me while 115200 didn't (counterintuitive, slower doesn't work but faster works? but it was so)

    make sure that you are connecting TX to RX and RX to TX... that's the way it's with UART.
    Make sure you are using correct UART port and that it is it not in use (for example, Cura Slicer software has a very bad habit of taking over any available UART ports, thus blocking other applications)

    Are you sure that there is 3.3V on VDD of WB2S?
    Helpful post? Buy me a coffee.
  • #189 19887760
    sebastian48
    Level 9  
    Yes I measured 3.3V on the WB2S. UART is connected correctly and I can see tiny LEDs on the UART RT/TX light up when programming. COM-port is also correct.

    Either way, trying to secure the pins better I also destroyed the pad on the WB2S so I will have to get another one now and go for the R33 resistor instead. I might pick up a better soldering station. The one I have now is really low end. What temps do you usually go for on these delicate little boards?
  • #190 19887902
    MustangMatt
    Level 8  
    ferbulous wrote:
    p.kaczmarek2 wrote:
    @ferbulous you can try reading original firmware with BKwriter


    Regarding bkwriter, which option in the settings [ i should pick to backup the firmware?

    Also, i have bk7231n device (cbu chip),
    Could i still flash openbkt on this one?

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant


    There's a 7231N variant of the project.
    https://github.com/openshwprojects/OpenBK7231N

    Tom released his project to backup firmware too: https://github.com/khalednassar/bk7231tools
  • #191 19888351
    boozeman
    Level 11  
    p.kaczmarek2 wrote:


    @boozeman so you're saying that mac change works (and can be seen by router) but it's not saved and after reboot mac is lost?


    [/quote]

    Hi, running the latest version and doing the same as before. The MAC address does not seem to be saved. I also tried to change the Webapp address and it couldn't be saved either.

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant

    Dodano po 7 [minuty]:

    ferbulous wrote:


    Regarding bkwriter, which option in the settings [ i should pick to backup the firmware?

    Also, i have bk7231n device (cbu chip),
    Could i still flash openbkt on this one?

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant


    You can try first at these settings. Backup generated at the same directory where the Beken Writer is. For BK7231T I managed to backup firmware only at 115200 bps. Start the read flash and then sort CEN to GND for a while. It should start.

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
  • #192 19888772
    p.kaczmarek2
    Moderator Smart Home
    boozeman wrote:

    Hi, running the latest version and doing the same as before. The MAC address does not seem to be saved. I also tried to change the Webapp address and it couldn't be saved either.

    It seems that whatever you did, has corrupted the flash config region.

    Basically, you must have overwrote the whole config memory with random data (random bytes that made up ids and lenghts of sectors)

    I will prepare a recovery option for you.

    But first of all - what says the current build?
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    @boozeman , please recheck. You should be getting mac change error.
    Helpful post? Buy me a coffee.
  • #193 19888842
    ExploWare
    Level 10  
    p.kaczmarek2 wrote:

    Can you check again?

    Maybe.... maybe the @btsimonh config change broke something and now that he revoked it (he abandoned his config idea) now it started to work again... anyone, please recheck. Anyone able here, is MAC change working for you? For me it certainly is!


    I am able to change the mac and got it to persist through a powercycle
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant

    Dodano po 4 [minuty]:

    I have also succesfully flashed from linux today :)

    One question on that: I see we use the App_UA_x.x.x.bin version.
    what is the difference with the App_US_*/ App_QIO_* / App_x.x.x.bin?
  • #194 19888848
    p.kaczmarek2
    Moderator Smart Home
    ExploWare wrote:

    I am able to change the mac and het it to persist through a powercycle

    What do you mean by "het"? "had"? So it works? Good.

    I suspect that @boozeman has garbage data in config area, that's why he's not even able to save new settings like MAC...

    ExploWare wrote:

    One question on that: I see we use the App_UA_x.x.x.bin version.
    what is the difference with the App_US_*/ App_QIO_* / App_x.x.x.bin?

    There are different binary files for each firmware programming method.
    QIO - full binary to upload by SPI:
    
    cp all_1.00.bin ${APP_BIN_NAME}_QIO_${APP_VERSION}.bin
    

    UA - binary for upload by UART bootloader
    
    cp ${APP_BIN_NAME}_${APP_VERSION}_enc_uart_1.00.bin ${APP_BIN_NAME}_UA_${APP_VERSION}.bi
    

    UG - maybe the code used by their old OTA system?
    
    echo "generate ota file"
    ./${RT_OTA_PACK_TOOL} -f ${APP_BIN_NAME}_${APP_VERSION}.bin -v $CURRENT_TIME -o ${APP_BIN_NAME}_${APP_VERSION}.rbl -p app -c gzip -s aes -k 0123456789ABCDEF0123456789ABCDEF -i 0123456789ABCDEF
    ./${TY_PACKAGE} ${APP_BIN_NAME}_${APP_VERSION}.rbl ${APP_BIN_NAME}_UG_${APP_VERSION}.bin $APP_VERSION 
    

    See file:
    https://github.com/tuya/tuya-iotos-embeded-sd...ee7b83b/platforms/bk7231t/bk7231t_os/build.sh
    Helpful post? Buy me a coffee.
  • #195 19888851
    ExploWare
    Level 10  
    Thanks, clarifies a lot :)

    'het' was supossed to be 'got', corrected it in my answer for future readers ;)
    so yes, it works succesfully.

    Downloaded from github.com/openhswprojects around 23:45 so must be including your latest rework.
  • #196 19888864
    ferbulous
    Level 18  
    MustangMatt wrote:
    ferbulous wrote:
    p.kaczmarek2 wrote:
    @ferbulous you can try reading original firmware with BKwriter


    Regarding bkwriter, which option in the settings [ i should pick to backup the firmware?

    Also, i have bk7231n device (cbu chip),
    Could i still flash openbkt on this one?

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant


    There's a 7231N variant of the project.
    https://github.com/openshwprojects/OpenBK7231N

    Tom released his project to backup firmware too: https://github.com/khalednassar/bk7231tools


    Is there like bin firmware file?
    I’m not too sure how to do the compiling

    Dodano po 5 [minuty]:

    @boozeman @p.kaczmarek2

    Thanks for the backup method,
    I still get failure to flash error
    I’m using probe pins (which usually works to flash esp) and soldered wb3s pins.
    Cen pin is connected to gnd, initiate flash and CEN pin released but I’m still getting same error after 15 seconds
    On the soldered module, flashing time is even shorter at 1-2 seconds?

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
  • #197 19888869
    p.kaczmarek2
    Moderator Smart Home
    ferbulous wrote:

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant

    What says the label on this module from the photo, because for me it's too blurry to read?
    Model: ????
    Helpful post? Buy me a coffee.
  • #198 19888872
    ferbulous
    Level 18  
    p.kaczmarek2 wrote:
    ferbulous wrote:

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant

    What says the label on this module from the photo, because for me it's too blurry to read?
    Model: ????


    It’s cbu (bkt7231n) as mentioned in previous photo. Here’s a full res version

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
  • #199 19888873
    p.kaczmarek2
    Moderator Smart Home
    TCBU1, N variant
    https://developer.tuya.com/en/docs/iot/cbu-module-datasheet?id=Ka07pykl5dk4u

    I haven't tested this module yet. I think you might need try using BKwriter in BK7231N mode (not T) and if it fails, try using command line utility :
    https://github.com/OpenBekenIOT/hid_download_py
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    I can't tell you anything more because so far I mostly had only BK7231T devices. I am still looking for more various devices to test.
    You can try to figure out how to flash it on your own. Are you able to read the original firwmare from it?

    As for WB3S, it should work. I don't know why are you getting errors.

    ferbulous wrote:

    Is there like bin firmware file?
    I’m not too sure how to do the compiling

    Here is a bin file for N version of firmware from current repo. For UART flashing, use UA version. I haven't tested it yet, as I don't have working N devices at hand. If anyone here is willing to test it, please remember to provide full logs:
    OpenBK7231...220216.zip Download (7.36 MB)
    This is basically our shared control App compiled with N version of SDK instead of T (and with some basic fixes needed so it compiles), but it was not tested by me on working device yet.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #200 19888875
    ferbulous
    Level 18  
    @p.kaczmarek2
    Thanks for the bin, i will try that one
    No, I'm still unable to read original firmware from wb3s, tried restart the chip by just turn on/off the power and CEN reset pin, this got me scratching my head since I couldn't figure out what I'm missing here

    Also, how do use BKwriter in BK7231N? I mean do i use the same address, operate length and info address like BK7231T?
    I think I'm getting somewhere, tried read and i get success but the bin files are like 0 bytes?

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
  • #201 19888926
    kmhn
    Level 2  
    MustangMatt wrote:
    ferbulous wrote:
    p.kaczmarek2 wrote:
    @ferbulous you can try reading original firmware with BKwriter


    Regarding bkwriter, which option in the settings [ i should pick to backup the firmware?

    Also, i have bk7231n device (cbu chip),
    Could i still flash openbkt on this one?

    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant


    There's a 7231N variant of the project.
    hxxps[:]//github[.]com/openshwprojects/OpenBK7231N

    Tom released his project to backup firmware too: hxxps[:]//github[.]com/khalednassar/bk7231tools


    bk7321tools author here (khalednassar). The toolset can definitely work for reading flash from BK7231N chips, but the `--no-verify-checksum` flag needs to be used for those since there are some differences in the BK7231N 2nd stage bootloaders - which I haven't gotten around to reversing yet.

    I'll add a bit more information about that flag to the README in the meantime. ;)
  • #202 19888933
    ferbulous
    Level 18  
    @kmhn hi, I have some question on the flash size

    Quote:
    For example, to read all internal flash contents (2 MB in size, that's 512 4K segments) off a BK7231T device hooked up to /dev/ttyUSB0 and into the file dump.bin, use:

    $ pipenv run python bk7231tools.py read_flash -d /dev/ttyUSB0 -s 0 -c 512 dump.bin




    Since i'm using python on windows, how should I put COM7 for /dev/ttyUSB0?
    Also, how do i determine the flash size?
  • #203 19888939
    kmhn
    Level 2  
    ferbulous wrote:
    @kmhn hi, I have some question on the flash size

    Quote:
    For example, to read all internal flash contents (2 MB in size, that's 512 4K segments) off a BK7231T device hooked up to /dev/ttyUSB0 and into the file dump.bin, use:

    $ pipenv run python bk7231tools.py read_flash -d /dev/ttyUSB0 -s 0 -c 512 dump.bin




    Since i'm using python on windows, how should I put COM7 for /dev/ttyUSB0?
    Also, how do i determine the flash size?


    Just replace /dev/ttyUSB0 with COM7 so the command you copied becomes, with the extra flag for BK7231N
    $ pipenv run python bk7231tools.py read_flash -d COM7 --no-verify-checksum -s 0 -c 512 dump.bin


    Determining flash size depends on the internal flash ID, which the toolset doesn't support yet unfortunately. But almost all the chips have 2MB flash so the command above should work.
  • #204 19888948
    ferbulous
    Level 18  
    @kmhn thanks, will try this once i'm home, just to be clear your tool is only for read but not for flashing right?
    I wanted to try OpenBekenIOT/hid_download_py but i'm getting some weird errors when installing
  • #205 19888951
    kmhn
    Level 2  
    ferbulous wrote:
    @kmhn thanks, will try this once i'm home, just to be clear your tool is only for read but not for flashing right?
    I wanted to try OpenBekenIOT/hid_download_py but i'm getting some weird errors when installing


    Indeed it's not for flashing, for that you're better off using the one you mentioned by btsimonh or the original one - tiancj/hid_download_py
  • #206 19889035
    boozeman
    Level 11  
    p.kaczmarek2 wrote:
    boozeman wrote:

    Hi, running the latest version and doing the same as before. The MAC address does not seem to be saved. I also tried to change the Webapp address and it couldn't be saved either.

    It seems that whatever you did, has corrupted the flash config region.

    Basically, you must have overwrote the whole config memory with random data (random bytes that made up ids and lenghts of sectors)

    I will prepare a recovery option for you.

    But first of all - what says the current build?
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant
    @boozeman , please recheck. You should be getting mac change error.


    Like I said i originally tried webapp ota-method with bin file (not rbl) and I got into this situation. The "Last build" for me is an automated script that checks repositories, loads the changes with the git pull command and then compiles the new version and copies the files to my OTA-server.

    For now Current Build: Build on Feb 17 2022 10:03:00

    I have working Nedis WIFIPO120FTW where MAC-address change works like intended. I change last 4 to 5 - > new mac set and it changed immediately. The problem presist with my 2 wrecked modules, so I you kindly can make me that Config Region wiper, I would be happy. Maybe someone other made same mistake and did not read the instructions first :)
  • #207 19889084
    ferbulous
    Level 18  
    kmhn wrote:


    Indeed it's not for flashing, for that you're better off using the one you mentioned by btsimonh or the original one - tiancj/hid_download_py


    Hi, so it looks like I keep getting syntax error for spi_download.py regardless of which fork of hid_download.py I'm trying to install

    Spoiler:
    C:\Users\keel\Downloads\openbkt>C:\Users\keel\Downloads\openbkt\test4\Scripts\activate
    
    (test4) C:\Users\keel\Downloads\openbkt>pip install hid pyserial tqdm
    Collecting hid
      Using cached hid-1.0.4-py3-none-any.whl
    Collecting pyserial
      Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
    Collecting tqdm
      Using cached tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
    Collecting colorama
      Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
    Installing collected packages: pyserial, hid, colorama, tqdm
    Successfully installed colorama-0.4.4 hid-1.0.4 pyserial-3.5 tqdm-4.62.3
    
    (test4) C:\Users\keel\Downloads\openbkt>python setup.py install
    running install
    C:\Users\keel\Downloads\openbkt\test4\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    C:\Users\keel\Downloads\openbkt\test4\lib\site-packages\setuptools\command\easy_install.py:157: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    running bdist_egg
    running egg_info
    writing manifest file 'hid_downloader.egg-info\SOURCES.txt'
    running install_lib
    running build_py
    creating build\bdist.win-amd64\egg
    creating build\bdist.win-amd64\egg\bkutils
    creating build\bdist.win-amd64\egg\bkutils\chip
    byte-compiling build\bdist.win-amd64\egg\bkutils\boot_intf.py to boot_intf.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\boot_protocol.py to boot_protocol.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\chip\BK3435DownloadFormat.py to BK3435DownloadFormat.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\chip\BK3435DownloadFormatSPI.py to BK3435DownloadFormatSPI.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\chip\BK7231DownloadFormat.py to BK7231DownloadFormat.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\chip\ExternDownloadFormat.py to ExternDownloadFormat.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\chip\ExternDownloadFormatSPI.py to ExternDownloadFormatSPI.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\chip\__init__.py to __init__.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\flash_list.py to flash_list.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\hid_chip_list.py to hid_chip_list.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\hid_chip_listSPI.py to hid_chip_listSPI.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\hid_commands.py to hid_commands.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\hid_device.py to hid_device.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\hid_download.py to hid_download.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\spi_download.py to spi_download.cpython-39.pyc
      File "build\bdist.win-amd64\egg\bkutils\spi_download.py", line 264
        if !(addr & 0xfff):
           ^
    SyntaxError: invalid syntax
    
    byte-compiling build\bdist.win-amd64\egg\bkutils\uart_downloader.py to uart_downloader.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\unpackager.py to unpackager.cpython-39.pyc
    byte-compiling build\bdist.win-amd64\egg\bkutils\__init__.py to __init__.cpython-39.pyc
    creating build\bdist.win-amd64\egg\EGG-INFO
    running install_scripts
    running build_scripts
    creating build\bdist.win-amd64\egg\EGG-INFO\scripts
    copying hid_downloader.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
    copying hid_downloader.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
    copying hid_downloader.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
    copying hid_downloader.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
    zip_safe flag not set; analyzing archive contents...
    removing 'build\bdist.win-amd64\egg' (and everything under it)
    Copying hid_downloader-1.0-py3.9.egg to c:\users\keel\downloads\openbkt\test4\lib\site-packages-


    Is there anyway I can fix this?
  • #208 19889224
    p.kaczmarek2
    Moderator Smart Home
    Please check your python version.
    Mine:
    
    C:\Users\openshwprojects>python
    Python 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    
    Helpful post? Buy me a coffee.
  • #209 19889254
    ExploWare
    Level 10  
    Quote:

    
    File "build\bdist.win-amd64\egg\bkutils\spi_download.py", line 264
        if !(addr & 0xfff):
           ^
    SyntaxError: invalid syntax
    


    Is there anyway I can fix this?


    I have created a pull request on Github for that.
    Line 264 should be 'not' instead of '!' and line 271 and 272 should be on one line

    Dodano po 14 [minuty]:

    https://github.com/OpenBekenIOT/hid_download_py/pull/1
  • #210 19889307
    ferbulous
    Level 18  
    @ExploWare Thanks! that worked for me

    Dodano po 1 [minuty]:

    @p.kaczmarek2 mine is Python 3.10.1

Topic summary

The discussion revolves around the development and implementation of custom firmware for devices using the BK7231T and BK7231N chips, particularly focusing on creating a mini HTTP server, MQTT support, and integration with Home Assistant. Users share their experiences flashing various smart devices, troubleshooting issues related to UART connections, and configuring GPIO pins for different functionalities. The conversation also touches on the challenges of maintaining WiFi connectivity, the importance of proper pin configuration, and the potential for using I2C for additional device control. Several users report successful firmware updates and the addition of new features, including support for various sensors and devices.
Summary generated by the language model.
ADVERTISEMENT