A working weather station that records rain, day/night, and lightning strikes.
Inside this machine you will find a boiler which fills up in case of precipitation, a daylight sensor for day/night level and a BUD (Block Update Detector) next to a Netherrack to register a lightning strike there.
Instructions:First, the day/night technique:
Here's the rain gauge:
This is the BUD:
And here is the T-flipflop, which uses the signal of the BUD:
Attention, you have to set the Netherrack one lower, so that the fire of the lightning really arises next to the piston, which then emits the signal. And you should NOT build the whole thing out of wool, because it burns ;)