Ok i have Managed to set sonoff mini to DIY mode and connected it to vera locally using info here
first connect to ewelink app and update firmware to 3.60 then remove device from ewelink app.
Using @therealdb virtual http device pluging you can control them using curl
curl://-d '{"deviceid": "1000a43b57","data": {"switch": "on"}}' -H 'Content-Type: application/json' -X POST 'http://192.168.1.170:8081/zeroconf/switch'
or off