Giter Club home page Giter Club logo

homebridge-raritan-pdu's Introduction

homebridge-raritan-pdu

A Raritan PX-5475 PDU plugin for Homebridge. This creates a single PDU accessory with multiple outlet services and a light meter service to report on current utilization in Watts.

This code is heavily based on the work of invliD's homebridge-digipower-pdu accessory.

Installation

Run these commands:

% sudo npm install -g homebridge
% sudo npm install -g homebridge-raritan-pdu

NB: If you install homebridge like this:

sudo npm install -g --unsafe-perm homebridge

Then all subsequent installations must be like this:

sudo npm install -g --unsafe-perm homebridge-raritan-pdu

Configuration

Example accessory config (needs to be added to the homebridge config.json): ...

	"accessories": [
    	{
        "name": "Lab PDU",
        "ip": "192.168.1.70",
        "snmp_community": "RW",
        "outlet_count": 24,
        "accessory": "Raritan PDU",
        "manufacturer": "Raritan-PDU",
        "model": "PX-5475",
        "serial": "PL70750024",
        "firmware": "01.03.12.9123"
    	}
  	]

...

Config Explanation:

Field Description
accessory (required) Must always be "Raritan PDU".
name (required) The name you want to use for control of the PDU accessory.
ip_address (required) The internal ip address of your PDU.
snmp_community (required) The Read/Write community string for your PDU.
outlet_count (required) The number of outlets in your PDU. This is an Integer, so no quotes around this number.
manufacturer (optional) This shows up in the homekit accessory Characteristics.
model (optional) This shows up in the homekit accessory Characteristics.
serial (optional) This shows up in the homekit accessory Characteristics.
firmware (optional) This shows up in the homekit accessory Characteristics.

Supported Agents

The only tested Raritan PDU model for this plugin is the one that I have in my lab, the PX-5475. This is accomplished using the PX-PDU-MIB.

homebridge-raritan-pdu's People

Contributors

ecoen66 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

clintonmarshall

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.