Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vmm9rr$3c0rv$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vmm9rr$3c0rv$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: druck <news@druck.org.uk>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: USB controlled mains switch
Date: Mon, 20 Jan 2025 19:57:47 +0000
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <vmm9rr$3c0rv$1@dont-email.me>
References: <TjgqpoLGRDjnFwvW@ku.gro.lloiff>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 20 Jan 2025 20:57:47 +0100 (CET)
Injection-Info: dont-email.me; posting-host="9b1c196710e77b9619d3d83d420cca4e";
	logging-data="3539839"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/q1rh/og7zP4acZsnSCmbk"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TuNdkRTTOHDx5+ZAY/hcNunwMXU=
Content-Language: en-GB
In-Reply-To: <TjgqpoLGRDjnFwvW@ku.gro.lloiff>

On 18/01/2025 23:07, Adrian wrote:
> I'm looking for a USB controlled mains switch (230V AC) that I can 
> connect to a PI to turn a mains power supply on and off.

What you want is a mains rated GPIO compatible relay card. All good Pi 
stockists carry them, and they are available in any thing from a single 
relay single pole, up to 4 or more dual pole units. You'll want to get a 
small electric junction box to put the relay and the spliced cable into.

---druck