logo elektroda
logo elektroda
X
logo elektroda

Configuration Issues with Tuya S1-B-WT Triac Dimmer after OBK Firmware Flashing

andyc1 5130 35
ADVERTISEMENT
  • #31 20816374
    atomphil
    Level 10  
    >>20799162

    I try this

    Screenshot of Bad_Dimmer configuration in Home Assistant.

    but no luck. There is still just a switch in HA. :/
  • ADVERTISEMENT
  • #32 21285008
    GiovanniG11
    Level 2  
    Hi mates, I have an S1-B and would drive it by Node Red, unfortunately it's very complicated to make it work with Tuya protocol, so someone suggested me to refresh it.
    Can you please write a brief guide with instructions?
    1) how to flash it and with what exactly
    2) how to connect it/how change settings to make it work
    3) does it use MQTT? Which are the commands to give?
    Thank you a lot!
  • ADVERTISEMENT
  • #33 21285036
    p.kaczmarek2
    Moderator Smart Home
    Your device is most likely using TuyaMCU, so here is a TuyaMCU guide:
    https://www.elektroda.com/rtvforum/topic4038151.html
    Here is the flash tool we're using for Beken:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    Here are our flashing guides, search for the ones for BK7231:
    https://www.youtube.com/@elektrodacom
    Some of the guides may use older flashing tools, so it's recommended to use BK7231 GUI Tool instead.
    Here is HA pairing guide: https://www.youtube.com/watch?v=pkcspey25V4

    Here are our docs:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/README.md
    You can also check autoexec examples and MQTT section.

    Please check out linked resources, but don't worry, we can also help you with the process step by step. First, make some photos of your device, then attempt to take 2MB flash backup...
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #34 21285042
    GiovanniG11
    Level 2  
    thank you, you cleared me..
    this process takes time too, learning, creating tool, using it and get confidence after flashing. Honestly I don't have now such time, so I will postpone my efforts for the future.
    Chances are I can get some success with Tuya protocol, I've sniffed the packet for turning on and off locally, if I can succeed also with dimmer values.. I can have the solution
  • ADVERTISEMENT
  • #35 21854299
    jtauscher87
    Level 7  
    PCB with annotated traces and test points, including Tx/Rx, GND, Vcc, 3.3V and L/N.

    In case this is helpful to anyone.
  • #36 21854335
    GiovanniG11
    Level 2  
    Thank you, anyway I consider much more efficient buy the WZ version (Zigbee) and use an adapter compatible with Zigbee2MQTT, there are several advantages: you don't need to reflash it to use it without the Tuya cloud, you may have more efficient connection/longer as Zigbee allows devices to repeat signals in case it's needed, you may save some energy as Zigbee requires less energy than Wi-Fi.
    I suppose the transmission may go wrong with Wi-Fi if there are too many broadcasts, as the processor needs to analyze all packets

Topic summary

The discussion revolves around configuration issues with the Tuya S1-B-WT triac dimmer after flashing it with OpenBeken (OBK) firmware. The user successfully accessed the device's web application but faced challenges with the cloudcutter profile import, which did not yield a functional script. Various troubleshooting steps were suggested, including verifying the baud rate, using the correct dpIDs for the dimmer and switch, and ensuring proper wiring with a physical switch. After several attempts and adjustments to the autoexec.bat file, the user managed to resolve the issues, enabling the device to function correctly with Home Assistant. Additionally, the conversation touched on flashing procedures and the importance of consistent configurations across multiple devices.
Summary generated by the language model.
ADVERTISEMENT