Shelly relays can switch OFF/ON the ceiling fan, but they cannot control the speed of the ceiling fan.