[tbot] [Knowledge sharing] Power strip IP device
Lukasz Majewski
lukma at denx.de
Thu Feb 7 07:22:31 UTC 2019
Dear All,
Recently I was forced to poke around for a good quality power strip
device (my previous one is EOL).
The one, which I've found (and tested):
NETIO 4ALL:
https://www.antratek.com/netio4all-remote-controlled-power-sockets-with-metering?___SID=U
NETIO 4ALL setup:
=================
NETIO 4ALL -> Update firmware (up to 3.1.0) for the IP power strip
adjust DHCP to have static IP based on MAC address
sudo apt-get install snmp-mibs-downloader snmp-tools
Read MIB properties from device:
1. Log into device via web browser interface - 192.168.2.78
(admin/admin default password)
2. Tab M2M API Protocols -> SNMP -> enable, SNMP version
3, set username and password, mark "Allow READ-WRITE access" and
"Download MIB file".
3. Read properties from the device:
snmpwalk -v3 -m ~/Downloads/mib.txt -l authPriv -u lukma -a SHA -A
"xxx" -x AES -X "xxx" 192.168.2.78 NetioOutputEntry
4. Control output from command line
snmpset -v3 -m ~/Downloads/mib.txt -l authPriv -u lukma -a SHA -A
"xxx" -x AES -X "xxx" 192.168.2.78 netioOutputAction.3 i 1
where:
netioOutputAction.{1234} is the port number and "i 1" is the state
(1-on, 0-off)
Hope that this will be helpful.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/tbot/attachments/20190207/5f0019da/attachment.sig>
More information about the tbot
mailing list