http://qs1969.pair.com?node_id=11124676


in reply to Controlling USB on Raspberry Pi

Bod:

Use the HiPi distribution from CPAN. The documentation is at raspberry.znix.com. Use a GPIO pin to control the relay and time of day and a light sensor to trigger an open/close cycle.

Scroll down in the Cool Uses For Perl section to see several HiPi examples that I have recently posted.

James

There's never enough time to do it right, but always enough time to do it over...

Replies are listed 'Best First'.
Re^2: Controlling USB on Raspberry Pi
by Bod (Parson) on Dec 05, 2020 at 01:22 UTC

    Thanks James,
    Given that the HiPi documentation is a bit lacking, I'm sure I will have plenty more questions once my Pi and required adaptors have arrived...

      Ask away. The docs at the znix site are actually pretty good. Just a little short on examples.

      James

      There's never enough time to do it right, but always enough time to do it over...