I was looking for a cheap Ethernet controlled power strip compatible
with Linux, that I could control not only from web GUI, but also from my software.
I have found EG-PMS2-LAN: http://gembird.nl/item.aspx?id=7416
at reasonable price.
The manufacturer offers only Windows software, but it can be controlled
from Linux, using the egctl software https://github.com/unterwulf/egctl written by Vitaly Sinilin (thanks a lot!)
The software is open source, so everybody can easily integrat it with programms written in other languages (Python, Lua,...).
It is also possible to extract the communication protocol and implement
it in another language.
I was looking for a cheap Ethernet controlled power strip compatible
with Linux, that I could control not only from web GUI, but also from my software.
I have found EG-PMS2-LAN: http://gembird.nl/item.aspx?id=7416
at reasonable price.
The manufacturer offers only Windows software, but it can be controlled
from Linux, using the egctl software https://github.com/unterwulf/egctl written by Vitaly Sinilin (thanks a lot!)
The software is open source, so everybody can easily integrat it with programms written in other languages (Python, Lua,...).
It is also possible to extract the communication protocol and implement
it in another language.
On 2018-02-20 22:04, Wojciech Zabołotny wrote:
I was looking for a cheap Ethernet controlled power strip compatible
with Linux, that I could control not only from web GUI, but also from my
software.
I have found EG-PMS2-LAN: http://gembird.nl/item.aspx?id=7416
at reasonable price.
I was seeking for a similar thing.
My use case is that my router locks hard randomly. Several times a day,
or once per month. So I could ping it from a computer, and if no
response, then power cycle it.
The question then is if I can pulse the power off, not permanently. That
it automatically returns to power on state, or my router will never
power on again.
On Tue, 20 Feb 2018 21:04:10 +0000, Wojciech Zabołotny wrote:
I was looking for a cheap Ethernet controlled power strip compatible
with Linux, that I could control not only from web GUI, but also from my
software.
I have found EG-PMS2-LAN: http://gembird.nl/item.aspx?id=7416
at reasonable price.
The manufacturer offers only Windows software, but it can be controlled
from Linux, using the egctl software https://github.com/unterwulf/egctl
written by Vitaly Sinilin (thanks a lot!)
The software is open source, so everybody can easily integrat it with
programms written in other languages (Python, Lua,...).
It is also possible to extract the communication protocol and implement
it in another language.
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.
These may be overkill for you situation, but anyhow...
http://www.digital-loggers.com/lpc.html http://www.wti.com/c-38-basic-switched-pdu-horizontal.aspx
Also, a web search for
remote power switch
comes up with more options. These things tend to be managed by
web interfaces so you can usually script them.
In article <gp30me-vbo.ln1@Telcontar.valinor>,
Carlos E.R. <robin_listas@es.invalid> wrote:
On 2018-02-20 22:04, Wojciech Zabołotny wrote:
I was looking for a cheap Ethernet controlled power strip compatible
with Linux, that I could control not only from web GUI, but also from my >>> software.
I have found EG-PMS2-LAN: http://gembird.nl/item.aspx?id=7416
at reasonable price.
I was seeking for a similar thing.
My use case is that my router locks hard randomly. Several times a day,
or once per month. So I could ping it from a computer, and if no
response, then power cycle it.
The question then is if I can pulse the power off, not permanently. That
it automatically returns to power on state, or my router will never
power on again.
I went with a RemoteBoot:
https://the-perf-shop.myshopify.com/products/remoteboot-preorder
(The link says "preorder" because it originated on Kickstarter, but it's already in small-scale production.)
It goes inside your computer's case, connected inline on the power- and reset-switch leads, and draws power from a USB header or other always-on 5V source. It uses WiFi instead of Ethernet, but you can log into it to turn your computer on and off and hit Reset. You can also have it monitor the activity and hard-drive LED outputs to trigger a reset if no activity is
seen on them after some interval. $30, and since it doesn't handle line power by itself, it works anywhere.
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.
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 71:15:50 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,096 |
Messages: | 5,275,626 |