Skip to content

Latest commit

 

History

History
119 lines (90 loc) · 2.76 KB

File metadata and controls

119 lines (90 loc) · 2.76 KB

Admin - Lib - Administer Power Meter Unit (PMU)

Introduction

Enphase-API is an unofficial project providing an API wrapper and the documentation for Enphase®'s products and services.

More details on the project are available from the project’s homepage.

Request

The /admin/lib/admin_pmu_display.json endpoint supports the following:

Methods

Method Required Authorisation Level Description

GET

>= prov

Read a Power Meter Unit (PMU).

POST

>= prov

Add/Remove a Power Meter Unit (PMU).

As of recent Gateway software versions this request requires user authentication and authorisation, see Authentication.

Response

Root

Name Type Values Description

available_pmus

Array(Unknown)

Array of Unknown

Detected available Power Meter Unit (PMU) devices.

associated_pmus

Array(Unknown)

Array of Unknown

Currently added Power Meter Unit (PMU) devices.

Examples

Read a Power Meter Unit (PMU)

GET /admin/lib/admin_pmu_display.json Response
{"available_pmus": [], "associated_pmus": []}

Add a Power Meter Unit (PMU)

POST /admin/lib/admin_pmu_display.json Request
fname=accept&ip_addresses=192.168.1.254
POST /admin/lib/admin_pmu_display.json Response
{"available_pmus": [], "associated_pmus": []}

Delete a Power Meter Unit (PMU)

POST /admin/lib/admin_pmu_display.json Request
fname=remove&ip_addresses=192.168.1.254
POST /admin/lib/admin_pmu_display.json Response
{"available_pmus": [], "associated_pmus": []}