<?xml version='1.0' encoding='utf-8'?>
<definition type="element" link_type="simple" version="0.90" width="240" height="220" hotspot_x="100" hotspot_y="90">
    <uuid uuid="{f3c75ccd-271b-595c-b7bb-51f69847f4b8}" />
    <names>
        <name lang="en">Shelly EM Gen4 — mounting view</name>
        <name lang="lv">Shelly EM Gen4 — montāžas skats</name>
        <name lang="bg">Shelly EM Gen4 — монтажен изглед</name>
        <name lang="de">Shelly EM Gen4 — Einbauansicht</name>
        <name lang="fr">Shelly EM Gen4 — vue de montage</name>
    </names>
    <elementInformations>
        <elementInformation name="label" show="1" />
        <elementInformation name="designation" show="1">Shelly EM Gen4</elementInformation>
        <elementInformation name="manufacturer" show="1">Shelly Europe Ltd.</elementInformation>
        <elementInformation name="manufacturer_reference" show="1">S4EM-002CXCEU</elementInformation>
        <elementInformation name="description" show="1">2 × energy meter + relay. Two current-measuring channels plus a potential-free contact.</elementInformation>
        <elementInformation name="function" show="1">2 × energy meter + relay</elementInformation>
        <elementInformation name="comment" show="1">42 × 37 × 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 Gen4 — mounting view.
Terminals, left to right as printed: O I IB.1 IB.2 IA.1 IA.2 L N.

Official sources:
https://kb.shelly.cloud/knowledge-base/shelly-em-gen4
https://kb.shelly.cloud/__attachments/a_12e2e93156f3c0eb49d83d55155dd331457261980eb53ea2f4d4c75f892c3ba4/Shelly%20EM%20Gen4_front%20view1.png?cb=12fc3f6aaae34b0e029678829935727e
https://kb.shelly.cloud/__attachments/a_d3da7d196db1e6e76f038fc886be8b42e05fe289d729584201996d4f31fc24df/EM-Gen3-internal-schematics.png?cb=de92b7bb1496610f41d15439b4e1d8f3
https://kb.shelly.cloud/__attachments/a_fc5e894bc87cb32b8f3f48ef1cb80907c27b254352e94d03afbff8fc3ffb4366/Shelly%20EM%20Gen4%20multilingual%20printed%20user%20and%20safety%20guide.pdf?cb=6c8d4b1f14a677a63387ee4827567787

Notes:
- O/I are the dry-contact relay; IB and IA are two physically distinct two-pin CT sockets, not screw terminals. The left-to-right order is IB before IA.
- CT socket contact names IB.1/IB.2 and IA.1/IA.2 are synthetic unique identifiers for library connectivity, not printed manufacturer polarity labels. No +/− polarity is inferred.

