In my case I had to set it to a sonoff basic first, then in console set: “SetOption19 on” (without quotes).
After that change module to generic (or anything else) this worked for me as for some reason SetOption19 doesn’t work when I select a different module before I have discovery setup.