#UGREEN 10Gbps usb switch

5 messages · Page 1 of 1 (latest)

broken dust
#

Very easy mod to control the UGREEN usb switches with EspHome.

  1. Take the enclosure apart (see images)
  2. Bridge the SMD pads on the pcb near the USB MINI-B connector (blue line on the photo)
  3. Flash an ESP32-C3 board (see photo) with the following in the config:
  - platform: gpio
    pin:
      number: GPIO18
      mode: OUTPUT_OPEN_DRAIN
      inverted: true
    id: usb_switch

button:
  - platform: output
    name: "Toggle USB Source"
    output: usb_switch
    duration: 100ms
    icon: "mdi:swap-horizontal"

status_led:
  pin:
    number: GPIO8
    inverted: true```

4. Connect the two with a USB Type-C to USB MINI-B cable

That’s it ✨
wild heron
#

I dont get ... what exactly can you control like this?

trail mulch
#

A USB device that is shared between multiple computers. This lets you pick which computer gets it.

forest spear
#

That's actually really cool!

bold kindle
#

Oh cool, like a kvm switch controlled by esphome