Sujet : Re: smart plugs???
De : usenet.16 (at) *nospam* scottsonline.org.uk.invalid (Mike Scott)
Groupes : comp.os.linux.misc alt.os.linux.mintDate : 18. Jan 2025, 10:28:36
Autres entêtes
Organisation : Scott family
Message-ID : <vmfs84$n32g$2@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 15/01/2025 17:14, Andy Burns wrote:
Mike Scott wrote:
Hi all. I'm looking for a so-called "smart plug" to control from linux.
>
I've just had a bad experience with tp-link's offering, which requires using a phone to set it up - and enabling in-app purchases to do so, how unnecessary! My own phone and tablet are too out of date for their software to install, and I'm not about to change settings on anyone else's. Unfortunately, PyP100 needs the device to be already set up :-{
>
>
So - is there a smart plug around that can be set up and controlled from linux without all the garbage the makers seem to want to inflict?
If you use a Sonoff device (may be the DIY version, or maybe one you've replaced the factory firmware) there are python utils to control them
<https://sonoff.tech/product/diy-smart-switches/basicr2/>
<https://gist.github.com/Derkades/>
I've had a look at the online manual for the UK version
https://sonoff.tech/wp-content/uploads/2023/11/User-Manual_S60TPGEN-V1.0.pdfIt raises a couple of questions... it says a 13A breaker needs to be installed to protect the device. AFAIA all UK kit must have its own fuse to protect itself and its own power cord; the ring main typically just has a 30A breaker to protect the house wiring. It does sound as if it's not UK standards compliant, which is concerning.
Also, the setup procedure still seems to need their own app to get things going. Again, no doubt running only on the latest and greatest smart phone ;-{
-- Mike ScottHarlow, England