Skip to content

Instantly share code, notes, and snippets.

View gsuberland's full-sized avatar

Graham Sutherland gsuberland

View GitHub Profile
@en4rab
en4rab / SHA5264.md
Last active March 27, 2022 23:04
Flashing an ENER-J SHA5264 wifi smart plug to Tasmota

Flashing an ENER-J SHA5264 wifi smart plug to Tasmota

After having messed with an unbranded wifi lightbulb I thought I would have a look at a smart socket with energy monitoring. This particular model didn't have an entry on the Tasmota device templates repository nor was it listed as not compatible so I thought I would take a chance on it being ESP8266 based, the screws in the case also suggested it could be opened without damage incase it required serial flashing or a multimeter to work out how the energy monitoring chip was connected which is very helpful and saves destroying a plug for science.

TL;DR

The plug is Tuya based and can be flashed with Tuya-Convert for now, the pinout and device template for this power monitoring plug:

  • GPIO0 Button 1
  • GPIO4 BL0937 CF