Skip to main content

Control digital loggers web power switch

Project description

DESCRIPTION
This is a python module and a script to mange the
Digital Loggers Web Power switch.

The module provides a python class named
powerswitch that allows managing the web power
switch from python programs.
When run as a script this acts as a command
line utility to manage the DLI Power switch.

SUPPORTED DEVICES
This module has been tested against the following
Digital Loggers Power network power switches:
WebPowerSwitch II
WebPowerSwitch III
WebPowerSwitch IV
WebPowerSwitch V
Ethernet Power Controller III

COMMAND LINE USAGE
$ dlipower.py --help
Usage: dlipower.py [options] [status|on|off|cycle|get_outlet_name] [arg]

Options:
-h, --help show this help message and exit
--hostname=HOSTNAME hostname/ip of the power switch (default none)
--timeout=TIMEOUT Timeout for value for power switch communication
(default 30 seconds)
--cycletime=CYCLETIME
Delay between off/on states for power cycle
operations (default 1.5 seconds)
--user=USER userid to connect with (default admin)
--password=PASSWORD password (default 4321)
--save_settings Save the settings to the configuration file so they
don't have to be passed on the command line.

arg Can be the outlet number or name of the power outlet to operate on.

Author: Dwight Hubbard

Project details


Release history Release notifications

History Node

0.7.165

History Node

0.7.152

History Node

0.7.125

History Node

0.7.117

History Node

0.7.114

History Node

0.7.108

History Node

0.7.106

History Node

0.2.126

History Node

0.2.117

History Node

0.2.116

History Node

0.2.114

History Node

0.2.75

History Node

0.2.74

History Node

0.2.40

History Node

0.2.33

History Node

0.2.32

This version
History Node

0.2.23

History Node

0.2.22

History Node

0.2.20

History Node

0.2.19

History Node

0.2.18

History Node

0.2.17

History Node

0.2.16

History Node

0.2.15

History Node

0.2.14

History Node

0.2.13

History Node

0.2.12

History Node

0.2.11

History Node

0.2.10

History Node

0.2.9

History Node

0.2.8

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.9

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dlipower-0.2.23.tar.gz (8.5 kB) Copy SHA256 hash SHA256 Source None Jul 31, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page