From the Loftsmith Workshop
Tank float switch for Aqara, PARASOLL or reed switch
Tells you when a tank is getting full or running low, using a door sensor you already own. The bracket hooks over the tank wall and a float on a thin stem rises and falls beside it. Set the trigger depth and wall thickness to match your tank.
3 parts · 41 g · 68 × 48 × 176 mm
Ask for the sizes you want to tweak, e.g. “make the width adjustable”.
How to print it
Parts
- bracket · PETG · Upright as modelled, wall slot down on the bed
53.5 x 35 x 59.4 mm at the defaults. It clamps over the tank wall with an M4 thumb screw and a nut trapped in the outer leg, holds the sensor in a dry pocket above the rim (side windows show the sensor and give a finger grip), and guides the mast in a 27 mm keyed sleeve. No supports.
- float · PETG · Upright, flat bottom on the bed
48 mm buoy-shaped sealed float. Its 1.8 mm skin, which 4 walls fill, surrounds a closed internal void whose roof is a 48 degree cone, so it needs no supports.
- mast · PETG · Lying flat, crowned magnet face up; diagonally across the bed when longer than 165 mm
Default length 92.7 mm (13 x 5 mm section). Its length follows the trigger level: 207.3 mm at 200 mm with the default Aqara sensor and 48 mm float, or 228.6 mm with the PARASOLL preset. It holds the magnet at the top and has a 30 mm window for the stop screw.
Print settings
- Layer height
- 0.2 mm
- Walls
- 4 walls for all three parts. They fill the float's 1.8 mm skin with solid perimeters.
- Infill
- 20%
- Supports
- None for any part
- Notes
- Engine estimate at 4 walls / 20% infill: about 61 g and 1 h 53 min for the three default parts. The page's stats line, at 2 walls / 15%, shows about 43 g and 1 h 19 min. Use PETG because PLA slowly absorbs water. Print the bracket as modelled with the slot down, the float upright and the mast flat.
Hardware
- M4 x 10 nylon thumb screw · Clamps the bracket to the outside of the tank wall. Nylon will not scratch glass.
- M4 hex nut · Pushed up into the hex slot in the outer leg from the underside.
- M3 x 16 socket head screw, A2 stainless · Stop screw through the mast window. A2 stainless is barely magnetic, so the magnet does not pull toward it.
- Neodymium disc magnet, 10 x 2 mm (or 6 x 2 mm with the Magnet slider) · Glued into the pocket at the top of the mast, above the water.
- Sensor: Aqara door and window sensor T1, IKEA PARASOLL door/window sensor, or a 3 mm glass reed switch · Pick the matching Sensor option. Each pocket is sized to that sensor's body: Aqara T1 41 x 22 x 11 mm, a 3 mm reed switch, and the PARASOLL sensor body as fitted by a published case design. Signalling
- Epoxy or CA glue · For the magnet and the mast-to-float socket.
Assembly
- Glue the disc magnet into the round pocket on the mast's crowned face, flush or just under the surface, and let it cure.
- Put a drop of epoxy or CA glue in the float's top socket and push the mast's square end in until it bottoms. The socket only fits one way round.
- Push the M4 nut up into the hex slot in the bracket's outer leg from the underside, then thread the nylon thumb screw in from the outside a few turns so it holds the nut.
- From below the bracket, feed the mast's tapered tip up through the sleeve with the magnet facing the sensor tower. The sleeve is keyed to the mast, so it cannot turn.
- Line the mast window up with the side hole in the bracket boss. Drive the A2 stainless M3 x 16 screw in from the outer face until the head sits in its counterbore. It passes through the window and threads into the far side.
- Check that the float slides the full 30 mm between the two screw stops without binding.
- Drop the sensor into the pocket, with an Aqara T1's alignment mark (or the PARASOLL's magnet side) facing the mast. For a reed switch, push it in with both leads coming out of the top and seal the top with a dab of hot glue.
- Hook the bracket over the tank wall, float side inside, and tighten the thumb screw finger-tight against the outside of the wall. Then set up a Home Assistant automation on the sensor's open and closed states.
Good to know
- Tighten the thumb screw. If the tank overfills, water above the trigger level pushes the float up through the stop screw into the bracket: up to 40 g of uplift at the default settings, and 92 g with a 64 mm float once it is fully under. The engine checks that a finger-tight clamp holds this, assumin
- Printed floats can leak and sink over time. Check the float underwater after printing, inspect it now and then, and on an auto top-off system add a second independent float or a timer cut-off as a failsafe.
- This is a signalling switch only: a battery sensor, or a reed switch wired to a 3.3-5 V logic input. Never use it to switch a pump or mains power directly.
- Aqara's 22 mm range is for its own magnet; a small disc magnet reaches less far. The design brings the magnet within 3.6 mm of the sensor face, but test that your sensor closes, and turn it in the pocket if it does not. The PARASOLL's switching distance was not checked.
- The shallowest trigger level depends on the float size: 63 mm below the rim for the default 48 mm float, 76 mm for a 64 mm float. If the slider is set shallower, the model raises the level and the 'Float clears the bracket' check reports the new value.
- The tank must be deep enough for the float to hang 30 mm below the trigger level. At the defaults the float bottom hangs 136 mm below the rim when the water is low.
- Buoyancy is worked out for fresh water. In salt water the float rides slightly higher.
- Checked in the Loftsmith engine only, not printed or tested on a real tank. The clamp force and friction values are assumptions.
Comments