logo elektroda
logo elektroda
X
logo elektroda

EARU EASEM-G-M300 3 phase meter: teardown, pinout, DpIDs (list and JSON), firmware dump

d.milivojevic  1 93 Cool? (+3)
📢 Listen (AI):
Fairly capable unit, only downside is the screen that is not that readable.
Good things about the unit: Meter IC is Renergy RN8302B with some great specs.
Unit comes with 3 CT clamps, it can accommodate an additional clamp for current leakage. I suspect that
the same input can be repurposed with a typical CT clamp over the neutral to do the leakage current calculation (DpIDs JSON suggests that is possible).
1 relay output, 1 digital input and RS485 input. Bunch of options like over voltage, under voltage etc in the Tuya app.
Fairly cheap, got it for €50 from what appears to be an official EARU store on Aliexpress (link). Current price is €55 which is still good.
Measured values seem to match what I measured with a Bryman BM869s and UT210E clamp meter. Did the basic load tests
with resistive loads and SMSP + DC load, reported values match the calculations. Like with other Tuya units, reporting frequency
is not that great, for a steady state loads, so I'm looking into OpenBeken to "fix" that.

Teardown photos and partial pinout.

Front of the unit:
Three-phase WiFi energy meter with display and navigation buttons













Easy to open, just 4 clips on the sides
Plastic device with quality certificate label from EARU ELECTRIC

Inside the unit, notice the JTAG labelled connector on the left. It goes to the  CMS32L051 "Tuya MCU", so it seems that it would be pretty hackable
if someone wanted to replace the Tuya firmware.
Electronic module with LCD screen, push buttons, and green terminal blocks

It uses pluggable terminal blocks which is nice if you have to replace/open the device without disturbing the wiring. 
Green screw terminal blocks with brown and blue wires on a blue background

The board with the screen, TuyaMCU and the CB3S module is easily separated from the base unit that holds the power section, metering chip, RS485 chip etc:
Side view of electronic module with PCBs, capacitors and pin connectorsClose-up of a PCB with electronic components and pin headers Two printed circuit boards with electronic components and connectors

CB3S module is also easy to separate (douse the hot glue blobs with ethyl/isopropyl alcohol, it peels of after a few seconds). 
USB programmer with ZIF socket and connected PCB module on blue background
I used the "CH341 Programmer" to dump the firmware since it has a 3.3V regulator on board and none of my other USB to serial boards have that feature.
Overkill and something like this "programmer" would be better is someone needs a cheap adapter with a 3.3V regulator: link

Pinout for the CB3S board:
CB3S module on green PCB with labeled UART pins: VCC, GND, TX1, RX1

Tuya MCU and the display chip:
Close-up of a PCB with a 16V capacitor and TM1622B and CMS32 microchips visible CMS32L051 microcontroller mounted on a green PCB circuit board

Main board with some pins labelled, for some reason it uses the DC2DC converter to generate 3.3V for the CB3S module, haven't yet found where the VCC for the MCU comes from, labelling on the top of the board suggest that it should be the pin on the far left, but it's not directly connected to the MCU and I did not have the time to trace it out yet. 
Seems to be pretty hackable considering that all you need (except the metering chip and RS485) is on this board.
PCB with microcontrollers, header pins and labeled components

Base board that holds the energy metering chip etc:
Green printed circuit board underside with visible traces and solder points Renergy RN8302B integrated circuit on green PCB with visible surface-mount pins Printed circuit board with electronic components and green terminal blocks

Sorry about the quality of the photos, lightning setup ...
Archive containing the firmware dump, flasher log, DpIDs (list and JSON) is attached.

50+ DpIDs, of most interest to me is this:


{
  "abilityId": 113,
  "accessMode": "ro",
  "code": "pa_instant",
  "name": "Phase A Instantaneous Grid Data",
  "description": "Voltage (2B 0.1V), Current (3B 0.001A), Active Power (3B 0.0001kW), Reactive Power (3B 0.0001kvar), Power Factor (2B 0.001), Grid Frequency (2B 0.01Hz). Big endian HEX, total 15 bytes.",
  "typeSpec": {
    "type": "raw",
    "maxlen": 128
  }
}


Code: JSON
Log in, to see the code


If I could get this to work with OpenBeken and send it to HA ...
Haven't tried to flash OB yet, I presume that I can always revert back to stock firmware?
If someone can provide a basic config that I can try, I'm still reading the documentation since I haven't used OB before.


AI: Which hardware revision or version of the EASEM-G-M300 do you have? Sometimes there are small differences between batches that could affect the OB config or pinout.
V2.0(0911)
AI: How are you planning to integrate the meter with Home Assistant—are you thinking of using MQTT, direct integration, or something else? That’ll help narrow down the config options.
MQTT

About Author
d.milivojevic wrote 1 posts with rating 3 . Live in city Kragujevac. Been with us since 2012 year.

Comments

%}