GermanyUSACanadaUKFranceEspanaItaliaNederlandsIndiaJapanChina
Register | Login 

EnerGenie EG-PM2-LAN (Programmable, 6x Outlet Socket, LAN)

I/O Control, EnerGenie, LAN, Multiple Socket, Power Supply

EnerGenie EG-PM2-LAN (Programmable, 6x Outlet Socket, LAN)
Linux compatibility: Only the Linux compatibility is rated on this page, not the general quality of the product. If you use this product with Linux, please rate it and share your experience in the comment area of this page (bottom) to support other Linux users.
2 votes, average: 4.0 out of 52 votes, average: 4.0 out of 52 votes, average: 4.0 out of 52 votes, average: 4.0 out of 52 votes, average: 4.0 out of 5
  ( 4 with 2 ratings)

Price: $ 194.00 (on stock)
(without shipping costs) Prices provided by Amazon do not include shipping costs that might be due depending on product and Amazon Marketplace supplier.

 Buy from Amazon.com

Category:

Price trend
EnerGenie EG-PM2-LAN 
-
Minimum: $ 183.00 
Maximum: $ 298.00  
Updated: 15/07/2016 21:08

Review of Linux Compatibility

The EnerGenie EG-PM2-LAN is a programmable 6-times multiple socket outlet, which can be accessed via Ethernet. In contrast to the USB version there is no dedicated tool available for this LAN version. However, it is possible to send commands to the Web interface, which is embedded in the EG-PM2-LAN. In the following it is described how these commands can be sent via “curl”.

First, the web server needs a login with a password (“PASSWORD” is used in the following)

curl -sd 'pw=PASSWORD' http://EG-PM2-LAN-IP-Adress | fgrep -q Status

The return value should be “true”. As one can see, the password is sent unencrypted, which shows the low safety measures of the EG-PM2-LAN and could be a drawback for certain scenarios.

The integrated web server does not support sessions. Instead, after transmitting the password each process from the same IP address of this login can access the EG-PM2-LAN. Furthermore, all other IPs are blocked, while this login is still active. After some minutes of idling the login times out and a new login is necessary to access the web frontend.

Now, it is possible to switch via shell command one of the sockets (X = 1 … 4) on (Y=1) or off (Y=0). E.g., if socket 3 should be powered on, this is done by the command:

curl -sd 'cte3=1' http://EG-PM2-LAN-IP-Adresse | fgrep -q Status

or in general by

curl -sd 'cteX=Y' http://EG-PM2-LAN-IP-Adresse | fgrep -q Status

The logout is achieved by:

curl -s http://EG-PM2-LAN-IP-Adresse | fgrep -q password

Hardware specification: http://www.gembird.be/item.aspx?id=6668


Similar Linux Hardware

scroll left scroll right

 Comments

Please use the comment section to submit corrections to the article as well as relevant excerpts of lspci, lsusb, lshw, dmesg e.t.c. Furthermore, use the section for the exchange of experiences with this hardware component or search for configuration help from other owners of this hardware.
 

Email address will not be published.

Rate Linux compatibility


Use the following HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Allowed file types: txt, jpg, png, gif, maximum file size: 2MB.