If you're looking for a way to control your fan there are a few options that you have. If you're in the US, there is the Hampton Bay zigbee fan controller that does lights and fan speed. There's also the Lutron fan speed switch. If you're outside the US there is the Sonoff Fan2 wifi controller which can be flashed with Tasmota. And there's always the GE fan speed controller in Z-wave.