I have a pump that is powered when plugged into the mains.
I have a Raspberry Pi 2 Model B running Raspbian Jessie.
- How can I switch this pump on/off via software running on the raspberry pi? (Ideally Java?)
- Is it possible to power this pump with multiple raspberry pi instead of using the mains?