Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #3312

Re: EG-PMS2-LAN - Ethernet controlled power strip - works in Linux

From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups comp.os.linux.hardware
Subject Re: EG-PMS2-LAN - Ethernet controlled power strip - works in Linux
Date 2018-02-22 15:09 +0100
Message-ID <miv2me-eng.ln1@Telcontar.valinor> (permalink)
References <slrnp8p3aa.630.wzab@wzab.nasz.dom> <p6k0n1$tha$1@dont-email.me> <be52ec99-3305-49af-91d5-ed9d156bbc86@googlegroups.com>

Show all headers | View raw


On 2018-02-22 13:26, wzab01@gmail.com wrote:
> W dniu środa, 21 lutego 2018 15:45:55 UTC+1 użytkownik Joe Beanfish napisał:
> 
>> The one you mention says it has a web interface. So all you need
>> is a browser. You can probably script access to that interface using
>> curl or whathaveyou. It claims to also provide an SDK, but that's
>> probably Windows based.
>>
> 
> Yes, but I wanted to control it from the Python script, not by hand from the browser!
> Thats why the unofficial "egctl" software was essential for me.

I have purchased one, should arrive today.

What I want to do is, from a Linux script, order the device to power off
a socket for, say, 5 seconds (the one powering the router), then return
to power it up again, automatically without another order from the
script (the router been down impedes any further order).

All local without using Internet at all (which may be down in fact).

If that turns to be impossible, I'll connect a hardware timer to one
socket to achieve that purpose.

-- 
Cheers, Carlos.

Back to comp.os.linux.hardware | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

EG-PMS2-LAN - Ethernet controlled power strip - works in Linux Wojciech Zabołotny <wzab@wzab.nasz.dom> - 2018-02-20 21:04 +0000
  Re: EG-PMS2-LAN - Ethernet controlled power strip - works in Linux "Carlos E.R." <robin_listas@es.invalid> - 2018-02-21 13:03 +0100
    Re: EG-PMS2-LAN - Ethernet controlled power strip - works in Linux scott@alfter.diespammersdie.us (Scott Alfter) - 2018-02-21 19:46 +0000
      Re: EG-PMS2-LAN - Ethernet controlled power strip - works in Linux "Carlos E.R." <robin_listas@es.invalid> - 2018-02-22 01:13 +0100
  Re: EG-PMS2-LAN - Ethernet controlled power strip - works in Linux Joe Beanfish <joebeanfish@nospam.duh> - 2018-02-21 14:45 +0000
    Re: EG-PMS2-LAN - Ethernet controlled power strip - works in Linux "Carlos E.R." <robin_listas@es.invalid> - 2018-02-22 01:21 +0100
    Re: EG-PMS2-LAN - Ethernet controlled power strip - works in Linux wzab01@gmail.com - 2018-02-22 04:26 -0800
      Re: EG-PMS2-LAN - Ethernet controlled power strip - works in Linux "Carlos E.R." <robin_listas@es.invalid> - 2018-02-22 15:09 +0100

csiph-web