<?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="{83f1e6f5-55e1-565d-a2a5-3758ab73c496}" />
    <names>
        <name lang="en">Shelly 2PM Gen4 — mounting view</name>
        <name lang="lv">Shelly 2PM Gen4 — montāžas skats</name>
        <name lang="bg">Shelly 2PM Gen4 — монтажен изглед</name>
        <name lang="de">Shelly 2PM Gen4 — Einbauansicht</name>
        <name lang="fr">Shelly 2PM Gen4 — vue de montage</name>
    </names>
    <elementInformations>
        <elementInformation name="label" show="1" />
        <elementInformation name="designation" show="1">Shelly 2PM Gen4</elementInformation>
        <elementInformation name="manufacturer" show="1">Shelly Europe Ltd.</elementInformation>
        <elementInformation name="manufacturer_reference" show="1">S4SW-002P16EU</elementInformation>
        <elementInformation name="description" show="1">2 × relay + power metering. Two switched live outputs with power measurement, two switch inputs.</elementInformation>
        <elementInformation name="function" show="1">2 × relay + power metering</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 2PM Gen4 — mounting view.
Terminals, left to right as printed: O1 L L O2 S1 S2 N.

Official sources:
https://kb.shelly.cloud/knowledge-base/shelly-2pm-gen4
https://kb.shelly.cloud/__attachments/a_7538dbbce6e0f8f8834406858acd45920cc9e54f429d73d223aeb25994e59a9c/Shelly%202PM%20Gen4.jpg?cb=ab1fdbb8c8ea3cce8e11bd6a7b95217d
https://kb.shelly.cloud/__attachments/a_09695a5fad0f8c11394d0ffa66531c4d7340ab30736bee81b19a27bde96e5984/Plus-2PM-Gen3-internal-schematics.png?cb=4c5263ddadb03c751028683959fda18c
https://kb.shelly.cloud/__attachments/a_8abebfa9e85ec7067c80164a431707789654cb6df778b48ece974350599035f1/Shelly%202PM%20Gen4%20multilingual%20printed%20user%20and%20safety%20guide.pdf?cb=e91f79dbfa03943aa1c98701d7d8808f

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:HTMLGrayBlack;color:HTMLGrayDimGray" />
        <rect x="-70" y="-70" width="140" height="22" rx="2" ry="2" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayGray;color:HTMLGrayDimGray" />
        <circle x="-67" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="-65.4" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="-62.1" y1="-58.09" x2="-57.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="-60.91" y1="-61.1" x2="-59.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="-60" y1="-80" x2="-60" 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="-50" y1="-69" x2="-50" 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="-47" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="-45.4" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="-42.1" y1="-58.09" x2="-37.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="-40.91" y1="-61.1" x2="-39.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="-40" y1="-80" x2="-40" 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="-30" y1="-69" x2="-30" 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="-27" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="-25.4" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="-22.1" y1="-58.09" x2="-17.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="-20.91" y1="-61.1" x2="-19.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="-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="-69" x2="-10" 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="-7" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="-5.4" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="-2.1" y1="-58.09" x2="2.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="-0.91" y1="-61.1" x2="0.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="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="-69" x2="10" 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="13" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="14.6" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="17.9" y1="-58.09" x2="22.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="19.09" y1="-61.1" x2="20.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="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="30" y1="-69" x2="30" 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="33" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="34.6" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="37.9" y1="-58.09" x2="42.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="39.09" y1="-61.1" x2="40.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="40" y1="-80" x2="40" 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="50" y1="-69" x2="50" 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="53" y="-66" diameter="14" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGrayLightGray;color:HTMLGrayDimGray" />
        <circle x="54.6" y="-64.4" diameter="10.8" antialias="true" style="line-style:normal;line-weight:thin;filling:HTMLGraySilver;color:HTMLGrayGray" />
        <line x1="57.9" y1="-58.09" x2="62.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="59.09" y1="-61.1" x2="60.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="60" y1="-80" x2="60" 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:HTMLGraySilver;color:HTMLGraySilver" />
        <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:HTMLGraySilver" />
        <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:HTMLGraySilver" />
        <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:HTMLGraySilver" />
        <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:HTMLGraySilver" />
        <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:HTMLGraySilver" />
        <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:HTMLGraySilver" />
        <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:HTMLGraySilver" />
        <text x="-65.6689" y="-36" text="O1" rotation="0" color="#ffffff" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="-42.3633" y="-36" text="L" rotation="0" color="#ffffff" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="-22.3633" y="-36" text="L" rotation="0" color="#ffffff" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="-5.6689" y="-36" text="O2" rotation="0" color="#ffffff" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="14.8018" y="-36" text="S1" rotation="0" color="#ffffff" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="34.8018" y="-36" text="S2" rotation="0" color="#ffffff" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="56.9307" y="-36" text="N" rotation="0" color="#ffffff" font="Liberation Sans,6.4,-1,5,50,0,0,0,0,0" />
        <text x="-24.4766" y="-5.92" text="2PM Gen4" rotation="0" color="#ffffff" font="Liberation Sans,7.6,-1,5,75,0,0,0,0,0" />
        <text x="-35.4941" y="11.84" text="110-240 V~ · 24 V DC" rotation="0" color="#d8e2ec" 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="#ffffff" font="Liberation Sans,13,-1,5,75,0,0,0,0,0" />
        <text x="19.7275" y="62.34" text="Gen4" rotation="0" color="#ffffff" 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="{e242598d-1c4b-561e-9371-c2411e9edbf7}">
            <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="{97c73a32-ed53-5fb2-819f-b4566b4de638}">
            <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="{ca46d553-a4dc-56d1-b091-729ae2e9cffe}">
            <text />
            <info_name>auxiliary2</info_name>
        </dynamic_text>
        <terminal x="-60" y="-80" name="O1" orientation="n" type="Generic" uuid="{3a568696-e99e-5f88-b1d0-5b297ecc4c4a}" />
        <terminal x="-40" y="-80" name="L" orientation="n" type="Generic" uuid="{3795919f-9225-509b-bfc6-f9ee8e2bd22b}" />
        <terminal x="-20" y="-80" name="L" orientation="n" type="Generic" uuid="{f239cc44-c29e-504e-8008-48de35318be8}" />
        <terminal x="0" y="-80" name="O2" orientation="n" type="Generic" uuid="{85b76cc8-692f-5d33-bd4e-f09edbf75a0c}" />
        <terminal x="20" y="-80" name="S1" orientation="n" type="Generic" uuid="{3887a00b-0cd8-553f-8a2b-2739184896d6}" />
        <terminal x="40" y="-80" name="S2" orientation="n" type="Generic" uuid="{9550ce87-da7e-5ac9-9877-8bf469bbd379}" />
        <terminal x="60" y="-80" name="N" orientation="n" type="Generic" uuid="{a8449039-4cd2-5cd7-9d03-b50087ad0549}" />
    </description>
</definition>
