#Switch for connecting/disconnecting USB *data*, not only power. Does such a thing exist?

15 messages · Page 1 of 1 (latest)

little grove
#

I want to be able to connect and disconnect the USB connection to my 3D printer alongside automating the main power, but I can't seem to find any such product that achieves this? I'm in the UK.

fossil lintel
#

How about combining an AC powered hub with a smart plug?

#

Or one of those hubs that has individual power switches and a switchbot

onyx ember
#

Can you give us more info on what you are trying to achieve i.e. why this needs to happen?

little grove
# onyx ember Can you give us more info on what you are trying to achieve i.e. why this needs ...

If I just switch the power off (even with the machine's own switch - all that does it cut power too), then the control board continues getting a little power through the USB serial connection from my server, and weakly running the screen. In the past I've had strange behaviour when I've then powered it up again to print; so now I always manually remove the USB wire before I power down, and wait for the board to finish booting before plugging back in again.

little grove
onyx ember
#

Does the printer need the power from the USB cable I wonder. If you went the other way and created a data only USB cable without 5v lines 🤔

#

Don't do this unless you know it's safe 🙂

little grove
#

I have seen that as a suggestion somewhere before; but when I tried it back then it didn't seem to work. I don't really remember why.

finite sable
#

These hubs actually turn the ports completely off when used with the tool. You may even have a compatible one already.

little grove
#

Those look promising, thanks!

fossil lintel
little grove
#

As an update to this, uhubctl is great and doing exactly what I need. I found one of the listed hubs on eBay, and with the right permissions I can fire the command through SSH from within the container on the HAOS VM.
Just working on getting the automation going with shell commands.