![[BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide [BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide](https://obrazki.elektroda.pl/6017105400_1683097482_thumb.jpg)
Filohome FL-M3 is a 3 gang light switch based on Tuya CB3S module with BK7231N chip. It can be easily freed from the cloud and paired with Home Assistant by changing firmware to OpenBeken. This device has no TuyaMCU, so you can also script advanced button events on that and use double click, etc, to fire custom scripts. Here are some device details and device template.
Device information was submitted by our Github user. Thank you for sharing!
Filohome can be bought on Amazon or on other places around the web:
![[BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide [BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide](https://obrazki.elektroda.pl/7903517000_1683097594_thumb.jpg)
It comes in 1-gang, 2-gang and 3-gang versions.
Here are the dimensions:
![[BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide [BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide](https://obrazki.elektroda.pl/9677532100_1683097620_thumb.jpg)
Wiring instruction:
![[BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide [BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide](https://obrazki.elektroda.pl/7558754600_1683097638_thumb.jpg)
3D render:
![[BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide [BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide](https://obrazki.elektroda.pl/3722987000_1683097678_thumb.jpg)
Some generic device information:
Product Dimensions : 4.72 x 2.76 x 1.57 inches; 5.29 Ounces
Item model number : FL-M3
Date First Available : August 5, 2022
Manufacturer : Filohome
ASIN : B0B8QXYJRX
Manual:
![[BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide [BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide](https://obrazki.elektroda.pl/6090404200_1683097715_thumb.jpg)
![[BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide [BK7231N/CB3S] Filohome FL-M3 3 gang Smart Switch template/flashing guide](https://obrazki.elektroda.pl/9770320700_1683097722_thumb.jpg)
Flashing procedure
Flash via cloudcutter or by classic wires approach, use:
https://github.com/openshwprojects/BK7231GUIFlashTool
You can also watch our guides for more info:
https://www.youtube.com/playlist?list=PLzbXEc2ebpH0CZDbczAXT94BuSGrd_GoM
Then apply this template:
Code: JSON
Here is a text description of GPIO:
Quote:
- Relay (channel 1) on P14
- Relay (channel 2) on P9
- Relay (channel 3) on P8
- WiFi LED on P6
- LED (channel 1) on P7
- LED (channel 2) on P10
- LED (channel 3) on P11
- Button (channel 1) on P26
- Button (channel 2) on P24
- Button (channel 3) on P23
Note that you can change LED to LED_n role if you want backlight to work when the switch is off.
Summary
This is a very simple device to flash and support. Some similar switches are using TuyaMCU, which makes things harder to script, but that one is just using GPIO of CB3S. It's very easy to free it from the cloud and pair with Home Assistant.
If you want to read about scripting buttons, see here:
https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/README.md
Especially the autoexec.bat examples section should give some basic information about creating multiple events per button:
https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/autoexecExamples.md