# MikroTik hEX
# Converted from the punchdown catalog on 2026-11-10. Source of the data: vendor and netbox.
network: 1
imports:
  - ../../defaults/types.network.yaml
models:
  mikrotik/rb750gr3:
    name: hEX
    vendor: MikroTik
    role: router
    aliases: [ RB750Gr3 ]
    size: { width: 113, height: 28, depth: 89 }
    weight: 0.129
    power: { max: 10, inlets: 1 }
    x-assumed: [ power ports are on the rear ]
    ports:
      ether1: { type: 1000base-t, poe: passive-in, x-poe-type: passive-24v-2pair }
      ether2..5: { type: 1000base-t }
      dc: { type: dc-terminal, role: power, native: DC }
      usb1: { type: usb-a, side: rear, native: USB }
    x-family: ethernet-routers
    x-airflow: passive
    x-module-bays: 1
    faces:
      front:
        background: "#5fb3ad"
        padding: { x: 2, y: 2 }
        layout:
          row:
            gap: 0
            items:
              - column: { background: "#d9eceb", gap: 0.6, margin: { left: 3, right: 1.5 }, items: [ { label: { text: Power DC8-30V, width: 11, height: 4 } }, { dc: { label-position: none } } ] }
              - column:
                  gap: 1
                  margin: { right: 0.7 }
                  items:
                    - logo: { text: hEX, width: 8.4, height: 4.8 }
                    - label: { text: RES  PWR  USR, width: 17, height: 2.4 }
                    - row: { gap: 3, items: [ { button: { id: reset, width: 3.2, height: 3.2 } }, { indicator: { id: pwr, width: 3.6, height: 2.2 } }, { indicator: { id: usr, width: 3.4, height: 2.2 } } ] }
                    - row: { gap: 1, items: [ { label: { text: microSD, width: 7.6, height: 2.6 } }, { panel: { id: microsd, width: 10, height: 1.6, color: "#6b6b6b" } } ] }
              - column:
                  gap: 0.6
                  items:
                    - row: { gap: 0, background: "#8f8f8f", items: [ { ether1..5: { label-position: above } } ] }
                    - row: { gap: 0, items: [ { label: { text: PoE in, width: 14, height: 2.6 } }, { label: { text: LAN, width: 56, height: 2.6 } } ] }
      rear:
        background: "#f3ebe8"
        padding: { x: 2, y: 2 }
        layout:
          row:
            gap: 0
            items:
              # The printed MODE is 2 wider than the button, so the button keeps 1 either side.
              - button-square: { id: mode, width: 7.4, height: 13.6, margin: { left: 42.6, right: 3.6 }, caption: { text: MODE, gap: 1, text-style: { size: 2.17 } } }
              - usb1: { label-position: none }
              - grow
    source:
      url: https://mikrotik.com/product/RB750Gr3
      checked: 2026-11-11
      x-from: vendor and netbox
      x-faces: measured by hand from the NetBox photos on 2026-11-11 (docs/face-examples.md)
      x-netbox: mikrotik-hex
      x-reference-image: https://cdn.mikrotik.com/web-assets/rb_images/1405_hi_res.png
      x-netbox-elevation: [ front, rear ]
