H801 and two Buttons at GPIO0 and RX

Hi everyone,

a little tutorial.
I have an H801 and wanted to use the pins RX and GPIO 0 for input because they are easy accessible.
But they need high level at boot, and if the switch is closed when H801 boot there is a problem.

I used an Resistor/Capacitor Differenzierglied, to avoid low level at boot. The circuit makes an short impulse to the RX or GPIO 0 pin long enough to trigger an automation. Example Turn light on.

03101213

I used it for an wardrobe witch two doors and turn on an CTT Light-Stripe left or right.
I hope someone could use this to.