Sonoff iFan02 control with Vera Plus?

This WiFi Fan Controller seems pretty new and may be just what I need, if it can be incorporated into VeraPlus that is…

Will the MiOS EvAk Sonoff Plugin fit these needs for multi-speed fan control and light conrol?

Thanks!

Any thoughts? Suggestions? Thanks.

Bueller?

Bueller?

Anyone?

Bueller?

I flashed my sonoffs with tasmota and use a virtual device to operate them.
Specifically, you?ll need to write a custom device type to handle fan. If you?re not comfortable with coding, maybe a virtual device with scenes will be the easiest route to follow.

[quote=“therealdb, post:4, topic:199606”]I flashed my sonoffs with tasmota and use a virtual device to operate them.
Specifically, you?ll need to write a custom device type to handle fan. If you?re not comfortable with coding, maybe a virtual device with scenes will be the easiest route to follow.[/quote]

You’ll need to break that down a little bit more… LOL

Why the need to flash the device?

With the virtual device, it’ll do on and off but what about dimming and fan speed control?

Thanks!

Out of the box these device have a Chinese firmware and I want to be sure I own them, so I use Tasmota, but there are other options like espeasy.
After flashing them, you can use the Api to query and send commands. I mainly use them to report temperatures, so I haven’t used the fan version.

It seems supported GitHub - arendst/Tasmota: Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

[quote=“therealdb, post:6, topic:199606”]Out of the box these device have a Chinese firmware and I want to be sure I own them, so I use Tasmota, but there are other options like espeasy.
After flashing them, you can use the Api to query and send commands. I mainly use them to report temperatures, so I haven’t used the fan version.

It seems supported GitHub - arendst/Tasmota: Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

Interesting. So I need to solder on a pin header or something to get serial connected to flash?

I’ll look further into the api but is this going to require writing a plugin for Vera in LUA?

I successfully used SONOTA in the past, not use if your device is supported GitHub - mirko/SonOTA: Flashing Itead Sonoff devices with custom firmware via original OTA mechanism

In case it’s not supported, you’ll need to flash it with wires.

You then will need to write a virtual device. Vera does not support fans directly, so you can decide to use a thermostat with fan as base, or a dimmer/roller shutter. In this case, you can use 0, 33, 66 and 100 to map to corresponding speed of the fan. Look at the forum, there’s a sample for a virtual shutter device implementation and I think you can adapt it to your needs very easily.