Sonoff Fan Controller - $12

I've come across a method to link a single pole Sonoff switch that does not require a firmware update. To me this might not be worth the bother for most people, because it seems to be relatively straight forward to upgrade the firmware on most Sonoff models. It also does not work with the iFan02, but Sonoff superstars like @ericm may figure out a method for flashing it still, and so any other method might not be needed. However, if you're like me and have never done any Sonoff firmware flashing, it might be a very steep climb to get there.

I'm going to create a separate post and I'll come back and link to it here. It took me a while to figure out the exact steps and some important steps are only mentioned in the comments of a video I found, but the methods for even those steps aren't explained. So I created a step by step to make it easy to understand what it is, what it is not and how to get there.

Let me be clear that, what I found is a method to allow a Node plugin for Homebridge to control Sonoff via their cloud instance, and it does not currently even work with the iFan02 controller. My hope in posting the step by step for this method is that, if @ericm can't figure out a reasonably simple method for flashing of the iFan02 controller to make it directly usable in HE with the development of a custom driver, we can at least have a way to setup a simple node server, and then perhaps someone can figure out from the code that exists, how to create a stand-alone Node application that doesn't require Homebridge. Then it should be possible to create a custom driver in HE to control the Sonoff iFan02 by way of the Node.js server by just following the procedure I'll define in the separate post.

[Edit] Post created: How to capture the authentication token from EweLink