<?xml version='1.0' encoding='utf-8'?>
<definition type="element" link_type="simple" version="0.90" width="220" height="180" hotspot_x="90" hotspot_y="70">
    <uuid uuid="{d2438bd1-9d4d-5a76-96fa-111b0bbe5b83}" />
    <names>
        <name lang="en">Shelly EM Mini Gen4 — mounting view</name>
        <name lang="lv">Shelly EM Mini Gen4 — montāžas skats</name>
        <name lang="bg">Shelly EM Mini Gen4 — монтажен изглед</name>
        <name lang="de">Shelly EM Mini Gen4 — Einbauansicht</name>
        <name lang="fr">Shelly EM Mini Gen4 — vue de montage</name>
    </names>
    <elementInformations>
        <elementInformation name="label" show="1" />
        <elementInformation name="designation" show="1">Shelly EM Mini Gen4</elementInformation>
        <elementInformation name="manufacturer" show="1">Shelly Europe Ltd.</elementInformation>
        <elementInformation name="manufacturer_reference" show="1">S4EM-001PXCEU16</elementInformation>
        <elementInformation name="description" show="1">Inline energy meter. Inline energy meter with no switching contact; the two O terminals are bridged.</elementInformation>
        <elementInformation name="function" show="1">inline energy meter</elementInformation>
        <elementInformation name="comment" show="1">34 × 29 × 16 mm · mounting view</elementInformation>
        <elementInformation name="supplier" show="1">https://shelly.com</elementInformation>
        <elementInformation name="quantity" show="1">1</elementInformation>
        <elementInformation name="unity" show="1">1</elementInformation>
        <elementInformation name="auxiliary1" show="1" />
        <elementInformation name="auxiliary2" show="1" />
    </elementInformations>
    <informations>Shelly EM Mini Gen4 — mounting view.
Terminals, left to right as printed: O O L N.

Official sources:
https://kb.shelly.cloud/knowledge-base/shelly-em-mini-gen4
https://kb.shelly.cloud/__attachments/a_25d01f02840889153ac53b8ec2d4d71e62dccc63bf7b39237a73bc7e3c2cabd0/Shelly%20%D0%95M%20Mini%20Gen4.jpg
https://kb.shelly.cloud/__attachments/a_b0edf7c53c1f7f0c1fd7ba9151b9c7aea651aab32716f36db600ae881cb6aadf/Plus-PM-Mini-wiring-diagram-20240528-142223.png

Notes:
- Terminal order and empty center slot verified against the official front product photograph, separately from legend order.
- Rectangular Mini housing with rounded corners; front label upright and terminal strip at the top.
- No LAN connector or external CT connector.
- Direct 16 A power/energy meter with no switching relay, no SW input and no CT inputs; the two O screw terminals are internally bridged.
- Gen4 adds Wi-Fi 6/Zigbee connectivity and ESP-Shelly-C68F; physical terminal pattern is retained from previous Mini generations.
- EM Mini Gen4 succeeds PM Mini Gen3; EM does not imply external current transformers. KB documents local storage of at least 10 days at one-minute resolution and CSV/JSON export.

Open points:
- Housing radii, terminal pitch and depth details are not dimensioned CAD evidence; draw a recognizable approximation.

