Sonoff New DIY protocol

I guess you could modify HTTP switch such as this or this to send HTTP POST to the device API to trigger on/off and more…