logo elektroda
logo elektroda
X
logo elektroda

OpenBK BK7231N CB2S S1-B(WT) WiFi Triac Dimmer with Wemo - Alexa sees it as Wemo plug no dimmer

ronnz 669 2
ADVERTISEMENT
  • #1 21023841
    ronnz
    Level 2  

    A S1-B(WT) WiFi AC Triac Dimmer, recently purchased from AliExpress, CB2S module was flashed with BK7231N at 115200 baud after removing it from the board (bus failure if attached to the board). The device is working properly with the following autoexec.bat
    startDriver TuyaMCU
    startDriver SSDP
    startDriver Wemo
    tuyaMcu_defWiFiState 4
    tuyaMcu_setBaudRate 115200

    setChannelType 1 toggle
    setChannelType 2 dimmer
    tuyaMcu_setDimmerRange 0 1000
    linkTuyaMCUOutputToChannel 20 1 1
    linkTuyaMCUOutputToChannel 22 2 2

    I am trying to use this with Alexa directly, replacing a different dimmer but Alexa is only discovering it as a Wemo plug with no dimming control.
    Is there a way to configure the device so that it is recognized as a dimming lamp? Thanks.
  • ADVERTISEMENT
  • #3 21023949
    ronnz
    Level 2  
    Thanks. I tried by first updating to the very latest BK7231N build 1.17.523 then adding startDriver HUE to autoexec.bat
    startDriver TuyaMCU
    startDriver SSDP
    startDriver HUE
    tuyaMcu_defWiFiState 4
    tuyaMcu_setBaudRate 115200
    
    setChannelType 1 toggle
    setChannelType 2 dimmer
    tuyaMcu_setDimmerRange 0 1000
    linkTuyaMCUOutputToChannel 20 1 1
    linkTuyaMCUOutputToChannel 22 2 2


    Main web page indicates 3 drivers active (TuyaMCU, SSDP, Hue), total 35
    Unfortunately Alexa doesn't find any new devices.
    So right now am using a node-red workaround with a virtual Alexa device node that simulates a dimmer switch that Alexa immediately discovers. Then MQTT power and brightness control messages are be sent to the real device.
    Hopefully the Hue driver will eventually be working properly.
ADVERTISEMENT