I purchased an AVATTO WSMD-4 four-channel switcher onto which I successfully uploaded OpenBK.
.
.
On board is a 433MHz chip with the mysterious designation 0056
.
The device itself is similar to the one described here...:
https://www.elektroda.pl/rtvforum/topic3989878.html
Unfortunately the config was not extracted during the backup.
I traced the paths visually and with a multimeter, I attach the config...:
.
The relays and buttons work fine but I have two questions.
1. the device has an additional RESET button which is connected to pin 7 and connects the ground, how can I make a short press do the restart of the CBU module and a long press (5s) do the conversion to AP mode?
2. the RF chip 0056 is connected by output 8 (in the picture above number 6) to pin P24 of the CBU, I understand that the RF support is not implemented yet and I will not do anything about it for now ?.
![[BK7231N][CBU + RF 433] AVATTO WSMD-4 Configuration of RESET button and RF chip on OpenBK [BK7231N][CBU + RF 433] AVATTO WSMD-4 Configuration of RESET button and RF chip on OpenBK](https://obrazki.elektroda.pl/3468700400_1723720949_thumb.jpg)
![[BK7231N][CBU + RF 433] AVATTO WSMD-4 Configuration of RESET button and RF chip on OpenBK [BK7231N][CBU + RF 433] AVATTO WSMD-4 Configuration of RESET button and RF chip on OpenBK](https://obrazki.elektroda.pl/9045306800_1723720972_thumb.jpg)
On board is a 433MHz chip with the mysterious designation 0056
![[BK7231N][CBU + RF 433] AVATTO WSMD-4 Configuration of RESET button and RF chip on OpenBK [BK7231N][CBU + RF 433] AVATTO WSMD-4 Configuration of RESET button and RF chip on OpenBK](https://obrazki.elektroda.pl/9861886300_1723721124_thumb.jpg)
The device itself is similar to the one described here...:
https://www.elektroda.pl/rtvforum/topic3989878.html
Unfortunately the config was not extracted during the backup.
I traced the paths visually and with a multimeter, I attach the config...:
{
"vendor": "Tuya",
"bDetailed": "0",
"name": "AVATTO Smart DIY Switch Module",
"model": "WSMD-4",
"chip": "BK7231N",
"board": "CBU",
"flags": "-2147482620",
"keywords": [
"TODO",
"TODO",
"TODO"
],
"pins": {
"6": "WifiLED_n;0",
"7": "Btn_Tgl_All;0",
"8": "Btn;1",
"9": "Rel;3",
"14": "Btn;4",
"16": "Btn;3",
"17": "Rel;4",
"20": "Btn;2",
"26": "Rel;1",
"28": "Rel;2"
},
"command": "PowerSave",
"image": "https://obrazki.elektroda.pl/3468700400_1723720949.jpg", "https://obrazki.elektroda.pl/9045306800_1723720972.jpg"
"wiki": "https://www.elektroda.pl/rtvforum/topic4070656.html"
}
The relays and buttons work fine but I have two questions.
1. the device has an additional RESET button which is connected to pin 7 and connects the ground, how can I make a short press do the restart of the CBU module and a long press (5s) do the conversion to AP mode?
2. the RF chip 0056 is connected by output 8 (in the picture above number 6) to pin P24 of the CBU, I understand that the RF support is not implemented yet and I will not do anything about it for now ?.