eWelink controls a window/linux service

Does anyone know of a window/linux software that simulate a Sonoff unit controlled by the eWelink.

When installed the software can run a batch file, when activated from the eWelink.

Or is there something similar ?