Hello,
I flashed this 2 gang smart switch, got wifi connection and opened webapp page. I expected getting the GPIO configuration from the Tuya firmware, unfortunately I got the message that getting GPIO was not possible as firmware was either custom or TuyaMCU. So it turned out to be more difficult than I expected.
The device still works even without any configuration (pushing buttons actuates the relays). The switch can be actuated with a remote and even that is still working, I paired and actuated it with the RF remote control.
I connected to wifi and MQTT but I could not connect to homeassitant, I guess because the device is not configured
I found three cloudcutter configuration files that are very close to my needs,"tuya-generic-wifi-switch-***.json" almost the same Tuya dpids, they could run with minor modifications. But when I dropped them as OBK templates they generated meaningless scripts, only the heading.
How can I know if mine is a TuyaMCU device? I see that some people are able to get information as "TuyaMCU: T1616-N TH 2720E (ATTINY1616)" How can they get it? In case it is TuyaMCU, I understand that some autoexec.bat file is needed with commands to map Tuya device dpids. I saw some examples of autoexec.bat files and I created one. I applied it but didn't work, so I deleted it and rebooted. But now I still have six buttons on the app that haven't gone away (why?).
I see that there are also other drivers. I wonder if you could give me some direction on how to proceed. Thanks in advance.
I am attaching some pictures and files, got from Tuya iot or created by myself.
![[BK7231N/CB2S ] Andeli 2 Gang Smart Switch with RF: TuyaMCU configuration, baud rate [BK7231N/CB2S ] Andeli 2 Gang Smart Switch with RF: TuyaMCU configuration, baud rate](https://static2.elektroda.pl/img/preloader2.svg)
I flashed this 2 gang smart switch, got wifi connection and opened webapp page. I expected getting the GPIO configuration from the Tuya firmware, unfortunately I got the message that getting GPIO was not possible as firmware was either custom or TuyaMCU. So it turned out to be more difficult than I expected.
The device still works even without any configuration (pushing buttons actuates the relays). The switch can be actuated with a remote and even that is still working, I paired and actuated it with the RF remote control.
I connected to wifi and MQTT but I could not connect to homeassitant, I guess because the device is not configured
I found three cloudcutter configuration files that are very close to my needs,"tuya-generic-wifi-switch-***.json" almost the same Tuya dpids, they could run with minor modifications. But when I dropped them as OBK templates they generated meaningless scripts, only the heading.
How can I know if mine is a TuyaMCU device? I see that some people are able to get information as "TuyaMCU: T1616-N TH 2720E (ATTINY1616)" How can they get it? In case it is TuyaMCU, I understand that some autoexec.bat file is needed with commands to map Tuya device dpids. I saw some examples of autoexec.bat files and I created one. I applied it but didn't work, so I deleted it and rebooted. But now I still have six buttons on the app that haven't gone away (why?).
I see that there are also other drivers. I wonder if you could give me some direction on how to proceed. Thanks in advance.
I am attaching some pictures and files, got from Tuya iot or created by myself.
![[BK7231N/CB2S ] Andeli 2 Gang Smart Switch with RF: TuyaMCU configuration, baud rate [BK7231N/CB2S ] Andeli 2 Gang Smart Switch with RF: TuyaMCU configuration, baud rate](https://obrazki.elektroda.pl/9023097200_1684621846_thumb.jpg)
![[BK7231N/CB2S ] Andeli 2 Gang Smart Switch with RF: TuyaMCU configuration, baud rate [BK7231N/CB2S ] Andeli 2 Gang Smart Switch with RF: TuyaMCU configuration, baud rate](https://obrazki.elektroda.pl/5421980500_1684621907_thumb.jpg)