Nominal dimensions and an illustrative outline: corner radii, screw pitch and recesses are drawn to be recognisable, not to manufacturing CAD.</informations>
    <description>
        <polygon closed="true" x1="-84" y1="-74" x2="84" y2="-74" x3="84" y3="45.88" x4="55.88" y4="74" x5="-55.88" y5="74" x6="-84" y6="45.88" antialias="true" style="line-style:normal;line-weight:normal;filling:HTMLWhiteWhiteSmoke;color:HTMLGrayDimGray" />
        <rect x="-60" y="-70" width="120" height="22" rx="2" ry="2" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayGray;color:HTMLGrayDimGray" />
        <circle x="-57" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="-55.4" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="-52.1" y1="-58.09" x2="-47.9" y2="-59.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="-50.91" y1="-61.1" x2="-49.09" y2="-56.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="-50" y1="-80" x2="-50" y2="-74" 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="-69" x2="-40" y2="-49" 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="-37" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="-35.4" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="-32.1" y1="-58.09" x2="-27.9" y2="-59.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="-30.91" y1="-61.1" x2="-29.09" y2="-56.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="-30" y1="-80" x2="-30" y2="-74" 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="-69" x2="-20" y2="-49" 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="-24" y="-67" width="18" height="16" rx="1" ry="1" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayDarkSlateGray;color:HTMLGraySilver" />
        <circle x="-21.8" y="-60.8" diameter="3.6" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayBlack;color:HTMLGraySilver" />
        <circle x="-11.8" y="-60.8" diameter="3.6" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayBlack;color:HTMLGraySilver" />
        <line x1="-20" y1="-80" x2="-20" y2="-74" 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="-10" y1="-80" x2="-10" y2="-74" 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="0" y1="-69" x2="0" y2="-49" 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="-4" y="-67" width="18" height="16" rx="1" ry="1" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayDarkSlateGray;color:HTMLGraySilver" />
        <circle x="-1.8" y="-60.8" diameter="3.6" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayBlack;color:HTMLGraySilver" />
        <circle x="8.2" y="-60.8" diameter="3.6" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayBlack;color:HTMLGraySilver" />
        <line x1="0" y1="-80" x2="0" y2="-74" 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="10" y1="-80" x2="10" y2="-74" 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="-69" x2="20" y2="-49" 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="23" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="24.6" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="27.9" y1="-58.09" x2="32.1" y2="-59.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="29.09" y1="-61.1" x2="30.91" y2="-56.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="30" y1="-80" x2="30" y2="-74" 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="-69" x2="40" y2="-49" 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="43" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="44.6" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="47.9" y1="-58.09" x2="52.1" y2="-59.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="49.09" y1="-61.1" x2="50.91" y2="-56.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="50" y1="-80" x2="50" y2="-74" 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="37.892" diameter="1.176" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayDimGray;color:HTMLGrayDimGray" />
        <arc x="-8.82" y="36.38" 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="34.91" 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="33.44" 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="37.031" x2="1.89" y2="39.929" x3="0" y3="41.63" x4="0" y4="35.33" x5="1.89" y5="37.031" x6="-1.89" y6="39.929" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <polygon closed="true" x1="9.8117" y1="40.265" x2="6.72" y2="42.05" x3="3.6283" y3="40.265" x4="3.6283" y4="36.695" x5="6.72" y5="34.91" x6="9.8117" y6="36.695" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <polygon closed="false" x1="5.2206" y1="36.9806" x2="8.2194" y2="36.9806" x3="5.2206" y3="39.9794" x4="8.2194" y4="39.9794" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <rect x="14.7275" y="56.1" width="27.7324" height="9.36" rx="4.68" ry="4.68" antialias="true" style="line-style:normal;line-weight:thin;filling:none;color:HTMLGrayDimGray" />
        <text x="-53.3057" y="-36" text="O" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="-31.1807" y="-36" text="I" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="-19.0156" y="-36" text="IB" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="0.9844" y="-36" text="IA" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="27.6367" y="-36" text="L" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="46.9307" y="-36" text="N" rotation="0" color="#111111" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="-21.6611" y="-5.92" text="EM Gen4" rotation="0" color="#111111" font="Liberation Sans,7.6,-1,5,75,0,0,0,0,0" />
        <text x="-32.6445" y="11.84" text="110-240 V, 50/60 Hz" rotation="0" color="#49596a" font="Liberation Sans,5.4,-1,5,50,0,0,0,0,0" />
        <text x="-5.2402" y="22.84" text="2 A" rotation="0" color="#49596a" font="Liberation Sans,5.4,-1,5,50,0,0,0,0,0" />
        <text x="-42.46" y="63.64" text="Shelly" rotation="0" color="#111111" font="Liberation Sans,13,-1,5,75,0,0,0,0,0" />
        <text x="19.7275" y="62.34" text="Gen4" rotation="0" color="#111111" font="Liberation Sans,5.46,-1,5,50,0,0,0,0,0" />
        <text x="-30.2402" y="89" text="42 × 37 × 16 mm" rotation="0" color="#5b6b7a" font="Liberation Sans,6,-1,5,50,0,0,0,0,0" />
        <dynamic_text x="92" y="-74" 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="{44bbe518-309b-5d66-b812-b1ca433ca06d}">
            <text />
            <info_name>label</info_name>
        </dynamic_text>
        <text x="-86" y="102" text="MAC:" rotation="0" color="#5b6b7a" font="Liberation Sans,6,-1,5,50,0,0,0,0,0" />
        <dynamic_text x="-60" y="94" 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="{7ac89e7c-6bf6-5d45-930b-894d2d111de7}">
            <text />
            <info_name>auxiliary1</info_name>
        </dynamic_text>
        <text x="-86" y="115" text="IP:" rotation="0" color="#5b6b7a" font="Liberation Sans,6,-1,5,50,0,0,0,0,0" />
        <dynamic_text x="-60" y="107" 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="{a6d030f0-26d6-5e1c-a7a0-390054285619}">
            <text />
            <info_name>auxiliary2</info_name>
        </dynamic_text>
        <terminal x="-50" y="-80" name="O" orientation="n" type="Generic" uuid="{1fe203ac-6ef7-53b2-aae4-a49899269c5a}" />
        <terminal x="-30" y="-80" name="I" orientation="n" type="Generic" uuid="{04a45b88-0a4f-5d2a-9c8b-03d6c47ca3e0}" />
        <terminal x="-20" y="-80" name="IB.1" orientation="n" type="Generic" uuid="{1dc81c65-d7da-5750-9c32-a33fbc6b20bf}" />
        <terminal x="-10" y="-80" name="IB.2" orientation="n" type="Generic" uuid="{8f15e9bd-22f8-537a-aa4e-70fd79a50582}" />
        <terminal x="0" y="-80" name="IA.1" orientation="n" type="Generic" uuid="{2b7ef228-bf97-550f-851e-49d754ac2a14}" />
        <terminal x="10" y="-80" name="IA.2" orientation="n" type="Generic" uuid="{844d9cc3-a082-5a9f-b020-763aad0129db}" />
        <terminal x="30" y="-80" name="L" orientation="n" type="Generic" uuid="{9acfc5be-543e-57ed-9ffa-f7ffe15d9f2b}" />
        <terminal x="50" y="-80" name="N" orientation="n" type="Generic" uuid="{69aa8f3c-45cc-5bbd-b920-45fe345a65c2}" />
    </description>
</definition>
