Martin Jerry Switch MJ-S01- Single Pole


The MJ-S01 Single Pole Smart Switch has long been one of my favorite smart switches for several reasons;  1. A red and blue LED that is controllable, which of course also makes purple.  2. Easy to open.  3. Little travel required for a button press.  4. Still Tuya Convert'able as of Dec 2020.  5. Several solderless serial flashing methods.

Current Tuya Convert Status - 2021/07/15 Success

Tasmota Template and Setup (9.x or higher required)

{"NAME":"MJ-S01 2Way Switch","GPIO":[1,1,1,1,288,321,0,0,224,32,544,1,0,0],"FLAG":0,"BASE":18}

Don't forget to activate the template on the "Configure Other" screen!  

If a Red LED while Off and Blue LED while On is desired paste the following rule into the Tasmota console.  If you want opposite colors, edit the template in the configure template screen and transpose Led_i with Led and vice versa. The "i" stands for inverted.  Copy the below rule as one line to the Tasmota console:  

Rule1 on power1#state do backlog ledpower1 %value%; ledpower2 %value% endon
 on power1#boot do backlog ledpower1 %value%; ledpower2 %value% endon

Activate the Rule with 

Rule1 1

ESPHome YAML and Setup


Purchase the Switch (Affiliate Links)
Amazon US or 4 pack 

DISCLAIMER: Using an affiliate link is not requirement, you are welcome to shop at your favorite stores.  I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for this website to earn commissions by linking to and other affiliated sites.  Most product links are affiliate links and digiblurDIY could receive compensation if used.

Additional Photos (click to enlarge the photo)