# Smart switch & Zigbee mount

Generate 3D-printable wall plates, 80×80 mm EU wall-box covers, and desk wedges for SONOFF SNZB-01P, Philips Hue Dimmer V2, Aqara Mini Switch, and Hue Tap Dial.

- Page: https://paramlet.com/tools/smart-switch-mount/
- Tool id: `smart-switch-mount` · version 1.3.0 · Paramlet Module Spec 1.1 · API version 1 · docs: https://paramlet.com/agents/
- Category: home / household · status: live
- Parameter schema (JSON Schema): https://paramlet.com/tools/smart-switch-mount/schema.json · presets: https://paramlet.com/tools/smart-switch-mount/presets.json
- Core parameters (`exportFormat`, `exportTol`, `units`, `massUnits`) are in schema.json under `x-coreParams`, not `properties`; both are accepted.
- Presets: `measure-your-own` (Measure your own button), `fits-sonoff-snzb-01p` (Fits SONOFF SNZB-01P Zigbee Switch), `fits-hue-dimmer-switch-v2` (Fits Philips Hue Dimmer Switch V2), `fits-aqara-mini-switch` (Fits Aqara Wireless Mini Switch), `fits-hue-tap-dial` (Fits Philips Hue Tap Dial Switch). Each has a page: https://paramlet.com/tools/smart-switch-mount/measure-your-own/, https://paramlet.com/tools/smart-switch-mount/fits-sonoff-snzb-01p/, https://paramlet.com/tools/smart-switch-mount/fits-hue-dimmer-switch-v2/, https://paramlet.com/tools/smart-switch-mount/fits-aqara-mini-switch/, https://paramlet.com/tools/smart-switch-mount/fits-hue-tap-dial/
- Deep link with parameters: `https://paramlet.com/tools/smart-switch-mount/?p=<url-encoded JSON>` or single values `?key=value`
- Deep link with a project: `https://paramlet.com/tools/smart-switch-mount/#project=<base64url project JSON>` (8,000 characters max)
- In the page: `window.paramlet` (getSchema, getParams, getState, getRecommendedMaterials, setParams, loadProject, getProject, exportModel, exportSTL, export3MF).
- WebMCP tools: `smart_switch_mount_get_parameter_schema`, `_get_state`, `_set_parameters`, `_load_project`, `_download`, and `get_recommended_materials`.
- Validation: unknown keys and out-of-range values are rejected; nothing is applied from an invalid request. Keys with x-agentSafe false can only be changed in the page.
- Output: 3mf, stl (default 3mf), millimetres, parts lying on the bed in print orientation. Every download contains README.txt and parameters.json (a project file).
- Downloads: free and unlimited at launch; API exports use the same download path as the button, including a short page with recommended products (affiliate links) that the user closes before the file starts.
- Export types: `3mf`, `stl`.

## Features

- Official SONOFF SNZB-01P (45×45×17.7 mm) preset plus Hue & Aqara presets
- Compact backplate, 80×80 mm EU wall-box cover (60 mm screw pitch), or desk wedge
- Front finger notch for easy battery replacement
- A colour to match your filament or your room

## Use cases

- Mount a SONOFF SNZB-01P or Aqara button over an 80×80 mm EU wall switch box
- Place a Philips Hue Dimmer or Tap Dial on a bedside table wedge

## Safety

- Turn off mains breaker before unscrewing existing wall switch plates.

## Recommended materials & tools

_As an Amazon Associate Paramlet earns from qualifying purchases. Some links are affiliate links; we may earn a commission at no extra cost to you._

- [SONOFF SNZB-01P Zigbee wireless button](https://paramlet.com/go/sonoff-snzb-01p?src=agent) — Exact match for the Fits SONOFF SNZB-01P preset (45×45×17.7 mm, official SONOFF spec). (Affiliate link (Amazon Associates, tag paramlet-21))
- [Matte PLA Filament 1.75 mm (1 kg) — smooth surface finish](https://paramlet.com/go/pla-matte-filament?src=agent) — Clean matte finish for decorative vases, ornaments and candle holders. (Affiliate link (Amazon Associates, tag paramlet-21))
- [PETG Filament 1.75 mm (1 kg) — heat-resistant & durable](https://paramlet.com/go/petg-filament-1kg?src=agent) — Stronger and more heat-resistant than PLA for molds, jigs and outdoor parts. (Affiliate link (Amazon Associates, tag paramlet-21))

## FAQ

**Can I still replace the CR2477 / CR2032 battery?**
Yes — the front finger notch lets you lift the button out without unscrewing the plate.

**What holds the button in the pocket?**
The pocket is the size of the button plus the clearance, 0.4 mm on each side by default, so the button drops in and sits on the floor of the plate. There is no snap and no lip: the button stays by friction, or on its own adhesive pad on the floor of the pocket. Use the notch at the bottom of the rim to lift it out.

**Which screws fit the holes?**
The holes are 3.8 mm wide and take an M3 screw: two on the wall-box cover, 60 mm apart, and two on the backplate, above and below the button. The desk wedge has no holes. For a hollow drywall, use the backplate with plugs made for it or with adhesive pads.

**Will it cover my old light switch?**
The EU wall-box cover is made for that: a plate of at least 82 mm that goes onto a wall box with two screws 60 mm apart. Turn the power off before you take off the old cover. The plate is a cover, not a housing: anything that carries mains voltage has to stay inside a proper box under it.

**My button is not in the presets. Will it fit?**
Measure its width, height and depth and enter them. Rectangular buttons fit as they are; a round or oval button gets a rectangular pocket of the same size. Print the backplate first: it is the smallest of the three and tells you whether the clearance is right.

## Parameters

| key | label | type | range / values | default | agents |
|---|---|---|---|---|---|
| `deviceWidth` | Device width | number | 25–110 mm (step 0.5) | 45 | yes |
| `deviceHeight` | Device height | number | 25–130 mm (step 0.5) | 45 | yes |
| `deviceDepth` | Device depth | number | 6–30 mm (step 0.1) | 17.7 | yes |
| `mountType` | Mount type | string | wall-80x80|backplate|desk-wedge | "wall-80x80" | yes |
| `clearance` | Pocket clearance | number | 0.2–1.5 mm (step 0.1) | 0.4 | yes |
| `material` | Filament | string | pla|petg | "pla" | yes |
| `wallCount` | Perimeter walls | integer | 2–6 count (step 1) | 3 | yes |
| `infill` | Infill | integer | 5–100 pct (step 5) | 20 | yes |
| `plateTexture` | Wall plate texture | string | none|waves|diamond|hex|wood|hammered|basketweave|folk|dots | "none" | yes |
| `textureDepth` | Texture depth | number | 0.3–0.7 mm (step 0.1) | 0.5 | yes |
| `textureScale` | Texture scale | number | 4–18 mm (step 1) | 8 | yes |
| `color` | Colour | string | string | "#c5c9cc" | yes |
