Skip to content

Instantly share code, notes, and snippets.

@Finkregh
Last active April 19, 2025 21:07
Show Gist options
  • Save Finkregh/0f85b50a06dac0436103e26c4e7ae157 to your computer and use it in GitHub Desktop.
Save Finkregh/0f85b50a06dac0436103e26c4e7ae157 to your computer and use it in GitHub Desktop.

Revisions

  1. Finkregh revised this gist Apr 19, 2025. 1 changed file with 403 additions and 0 deletions.
    403 changes: 403 additions & 0 deletions wechselschalter-licht.svg
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
  2. Finkregh created this gist Apr 19, 2025.
    94 changes: 94 additions & 0 deletions wireviz-wechselschalter.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,94 @@
    ---
    # images from wikipedia, CC-0
    # <https://de.wikipedia.org/wiki/Liste_der_Schaltzeichen_(Elektrik/Elektronik)>

    title: "Verkabelung Wechselschalter"

    connectors:
    # Template connectors
    1NPE: &1npe
    pinlabels: ["GND", "L1", N]
    pincolors: [YEGN, BN, BU]
    show_pincount: false

    3NPE: &3npe
    pinlabels: ["GND", "L1", N, L2, L3]
    pincolors: [YEGN, BN, BU, BK, GY]
    show_pincount: false

    WandVerteilerDose-1: &wandverteilerdose1
    <<: *1npe
    type: Verteilerdose
    WandVerteilerDose-3: &wandverteilerdose3
    <<: *3npe
    type: Verteilerdose

    WechselSchalter:
    <<: *3npe
    image:
    src: resources/Symbol_change_over_switch.svg.png

    SchukoSteckdose:
    <<: *1npe
    type: Schuko
    subtype: female
    image:
    src: resources/Symbol_earthing_contact_plug_socket.svg.png
    caption: CEE 7/3
    HerdAnschluss:
    <<: *3npe
    type: 3/N/PE

    Lampe:
    <<: *1npe
    image:
    src: resources/IEC_60417_-_Ref-No_5115.svg.png
    height: 35

    # Individual connectors
    DoseStromquelle:
    <<: *wandverteilerdose1
    notes: "Stromquelle 🗲"

    cables:
    NYMJ-3-15: &nymj3
    type: "NYM-J"
    wirecount: 3
    length: 1
    gauge: 1.5 mm2
    colors: [YEGN, BN, BU]
    NYMJ-5-15: &nymj5
    <<: *nymj3
    type: "NYM-J"
    wirecount: 5
    gauge: 1.5 mm2
    colors: [YEGN, BN, BU, BK, GY]

    NYMJ-3-25:
    <<: *nymj3
    gauge: 2.5 mm2
    NYMJ-5-25:
    <<: *nymj5
    gauge: 2.5 mm2

    EinzelAder:
    <<: *nymj3
    wirecount: 1
    colors: [BN]

    connections:
    - - DoseStromquelle: [2]
    - EinzelAder.: [1]
    - WechselSchalter.SchalterEins: [2]

    - - DoseStromquelle: [1, 3]
    - NYMJ-5-15.KabelZwischenSchaltern: [1, 3]
    - Lampe.Lampe1: [1, 3]

    - - WechselSchalter.SchalterEins: [L2, L3]
    - NYMJ-5-15.KabelZwischenSchaltern: [4-5]
    - WechselSchalter.SchalterZwei: [L2, L3]

    - - Lampe.Lampe1: [2]
    - EinzelAder.: [1]
    - WechselSchalter.SchalterZwei: [2]