A Core and Alexa controlled ceiling fan

Having bought an Amazon Echo when it was released in France (6 days ago), I wanted to try to use it to control my ceiling fan instead of using it’s IR remote control (I never find it, like all remote controls).

The remote is quite simple : a SM5021 chip, some resistors and an IR LED. I just had to find SM5021 datasheets, and play the needed frames with one of my Particle Core (yes, it’s vintage :older_man: )

And then :