
Rain meter for Home Assistant This is a rain meter created with a 3D printer and connected to Home Assistant. Parts needed: - 3D printer - Aqara door sensor - Neodyn magnet, 12x2 mm Get the STL files from Thingiverse: STL The idea is that a cradle fills up on one side with rain water, when there is enough water will the cradle tip over and the door sensor react. I wasn't able to use the magnet that is supplied with the door sensor as that one is too heavy. Assembly Take a piece of filament and use that as a hinge, make it long enough so it can't slide out, but not as long as it will touch the sides of the housing. Place the door sensor with its bottom away from the magnet and the button up. Home Assistant Add the door sensor to Home Assistant using for example ZHA, Zigbee Home Automation, using for example a Conbee USB stick. Add a couple of sensors to HA: (Change binary_sensor.rainmeter to your own name) sensor: - platform : history_stats name : rainsensor_fl...