Happy with your Prusa printer? Earn $30 when you recommend us to your friend, family or shop with the updated Prusa Rewards Program. PS: They will get an extra Prusament spool!

Sonoff Basic box with push button

A simple enclosure for the Sonoff Basic switch with a 16mm push button.
7
8
0
71
updated November 2, 2025

Description

PDF

Disclaimer: heavily inspired by Sonoff basic enclosure by Dan Rogers https://www.printables.com/model/238516-sonoff-basic-enclosure-for-different-types-of-powe

This enclosure for the Sonoff Basic switch uses a 16mm push button which is easier for frequent uses than the original button. Personnally I flashed the board with ESPHome and wired the button between GND and GPIO14 (available on the programming pins row), but you can solder the wires to the original button if needed.

I made the box as slim as possible, which means trimming the original button by 1-2mm.

You will need 2 M3 screws and 2 zip ties.

Model origin

The author marked this model as their own original creation.

License