Tipping rain gauge mqtt config for cumulative ( hour/day) graphing

Hi ,

Has anyone succeeded to deep sleep the Wemos and wake up on the first “tip” of the bucket.?

I’m using the tipping bucket with a Coolcam door sensor and it’s far from reliable so am looking for an alternative but the power consumption of the D1 is draining the 18650 too fast (solar panel charged)
Any guidance is more than appreciated !

Is the complete ESPhome code available, including the MQTT?

I’m a very new beginner in ESPhome and tryning to learn by examples.

I saw the MQTT entry, but did not nderstand how it’s triggered from the sensor pulse_counter.

Thx in advance!