Matthew1471 / Enphase-API

Enphase-API is an unofficial project providing an API wrapper (including local/LAN Gateway API) and the documentation for Enphase®'s products and services.
GNU General Public License v3.0
76 stars 10 forks source link

inv.adoc suggestion #13

Open vlape opened 7 months ago

vlape commented 7 months ago

It sppears ip is the current running firmware. Same as inventory.json img_pnum_running and matches what can be seen from Enlighten under menu>system>devices>microinverters. For what ir is worth, my Envoy is running FW D8.2.62

/inv

{
    "ce": "1627395857",
    "dtype": "1",
    "chtype": "1",
    "as": "2",
    "s": "XXX",
    "pn": "800-01384-r02",
    "ptpn": "549-00040-r01-v02.48.02",
    "edcon": "0",
    "devobs": "0",
    "ctcon": "0",
    "ctobs": "0",
    "ctctf": "0",
    "chcon": "0",
    "chobs": "0",
    "chctf": "0",
    "cd": "1699630380",
    "ld": "1703967194",
    "ip": "521-00005-r05-v02.48.01",
    "id": "0",
    "ap": "883-01384-r03",
    "fp": "000-00000-r00",
    "cap": "6308347"
}

inventory.json

{
"part_num": "800-01384-r02",
"installed": "1699630380",
"serial_num": "XXX",
"device_status": [
    "envoy.global.ok"
],
"last_rpt_date": "1703967519",
"admin_state": 2,
"dev_type": 1,
"created_date": "1699630380",
"img_load_date": "0",
"img_pnum_running": "521-00005-r05-v02.48.01
/",
"ptpn": "549-00040-r01-v02.48.02",
"chaneid": 1627395857,
"device_control": [
    {
        "gficlearset": false
    }
],
"producing": true,
"communicating": true,
"provisioned": true,
"operating": true,
"phase": "ph-a"
}