Giter Site home page Giter Site logo

suranaprashant / cyberpower_pdu_snmp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bjackman/cyberpower_pdu_snmp

0.0 0.0 0.0 10 KB

Interact with CyberPower PDUs over SNMP without installing any system libraries

License: Apache License 2.0

Python 100.00%

cyberpower_pdu_snmp's Introduction

Note: This project is not affiliated with Cyber Power Systems (USA), Inc. but is just provided as a tool to interact with their products.

This is a "library" to interace with CyberPower networked PDUs in pure Python without having to install anything external (system libraries, MIBs). To be honest it's really just a wrapper around a single pysnmp call, the rest is just comments.

Tested against the PDU15SWHVIEC8FNET. I don't understand SNMP well enough to know if this would be expected to work on other models. But hey, maybe.

Should support both Python 2 and 3.

Usage

Press the "select" button on your PDU for 3 seconds, it will show its IP address on the 7-segment displays.

Then CyberPowerPdu(ip_addr).set_outlet_on(1, True) will turn outlet 1 on.

cyberpower_pdu_snmp's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.