This was painful to figure out. The device is a Sonoff S31 smart outlet: Useful tools to get this done: To program the Sonoff S31 (which actually uses a ESP8266EX chip) To turn the USB serial converter ON and OFF, use a small USB hub: To hold the assembly together: To connect to the tiny ..