Nominal dimensions and an illustrative outline: corner radii, screw pitch and recesses are drawn to be recognisable, not to manufacturing CAD.</informations>
    <description>
        <rect x="-68" y="-58" width="136" height="116" rx="10.44" ry="10.44" antialias="true" style="line-style:normal;line-weight:normal;filling:HTMLWhiteWhiteSmoke;color:HTMLGrayDimGray" />
        <rect x="-50" y="-54" width="100" height="22" rx="2" ry="2" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayGray;color:HTMLGrayDimGray" />
        <circle x="-47" y="-50" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="-45.4" y="-48.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="-42.1" y1="-42.09" x2="-37.9" y2="-43.91" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="-40.91" y1="-45.1" x2="-39.09" y2="-40.9" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="-40" y1="-60" x2="-40" y2="-58" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="-30" y1="-53" x2="-30" y2="-33" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <circle x="-27" y="-50" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="-25.4" y="-48.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="-22.1" y1="-42.09" x2="-17.9" y2="-43.91" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="-20.91" y1="-45.1" x2="-19.09" y2="-40.9" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="-20" y1="-60" x2="-20" y2="-58" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <rect x="-6.8" y="-52" width="13.6" height="18" rx="1" ry="1" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLWhiteWhiteSmoke;color:HTMLGrayDimGray" />
        <line x1="10" y1="-53" x2="10" y2="-33" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <circle x="13" y="-50" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="14.6" y="-48.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="17.9" y1="-42.09" x2="22.1" y2="-43.91" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="19.09" y1="-45.1" x2="20.91" y2="-40.9" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="20" y1="-60" x2="20" y2="-58" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="30" y1="-53" x2="30" y2="-33" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <circle x="33" y="-50" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="34.6" y="-48.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="37.9" y1="-42.09" x2="42.1" y2="-43.91" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="39.09" y1="-45.1" x2="40.91" y2="-40.9" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <line x1="40" y1="-60" x2="40" y2="-58" end1="none" end2="none" length1="1.5" length2="1.5" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <circle x="-7.308" y="29.572" diameter="1.176" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayDimGray;color:HTMLGrayDimGray" />
        <arc x="-8.82" y="28.06" width="4.2" height="4.2" start="42" angle="96" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <arc x="-10.29" y="26.59" width="7.14" height="7.14" start="42" angle="96" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <arc x="-11.76" y="25.12" width="10.08" height="10.08" start="42" angle="96" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <polygon closed="false" x1="-1.89" y1="28.711" x2="1.89" y2="31.609" x3="0" y3="33.31" x4="0" y4="27.01" x5="1.89" y5="28.711" x6="-1.89" y6="31.609" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <polygon closed="true" x1="9.8117" y1="31.945" x2="6.72" y2="33.73" x3="3.6283" y3="31.945" x4="3.6283" y4="28.375" x5="6.72" y5="26.59" x6="9.8117" y6="28.375" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <polygon closed="false" x1="5.2206" y1="28.6606" x2="8.2194" y2="28.6606" x3="5.2206" y3="31.6594" x4="8.2194" y4="31.6594" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <rect x="13.3105" y="42.92" width="26.5117" height="8.64" rx="4.32" ry="4.32" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <text x="-43.3057" y="-20" text="O" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="-23.3057" y="-20" text="O" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="17.6367" y="-20" text="L" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="36.9307" y="-20" text="N" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="-33.1895" y="-4.64" text="EM Mini Gen4" rotation="0" color="#111111" font="Liberation Sans,7.6,-1,5,75,0,0,0,0,0" />
        <text x="-18.5742" y="9.28" text="110-240 V~" rotation="0" color="#49596a" font="Liberation Sans,5.4,-1,5,50,0,0,0,0,0" />
        <text x="-39.8223" y="49.88" text="Shelly" rotation="0" color="#111111" font="Liberation Sans,12,-1,5,75,0,0,0,0,0" />
        <text x="18.3105" y="48.68" text="Gen4" rotation="0" color="#111111" font="Liberation Sans,5.04,-1,5,50,0,0,0,0,0" />
        <text x="-30.2402" y="73" text="34 × 29 × 16 mm" rotation="0" color="#5b6b7a" font="Liberation Sans,6,-1,5,50,0,0,0,0,0" />
        <dynamic_text x="76" y="-58" rotation="0" frame="false" Halignment="AlignLeft" Valignment="AlignTop" text_width="-1" font="Liberation Sans,9,-1,5,50,0,0,0,0,0" keep_visual_rotation="false" text_from="ElementInfo" uuid="{cefbbafa-2c6c-54b6-94c3-6ae9529d415a}">
            <text />
            <info_name>label</info_name>
        </dynamic_text>
        <text x="-76" y="82" text="MAC:" rotation="0" color="#5b6b7a" font="Liberation Sans,6,-1,5,50,0,0,0,0,0" />
        <dynamic_text x="-50" y="74" rotation="0" frame="false" Halignment="AlignLeft" Valignment="AlignTop" text_width="-1" font="Liberation Sans,6.5,-1,5,50,0,0,0,0,0" keep_visual_rotation="false" text_from="ElementInfo" uuid="{7b398e0d-28a3-558e-8c55-1a538591a17f}">
            <text />
            <info_name>auxiliary1</info_name>
        </dynamic_text>
        <text x="-76" y="95" text="IP:" rotation="0" color="#5b6b7a" font="Liberation Sans,6,-1,5,50,0,0,0,0,0" />
        <dynamic_text x="-50" y="87" rotation="0" frame="false" Halignment="AlignLeft" Valignment="AlignTop" text_width="-1" font="Liberation Sans,6.5,-1,5,50,0,0,0,0,0" keep_visual_rotation="false" text_from="ElementInfo" uuid="{42d3694b-b0f0-52b6-b179-17891d0c44a1}">
            <text />
            <info_name>auxiliary2</info_name>
        </dynamic_text>
        <terminal x="-40" y="-60" name="O" orientation="n" type="Generic" uuid="{3c45caa1-d525-5509-a60e-8d2baa035a4d}" />
        <terminal x="-20" y="-60" name="O" orientation="n" type="Generic" uuid="{3f610f1a-1fd8-5e0f-a476-52e1de7a05db}" />
        <terminal x="20" y="-60" name="L" orientation="n" type="Generic" uuid="{73d2b4bf-e7c3-599d-a3c2-cd92860e9fbf}" />
        <terminal x="40" y="-60" name="N" orientation="n" type="Generic" uuid="{8d3b9d35-c14d-5a41-b955-1800e4c53c7a}" />
    </description>
</definition>
