PepperDash.Essentials.Plugin.ApcPdu 2.0.0-use-ssh-net-4-series.1

This is a prerelease version of PepperDash.Essentials.Plugin.ApcPdu.
dotnet add package PepperDash.Essentials.Plugin.ApcPdu --version 2.0.0-use-ssh-net-4-series.1
NuGet\Install-Package PepperDash.Essentials.Plugin.ApcPdu -Version 2.0.0-use-ssh-net-4-series.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PepperDash.Essentials.Plugin.ApcPdu" Version="2.0.0-use-ssh-net-4-series.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PepperDash.Essentials.Plugin.ApcPdu --version 2.0.0-use-ssh-net-4-series.1
#r "nuget: PepperDash.Essentials.Plugin.ApcPdu, 2.0.0-use-ssh-net-4-series.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PepperDash.Essentials.Plugin.ApcPdu as a Cake Addin
#addin nuget:?package=PepperDash.Essentials.Plugin.ApcPdu&version=2.0.0-use-ssh-net-4-series.1&prerelease

// Install PepperDash.Essentials.Plugin.ApcPdu as a Cake Tool
#tool nuget:?package=PepperDash.Essentials.Plugin.ApcPdu&version=2.0.0-use-ssh-net-4-series.1&prerelease

PepperDash Apc Plugin

This Essentials plugin provides outlet control for Apc Type Power devices.

Types

  1. Ap89xx

Join Map

Digitals

Join To Simpl From Simpl
1 Device Online -
2-50 Reserved For Future Reserved For Future
51-100 Power On Feedback Power On
100-151 - Power Off
151-200 - Power Toggle

Analogs

Join To Simpl From Simpl
1 - -
2-50 - -
51-100 - -
100-151 - -
151-200 - -

Serials

Join To Simpl From Simpl
1 Device Name -
2-50 - -
51-100 Outlet Name -
100-151 - -
151-200 - -

Join Details


  1. Outlet Name is defined by the Name property in config, and is not necesarily what will be in the APC software; and the APC software requires outlet names to no contain spaces or characters.

Config Example

{
    "key": "PowerSupply01",
    "uid": 74,
    "name": "PowerSupply01",
    "type": "Ap89xx",
    "group": "power",
    "properties": {
        "control": {
            "method": "ssh",
            "tcpSshProperties": {
                "address": "0.0.0.0",
                "port": 22,
                "autoReconnect": true,
                "AutoReconnectIntervalMs": 10000,
                "username": "apc",
                "password": "apc"
            }
        },
        "outlets":
        {
            "outlet01" : {
                "name": "My First Outlet",
                "outletIndex": 1,
                "delayOn": 30,
                "delayOff": 2
            },
            "outlet02" : {
                "name": "Another Awesome Outlet",
                "outletIndex": 4,
                "delayOn": 30,
                "delayOff": 2
            }
        }
    }
}

Config Details


Properties:

"outlets"
  • Dictionary that defines the outlets to be controlled
  • "key" - defines and sets the name of the outlet in the APC software. This value must be unique and contain no spaces or specials charaters
  • "name" - defines the name that will be sent to the bridge for a UI friendly name. If this value is not set it will be the key
  • "outletIndex" - outletNumber to be controlled
  • "delayOn" - NOT YET IMPLEMENTED
  • "delayOff" - NOT YET IMPLEMENTED

Planned Updates

  1. Create a custom StatusMonitor to get more detailed infomation
  2. Add ability to set on/off delays by outlet
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-use-ssh-net-4-series.1 117 12/27/2023
1.2.4 127 2/21/2024
1.2.4-alpha-3 124 12/5/2023
1.2.3 161 5/31/2023