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 <vmg1ma$ofht$10@dont-email.me>
Deutsch   English   Français   Italiano  
<vmg1ma$ofht$10@dont-email.me>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: The Natural Philosopher <tnp@invalid.invalid>
Newsgroups: comp.os.linux.misc,alt.os.linux.mint
Subject: Re: smart plugs???
Date: Sat, 18 Jan 2025 11:01:30 +0000
Organization: A little, after lunch
Lines: 47
Message-ID: <vmg1ma$ofht$10@dont-email.me>
References: <vm8nvf$312bv$1@dont-email.me> <vmatqg$3gi7d$1@dont-email.me>
 <vmb1c7$3grs4$1@dont-email.me> <vme1k3$4c4v$2@dont-email.me>
 <vmf4m2$dal9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Jan 2025 12:01:30 +0100 (CET)
Injection-Info: dont-email.me; posting-host="edf12cc82be1478ca0a3ef223552910d";
	logging-data="802365"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX181exaNEmNsyBKKlVbQb+xj6pVNHJSlreY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:25IzjW/OQtlLTw4gVm9JwP5R1Uk=
Content-Language: en-GB
In-Reply-To: <vmf4m2$dal9$1@dont-email.me>
Bytes: 2712

On 18/01/2025 02:46, Paul wrote:
> On Fri, 1/17/2025 11:48 AM, Mike Scott wrote:
>> On 16/01/2025 13:25, Alan K. wrote:
>>>> If you're up to a bit of wiring, try a USB relay. E.g. Annadue Relay Module (try Amazon, 2 channel £10.62)
>>>> Interface: apt install usbrelay
>>>> usbrelay --debug for information
>>>>
>>>> 1, 2, 3, 8 channels available
>>>>
>>>>
>>> https://www.amazon.com/DSD-TECH-SH-UR01A-Controller-Computer/dp/B09PYML6Q7
>>> That's the coolest.  Damn! I wish I had that back when!   Of course Linux Mint and good computers etc weren't available when I was a huge DIYer and tinkered, but it really would have been fun.
>>
>>
>> Nice idea... but I'm looking at probably 3kW at 240V to run a heater.
>>
>> The power level is just a bit outside my comfort zone for home construction, especially for unattended operation.
>>
>> It's why I'm trying to find a commercial solution.
> 
> You can use a relay, to switch a relay.
>

No need., You can use a transistor to buffer a PIO output and drive a 
sensibly big relay directly

I sourced some 20A 250V relays from china that seem OK

JQX-15F-DC05V-A 4PIN

Is the magic keyword.

They take about a watt (200mA@5V) to drive them - beyond most PIO 
(16mA=80mW for the pico) but easily obtainable with a single transistor 
amplifier.

Strangely Europe doesn't make shit like this - you end up with massive 
contactors at a huge price instead.




-- 
“The urge to save humanity is almost always only a false face for the 
urge to rule it.”
– H. L. Mencken