GitHub

Sonoff S60

Sonoff’s ESP32-C3 smart plug: the S60TPG (UK, Type G) and the S60TPF (Europe, Type E/F), the same board behind different pins. The stock firmware calls it SN-ESP32C3-S60-01. This folder holds or links everything specific to the S60; the tooling it shares with other Espressif plugs is in tools/espressif/.

Chip ESP32-C3 (4 MB flash)
Relay GPIO4
Status LED GPIO5, not inverted
Power meter CSE7766 on UART, RX GPIO7, 4800 baud, even parity
Button GPIO9, active low, pull-up
Board variant read from GPIO6, GPIO10 and GPIO19 with pull-ups at start-up; it chooses the meter’s correction factor (1.02 or 1.00)