python-dlipower
python-dlipower copied to clipboard
Python modules to manage Digital Loggers Web Power Switch
Fix a ChunkedEncodingException being raised while logging in
When a switch does not let the user have access to all ports, the switch can crash trying to access the port. If the port the user has access to...
Raise exception if needed.
No handlers could be found for logger "dlipower.dlipower" Traceback (most recent call last): File "test_wrapper.py", line 23, in pdu.off(i) File "/home/xtramgr/Dev/VirtualEnvs/AIT/local/lib/python2.7/site-packages/dlipower/dlipower.py", line 419, in off self.geturl(url='outlet?%d=OFF' % self.determine_outlet(outlet)) File "/home/xtramgr/Dev/VirtualEnvs/AIT/local/lib/python2.7/site-packages/dlipower/dlipower.py",...
I am running below script. First of all, I did not find how to turn on all outputs from PowerSwitch object so that is why I am iterating through all...
Hello Unless Allow legacy plaintext login methods is enabled on the switch, authentication fails when attempting to login when using the following call from python: dlipower.PowerSwitch(hostname=switch_hostname, userid=userid, password=password, use_https= use_https)...
I am trying to control the web socket switch from my python script - when running the script directly on the test system everything works fine as expected but when...
Use configured username instead of hardwired 'admin' user
New Python does not like quotes around the version definition