grzegorz914 / homebridge-enphase-envoy

Homebridge plugin for Photovoltaic Energy System manufactured by Enphase. Supported Envoy-IQ, Envoy-S and all peripheral devices.
MIT License
47 stars 9 forks source link

v4.2.29: update Device state error: TypeError: Cannot read property 'type' of undefined #11

Closed BeauGiles closed 3 years ago

BeauGiles commented 3 years ago

Hi, Just installed this plugin for the first time, but I am getting errors in Homebridge, and can't add the accessory in the Home app.

Log has

[06/02/2021, 07:59:05] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[06/02/2021, 07:59:05] [enphaseEnvoy] -------- Envoy-S --------
[06/02/2021, 07:59:05] [enphaseEnvoy] Manufacturer: Enphase
[06/02/2021, 07:59:05] [enphaseEnvoy] Model: Envoy
[06/02/2021, 07:59:05] [enphaseEnvoy] Serial: XXXXXXX
[06/02/2021, 07:59:05] [enphaseEnvoy] Firmware: D5.0.49
[06/02/2021, 07:59:05] [enphaseEnvoy] Inverters: 51
[06/02/2021, 07:59:05] [enphaseEnvoy] Encharges: 12
[06/02/2021, 07:59:05] [enphaseEnvoy] Q-Relays: 0
[06/02/2021, 07:59:05] [enphaseEnvoy] Meters: 2
[06/02/2021, 07:59:05] [enphaseEnvoy] Time: 06/02/2021, 07:58:41
[06/02/2021, 07:59:05] [enphaseEnvoy] ----------------------------------
[06/02/2021, 07:59:15] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'type' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:1739:61)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
[06/02/2021, 07:59:36] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[06/02/2021, 07:59:36] [enphaseEnvoy] -------- Envoy-S --------
[06/02/2021, 07:59:36] [enphaseEnvoy] Manufacturer: Enphase
[06/02/2021, 07:59:36] [enphaseEnvoy] Model: Envoy
[06/02/2021, 07:59:36] [enphaseEnvoy] Serial: XXXXXXX
[06/02/2021, 07:59:36] [enphaseEnvoy] Firmware: D5.0.49
[06/02/2021, 07:59:36] [enphaseEnvoy] Inverters: 51
[06/02/2021, 07:59:36] [enphaseEnvoy] Encharges: 12
[06/02/2021, 07:59:36] [enphaseEnvoy] Q-Relays: 0
[06/02/2021, 07:59:36] [enphaseEnvoy] Meters: 2
[06/02/2021, 07:59:36] [enphaseEnvoy] Time: 06/02/2021, 07:59:11
[06/02/2021, 07:59:36] [enphaseEnvoy] ----------------------------------
[06/02/2021, 07:59:51] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'type' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:1739:61)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline

Config - have only entered the IP, and installer password

        {
            "devices": [
                {
                    "name": "Envoy-S",
                    "host": "10.0.1.243",
                    "refreshInterval": 30,
                    "installerUser": "installer",
                    "installerPasswd": "XXXXXXXXX",
                    "enchargeStorageOffset": 0,
                    "powerProductionMaxDetected": 0,
                    "energyProductionLifetimeOffset": 0,
                    "powerConsumptionTotalMaxDetected": 0,
                    "energyConsumptionTotalLifetimeOffset": 0,
                    "powerConsumptionNetMaxDetected": 0,
                    "energyConsumptionNetLifetimeOffset": 0
                }
            ],
            "platform": "enphaseEnvoy"
        }
grzegorz914 commented 3 years ago

Please get me output from

http://envoy.local/inventory.json

BeauGiles commented 3 years ago

http://envoy.local/inventory.json

[{
    "type": "PCU",
    "devices": [{
        "part_num": "800-00539-r05",
        "installed": "1479767146",
        "serial_num": "121632035883",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559083",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767146",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627390225,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767178",
        "serial_num": "121632036078",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559084",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767178",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627390481,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767189",
        "serial_num": "121632033464",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559087",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767189",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627390737,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767222",
        "serial_num": "121632035907",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559091",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767222",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627390993,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767250",
        "serial_num": "121632033274",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559092",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767250",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627391249,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767258",
        "serial_num": "121632036646",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559094",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767258",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627391505,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767303",
        "serial_num": "121632035868",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559097",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767303",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627391761,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767346",
        "serial_num": "121632033137",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559099",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767346",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627392017,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767359",
        "serial_num": "121632035809",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559101",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767359",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627392273,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767376",
        "serial_num": "121632036669",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559102",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767376",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627392529,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767396",
        "serial_num": "121632036671",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559105",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767396",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627392785,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767412",
        "serial_num": "121632032644",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559106",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767412",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627393041,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767425",
        "serial_num": "121632036667",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559109",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767425",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627393297,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767468",
        "serial_num": "121632033465",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559111",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767468",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627393553,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1479767486",
        "serial_num": "121632035961",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559112",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1479767486",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627393809,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495773060",
        "serial_num": "121714010415",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559115",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495773060",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627394065,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495773188",
        "serial_num": "121714010486",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559116",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495773188",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627394321,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495773281",
        "serial_num": "121714010487",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559119",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495773281",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627394577,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495773445",
        "serial_num": "121714010584",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559121",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495773445",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627394833,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495773472",
        "serial_num": "121714010320",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559123",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495773472",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627395089,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495773825",
        "serial_num": "121714011517",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559125",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495773825",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627395345,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495773998",
        "serial_num": "121714010660",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559129",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495773998",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627395601,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495774169",
        "serial_num": "121714010318",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559130",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495774169",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627395857,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495774247",
        "serial_num": "121714009758",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559132",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495774247",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627396113,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00539-r05",
        "installed": "1495774546",
        "serial_num": "121714010323",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559135",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1495774546",
        "img_load_date": "1529964383",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00105-r01-v00.34.04",
        "chaneid": 1627396369,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430569",
        "serial_num": "121718026509",
        "device_status": ["envoy.cond_flags.pcu_ctrl.dc-pwr-low"],
        "last_rpt_date": "1612559136",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430569",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627396625,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430573",
        "serial_num": "121718026420",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559139",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430573",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627396881,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430574",
        "serial_num": "121718026395",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559142",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430574",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627397137,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430582",
        "serial_num": "121718026328",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559143",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430582",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627397393,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430590",
        "serial_num": "121718026452",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559145",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430590",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627397649,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430598",
        "serial_num": "121718026393",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559148",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430598",
        "img_load_date": "1529969657",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627397905,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430605",
        "serial_num": "121718026586",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559149",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430605",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627398161,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430609",
        "serial_num": "121718026497",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559151",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430609",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627398417,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430625",
        "serial_num": "121718026216",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559154",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430625",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627398673,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430632",
        "serial_num": "121718026513",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612558851",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430632",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627398929,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430633",
        "serial_num": "121718026212",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559157",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430633",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627399185,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430637",
        "serial_num": "121718026592",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559160",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430637",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627399441,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1500430649",
        "serial_num": "121718026494",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559161",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1500430649",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627399697,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877300",
        "serial_num": "121747002928",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559164",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877300",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627399953,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877303",
        "serial_num": "121747009751",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559169",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877303",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627400209,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877311",
        "serial_num": "121747002906",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612558863",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877311",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627400465,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877326",
        "serial_num": "121747009741",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559172",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877326",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627400721,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877327",
        "serial_num": "121747009879",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559174",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877327",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627400977,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877330",
        "serial_num": "121747003169",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559175",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877330",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627401233,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877343",
        "serial_num": "121747002216",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559178",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877343",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627401489,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877347",
        "serial_num": "121747009745",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559181",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877347",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627401745,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877354",
        "serial_num": "121747011198",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559183",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877354",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627402001,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877377",
        "serial_num": "121747009752",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559184",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877377",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627402257,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877381",
        "serial_num": "121747011308",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559187",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877381",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627402513,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877417",
        "serial_num": "121747002060",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559189",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877417",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627402769,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }, {
        "part_num": "800-00586-r03",
        "installed": "1519877493",
        "serial_num": "121747002219",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559190",
        "admin_state": 1,
        "dev_type": 1,
        "created_date": "1519877493",
        "img_load_date": "1529968660",
        "img_pnum_running": "520-00066-r01-v00.34.09",
        "ptpn": "540-00121-r01-v00.34.03",
        "chaneid": 1627403025,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true
    }]
}, {
    "type": "ACB",
    "devices": [{
        "part_num": "800-00560-r03",
        "installed": "1484530152",
        "serial_num": "121627034988",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559193",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1484530152",
        "img_load_date": "1484531623",
        "img_pnum_running": "520-00067-r01-v00.38.02",
        "ptpn": "540-00119-r01-v00.38.00",
        "chaneid": 1795162385,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 0,
        "maxCellTemp": 31,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "idle"
    }, {
        "part_num": "800-00560-r03",
        "installed": "1484530155",
        "serial_num": "121627018497",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559194",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1484530155",
        "img_load_date": "1484531623",
        "img_pnum_running": "520-00067-r01-v00.38.02",
        "ptpn": "540-00119-r01-v00.38.00",
        "chaneid": 1795162641,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 0,
        "maxCellTemp": 32,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "idle"
    }, {
        "part_num": "800-00560-r03",
        "installed": "1517300550",
        "serial_num": "121643026619",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559197",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1517300550",
        "img_load_date": "1508221181",
        "img_pnum_running": "520-00067-r01-v00.38.02",
        "ptpn": "540-00119-r01-v00.38.00",
        "chaneid": 1795162897,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": false,
        "communicating": true,
        "provisioned": true,
        "operating": false,
        "sleep_enabled": false,
        "percentFull": 0,
        "maxCellTemp": 31,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "discharging"
    }, {
        "part_num": "800-00560-r03",
        "installed": "1519281292",
        "serial_num": "121643026054",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559199",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1519281292",
        "img_load_date": "1507260935",
        "img_pnum_running": "520-00067-r01-v00.38.02",
        "ptpn": "540-00119-r01-v00.38.00",
        "chaneid": 1795163153,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 0,
        "maxCellTemp": 31,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "discharging"
    }, {
        "part_num": "800-00560-r03",
        "installed": "1519281347",
        "serial_num": "121643026002",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559202",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1519281347",
        "img_load_date": "1507514642",
        "img_pnum_running": "520-00067-r01-v00.38.02",
        "ptpn": "540-00119-r01-v00.38.00",
        "chaneid": 1795163409,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 0,
        "maxCellTemp": 31,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "idle"
    }, {
        "part_num": "800-00560-r03",
        "installed": "1537585179",
        "serial_num": "121643022740",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559204",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1537585179",
        "img_load_date": "1532135863",
        "img_pnum_running": "520-00067-r01-v00.38.02",
        "ptpn": "540-00119-r01-v00.38.00",
        "chaneid": 1795163665,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 0,
        "maxCellTemp": 31,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "discharging"
    }, {
        "part_num": "800-00560-r03",
        "installed": "1537585779",
        "serial_num": "121643023294",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559208",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1537585779",
        "img_load_date": "1532135863",
        "img_pnum_running": "520-00067-r01-v00.38.02",
        "ptpn": "540-00119-r01-v00.38.00",
        "chaneid": 1795163921,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 0,
        "maxCellTemp": 31,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "discharging"
    }, {
        "part_num": "800-00560-r03",
        "installed": "1537587180",
        "serial_num": "121643023086",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559209",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1537587180",
        "img_load_date": "1532090437",
        "img_pnum_running": "520-00067-r01-v00.38.02",
        "ptpn": "540-00119-r01-v00.38.00",
        "chaneid": 1795164177,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 0,
        "maxCellTemp": 31,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "discharging"
    }, {
        "part_num": "800-00930-r03",
        "installed": "1571116530",
        "serial_num": "121929093603",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612559210",
        "admin_state": 2,
        "dev_type": 11,
        "created_date": "1571116530",
        "img_load_date": "1543275304",
        "img_pnum_running": "520-00092-r01-v02.12.01",
        "ptpn": "540-00155-r01-v02.12.13",
        "chaneid": 1795164433,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 6,
        "maxCellTemp": 31,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "discharging"
    }, {
        "part_num": "800-00930-r03",
        "installed": "1571121202",
        "serial_num": "121929093699",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612558908",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1571121202",
        "img_load_date": "1543275304",
        "img_pnum_running": "520-00092-r01-v02.12.01",
        "ptpn": "540-00155-r01-v02.12.13",
        "chaneid": 1795164689,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 7,
        "maxCellTemp": 32,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "discharging"
    }, {
        "part_num": "800-00930-r03",
        "installed": "1571221079",
        "serial_num": "121929093602",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612558910",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1571221079",
        "img_load_date": "1543275304",
        "img_pnum_running": "520-00092-r01-v02.12.01",
        "ptpn": "540-00155-r01-v02.12.13",
        "chaneid": 1795164945,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 10,
        "maxCellTemp": 31,
        "sleep_min_soc": 0,
        "sleep_max_soc": 0,
        "charge_status": "discharging"
    }, {
        "part_num": "800-00930-r03",
        "installed": "1571221100",
        "serial_num": "121929093881",
        "device_status": ["envoy.global.ok"],
        "last_rpt_date": "1612558919",
        "admin_state": 1,
        "dev_type": 11,
        "created_date": "1571221100",
        "img_load_date": "1543275304",
        "img_pnum_running": "520-00092-r01-v02.12.01",
        "ptpn": "540-00155-r01-v02.12.13",
        "chaneid": 1795165201,
        "device_control": [{
            "gficlearset": false
        }],
        "producing": true,
        "communicating": true,
        "provisioned": true,
        "operating": true,
        "sleep_enabled": false,
        "percentFull": 7,
        "maxCellTemp": 32,
        "sleep_min_soc": 25,
        "sleep_max_soc": 30,
        "charge_status": "discharging"
    }]
}, {
    "type": "NSRB",
    "devices": []
}]

http://envoy.local/production.json

{
    "production": [{
        "type": "inverters",
        "activeCount": 51,
        "readingTime": 1612558883,
        "wNow": 893,
        "whLifetime": 85619608
    }, {
        "type": "eim",
        "activeCount": 1,
        "measurementType": "production",
        "readingTime": 1612559041,
        "wNow": 973.514,
        "whLifetime": 84506681.979,
        "varhLeadLifetime": 951.644,
        "varhLagLifetime": 23459946.952,
        "vahLifetime": 96171198.822,
        "rmsCurrent": 5.547,
        "rmsVoltage": 728.882,
        "reactPwr": 824.947,
        "apprntPwr": 1349.885,
        "pwrFactor": 0.72,
        "whToday": 656.979,
        "whLastSevenDays": 493188.979,
        "vahToday": 4512.822,
        "varhLeadToday": 0.644,
        "varhLagToday": 4136.952
    }],
    "consumption": [{
        "type": "eim",
        "activeCount": 1,
        "measurementType": "total-consumption",
        "readingTime": 1612559041,
        "wNow": 972.242,
        "whLifetime": 42871040.806,
        "varhLeadLifetime": 61797985.139,
        "varhLagLifetime": 23479260.955,
        "vahLifetime": 122139923.953,
        "rmsCurrent": -11.371,
        "rmsVoltage": 728.898,
        "reactPwr": -3087.141,
        "apprntPwr": -8288.451,
        "pwrFactor": 1.0,
        "whToday": 656.806,
        "whLastSevenDays": 225110.806,
        "vahToday": 21370.953,
        "varhLeadToday": 16137.139,
        "varhLagToday": 4136.955
    }, {
        "type": "eim",
        "activeCount": 1,
        "measurementType": "net-consumption",
        "readingTime": 1612559041,
        "wNow": -1.272,
        "whLifetime": 23586139.279,
        "varhLeadLifetime": 61797033.495,
        "varhLagLifetime": 19314.002,
        "vahLifetime": 122139923.953,
        "rmsCurrent": 16.918,
        "rmsVoltage": 728.913,
        "reactPwr": -2262.193,
        "apprntPwr": 4104.606,
        "pwrFactor": 0.01,
        "whToday": 0,
        "whLastSevenDays": 0,
        "vahToday": 0,
        "varhLeadToday": 0,
        "varhLagToday": 0
    }],
    "storage": [{
        "type": "acb",
        "activeCount": 12,
        "readingTime": 1612558918,
        "wNow": 266,
        "whNow": 384,
        "state": "discharging",
        "percentFull": 3
    }]
}

http://envoy.local/ivp/meters

[
    {
        "eid": 704643328,
        "state": "enabled",
        "measurementType": "production",
        "phaseMode": "three",
        "phaseCount": 3,
        "meteringStatus": "normal",
        "statusFlags": []
    },
    {
        "eid": 704643584,
        "state": "enabled",
        "measurementType": "net-consumption",
        "phaseMode": "three",
        "phaseCount": 3,
        "meteringStatus": "normal",
        "statusFlags": []
    }
]

http://envoy.local/api/v1/production

{
  "wattHoursToday": 594,
  "wattHoursSevenDays": 493126,
  "wattHoursLifetime": 84506619,
  "wattsNow": 883
}
grzegorz914 commented 3 years ago

Please update and get Feedback

BeauGiles commented 3 years ago

Thank you. I have updated, and am now getting a different error. It also still isn't showing up in 'Add Accessory'.

[06/02/2021, 09:29:36] [Homebridge UI] Starting terminal session
[06/02/2021, 09:29:36] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[06/02/2021, 09:29:36] [enphaseEnvoy] -------- Envoy-S --------
[06/02/2021, 09:29:36] [enphaseEnvoy] Manufacturer: Enphase
[06/02/2021, 09:29:36] [enphaseEnvoy] Model: Envoy
[06/02/2021, 09:29:36] [enphaseEnvoy] Serial: XXXXXX
[06/02/2021, 09:29:36] [enphaseEnvoy] Firmware: D5.0.49
[06/02/2021, 09:29:36] [enphaseEnvoy] Inverters: 51
[06/02/2021, 09:29:36] [enphaseEnvoy] Encharges: 12
[06/02/2021, 09:29:36] [enphaseEnvoy] Q-Relays: 0
[06/02/2021, 09:29:36] [enphaseEnvoy] Meters: 2
[06/02/2021, 09:29:36] [enphaseEnvoy] Time: 06/02/2021, 09:29:12
[06/02/2021, 09:29:36] [enphaseEnvoy] ----------------------------------
[06/02/2021, 09:29:51] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:1970:61)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
[06/02/2021, 09:30:08] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[06/02/2021, 09:30:08] [enphaseEnvoy] -------- Envoy-S --------
[06/02/2021, 09:30:08] [enphaseEnvoy] Manufacturer: Enphase
[06/02/2021, 09:30:08] [enphaseEnvoy] Model: Envoy
[06/02/2021, 09:30:08] [enphaseEnvoy] Serial: XXXXX
[06/02/2021, 09:30:08] [enphaseEnvoy] Firmware: D5.0.49
[06/02/2021, 09:30:08] [enphaseEnvoy] Inverters: 51
[06/02/2021, 09:30:08] [enphaseEnvoy] Encharges: 12
[06/02/2021, 09:30:08] [enphaseEnvoy] Q-Relays: 0
[06/02/2021, 09:30:08] [enphaseEnvoy] Meters: 2
[06/02/2021, 09:30:08] [enphaseEnvoy] Time: 06/02/2021, 09:29:44
[06/02/2021, 09:30:08] [enphaseEnvoy] ----------------------------------
[06/02/2021, 09:30:14] [Homebridge UI] Terminal session ended.
[06/02/2021, 09:30:26] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:1970:61)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
[06/02/2021, 09:30:34] [Homebridge UI] Starting terminal session
[06/02/2021, 09:30:37] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[06/02/2021, 09:30:37] [enphaseEnvoy] -------- Envoy-S --------
[06/02/2021, 09:30:37] [enphaseEnvoy] Manufacturer: Enphase
[06/02/2021, 09:30:37] [enphaseEnvoy] Model: Envoy
[06/02/2021, 09:30:37] [enphaseEnvoy] Serial: XXXXXX
[06/02/2021, 09:30:37] [enphaseEnvoy] Firmware: D5.0.49
[06/02/2021, 09:30:37] [enphaseEnvoy] Inverters: 51
[06/02/2021, 09:30:37] [enphaseEnvoy] Encharges: 12
[06/02/2021, 09:30:37] [enphaseEnvoy] Q-Relays: 0
[06/02/2021, 09:30:37] [enphaseEnvoy] Meters: 2
[06/02/2021, 09:30:37] [enphaseEnvoy] Time: 06/02/2021, 09:30:13
[06/02/2021, 09:30:37] [enphaseEnvoy] ----------------------------------
[06/02/2021, 09:30:49] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:1970:61)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
grzegorz914 commented 3 years ago

Try again

BeauGiles commented 3 years ago

Updated plugin - same error, different line

[06/02/2021, 10:21:52] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[06/02/2021, 10:21:52] [enphaseEnvoy] -------- Envoy-S --------
[06/02/2021, 10:21:52] [enphaseEnvoy] Manufacturer: Enphase
[06/02/2021, 10:21:52] [enphaseEnvoy] Model: Envoy
[06/02/2021, 10:21:52] [enphaseEnvoy] Serial: 121638035839
[06/02/2021, 10:21:52] [enphaseEnvoy] Firmware: D5.0.49
[06/02/2021, 10:21:52] [enphaseEnvoy] Inverters: 51
[06/02/2021, 10:21:52] [enphaseEnvoy] Encharges: 12
[06/02/2021, 10:21:52] [enphaseEnvoy] Q-Relays: 0
[06/02/2021, 10:21:52] [enphaseEnvoy] Meters: 2
[06/02/2021, 10:21:52] [enphaseEnvoy] Time: 06/02/2021, 10:21:28
[06/02/2021, 10:21:52] [enphaseEnvoy] ----------------------------------
[06/02/2021, 10:22:03] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:1974:61)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
[06/02/2021, 10:22:14] [Homebridge UI] Terminal session ended.
[06/02/2021, 10:22:22] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[06/02/2021, 10:22:22] [enphaseEnvoy] -------- Envoy-S --------
[06/02/2021, 10:22:22] [enphaseEnvoy] Manufacturer: Enphase
[06/02/2021, 10:22:22] [enphaseEnvoy] Model: Envoy
[06/02/2021, 10:22:22] [enphaseEnvoy] Serial: 121638035839
[06/02/2021, 10:22:22] [enphaseEnvoy] Firmware: D5.0.49
[06/02/2021, 10:22:22] [enphaseEnvoy] Inverters: 51
[06/02/2021, 10:22:22] [enphaseEnvoy] Encharges: 12
[06/02/2021, 10:22:22] [enphaseEnvoy] Q-Relays: 0
[06/02/2021, 10:22:22] [enphaseEnvoy] Meters: 2
[06/02/2021, 10:22:22] [enphaseEnvoy] Time: 06/02/2021, 10:21:58
[06/02/2021, 10:22:22] [enphaseEnvoy] ----------------------------------
[06/02/2021, 10:22:27] [Homebridge UI] Starting terminal session
[06/02/2021, 10:22:32] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:1974:61)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
grzegorz914 commented 3 years ago

Get this

http://envoy.local/api/v1/production/inverters?

grzegorz914 commented 3 years ago

Try update again

BeauGiles commented 3 years ago

Here is http://envoy.local/api/v1/production/inverters

[
  {
    "serialNumber": "121632033464",
    "lastReportDate": 1612568443,
    "devType": 1,
    "lastReportWatts": 53,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632035868",
    "lastReportDate": 1612568450,
    "devType": 1,
    "lastReportWatts": 54,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632036671",
    "lastReportDate": 1612568461,
    "devType": 1,
    "lastReportWatts": 53,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632035961",
    "lastReportDate": 1612568468,
    "devType": 1,
    "lastReportWatts": 54,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121714010584",
    "lastReportDate": 1612568174,
    "devType": 1,
    "lastReportWatts": 43,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632035907",
    "lastReportDate": 1612568444,
    "devType": 1,
    "lastReportWatts": 51,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026420",
    "lastReportDate": 1612568494,
    "devType": 1,
    "lastReportWatts": 60,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026393",
    "lastReportDate": 1612568502,
    "devType": 1,
    "lastReportWatts": 57,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121714010415",
    "lastReportDate": 1612568469,
    "devType": 1,
    "lastReportWatts": 59,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632033274",
    "lastReportDate": 1612568448,
    "devType": 1,
    "lastReportWatts": 54,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121643026619",
    "lastReportDate": 1612568548,
    "devType": 11,
    "lastReportWatts": -137,
    "maxReportWatts": 269
  },
  {
    "serialNumber": "121643023294",
    "lastReportDate": 1612568557,
    "devType": 11,
    "lastReportWatts": -138,
    "maxReportWatts": 269
  },
  {
    "serialNumber": "121718026586",
    "lastReportDate": 1612568507,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632036646",
    "lastReportDate": 1612568449,
    "devType": 1,
    "lastReportWatts": 51,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747009751",
    "lastReportDate": 1612568519,
    "devType": 1,
    "lastReportWatts": 59,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121643026054",
    "lastReportDate": 1612568549,
    "devType": 11,
    "lastReportWatts": -138,
    "maxReportWatts": 269
  },
  {
    "serialNumber": "121714010487",
    "lastReportDate": 1612568474,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747002906",
    "lastReportDate": 1612568524,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747002216",
    "lastReportDate": 1612568531,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026216",
    "lastReportDate": 1612568509,
    "devType": 1,
    "lastReportWatts": 61,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121627018497",
    "lastReportDate": 1612568548,
    "devType": 11,
    "lastReportWatts": -138,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121643022740",
    "lastReportDate": 1612568556,
    "devType": 11,
    "lastReportWatts": -137,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747002060",
    "lastReportDate": 1612568542,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121929093699",
    "lastReportDate": 1612568567,
    "devType": 11,
    "lastReportWatts": -137,
    "maxReportWatts": 277
  },
  {
    "serialNumber": "121627034988",
    "lastReportDate": 1612568544,
    "devType": 11,
    "lastReportWatts": -138,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121929093881",
    "lastReportDate": 1612568574,
    "devType": 11,
    "lastReportWatts": -136,
    "maxReportWatts": 272
  },
  {
    "serialNumber": "121929093602",
    "lastReportDate": 1612568572,
    "devType": 11,
    "lastReportWatts": -116,
    "maxReportWatts": 271
  },
  {
    "serialNumber": "121929093603",
    "lastReportDate": 1612568565,
    "devType": 11,
    "lastReportWatts": -137,
    "maxReportWatts": 272
  },
  {
    "serialNumber": "121643023086",
    "lastReportDate": 1612568564,
    "devType": 11,
    "lastReportWatts": -137,
    "maxReportWatts": 269
  },
  {
    "serialNumber": "121714010320",
    "lastReportDate": 1612568481,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 271
  },
  {
    "serialNumber": "121632036078",
    "lastReportDate": 1612568442,
    "devType": 1,
    "lastReportWatts": 53,
    "maxReportWatts": 269
  },
  {
    "serialNumber": "121643026002",
    "lastReportDate": 1612568555,
    "devType": 11,
    "lastReportWatts": -137,
    "maxReportWatts": 269
  },
  {
    "serialNumber": "121714010318",
    "lastReportDate": 1612568486,
    "devType": 1,
    "lastReportWatts": 57,
    "maxReportWatts": 269
  },
  {
    "serialNumber": "121632036667",
    "lastReportDate": 1612568463,
    "devType": 1,
    "lastReportWatts": 52,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121714009758",
    "lastReportDate": 1612567885,
    "devType": 1,
    "lastReportWatts": 36,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121714010660",
    "lastReportDate": 1612568484,
    "devType": 1,
    "lastReportWatts": 56,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747002219",
    "lastReportDate": 1612568544,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747009752",
    "lastReportDate": 1612568537,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747011308",
    "lastReportDate": 1612568538,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632033137",
    "lastReportDate": 1612568455,
    "devType": 1,
    "lastReportWatts": 52,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632032644",
    "lastReportDate": 1612568462,
    "devType": 1,
    "lastReportWatts": 52,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632036669",
    "lastReportDate": 1612568458,
    "devType": 1,
    "lastReportWatts": 52,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121714010486",
    "lastReportDate": 1612568474,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121714011517",
    "lastReportDate": 1612568482,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121714010323",
    "lastReportDate": 1612568489,
    "devType": 1,
    "lastReportWatts": 52,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026509",
    "lastReportDate": 1612568492,
    "devType": 1,
    "lastReportWatts": 60,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026452",
    "lastReportDate": 1612568501,
    "devType": 1,
    "lastReportWatts": 60,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026494",
    "lastReportDate": 1612568518,
    "devType": 1,
    "lastReportWatts": 60,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747009741",
    "lastReportDate": 1612568525,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747009745",
    "lastReportDate": 1612568531,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747011198",
    "lastReportDate": 1612568233,
    "devType": 1,
    "lastReportWatts": 46,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747003169",
    "lastReportDate": 1612568530,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747009879",
    "lastReportDate": 1612568525,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121747002928",
    "lastReportDate": 1612568519,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026592",
    "lastReportDate": 1612568514,
    "devType": 1,
    "lastReportWatts": 59,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026212",
    "lastReportDate": 1612568513,
    "devType": 1,
    "lastReportWatts": 57,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026513",
    "lastReportDate": 1612568208,
    "devType": 1,
    "lastReportWatts": 48,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026497",
    "lastReportDate": 1612568507,
    "devType": 1,
    "lastReportWatts": 61,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026328",
    "lastReportDate": 1612568500,
    "devType": 1,
    "lastReportWatts": 58,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121718026395",
    "lastReportDate": 1612568495,
    "devType": 1,
    "lastReportWatts": 59,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632035883",
    "lastReportDate": 1612568438,
    "devType": 1,
    "lastReportWatts": 52,
    "maxReportWatts": 270
  },
  {
    "serialNumber": "121632035809",
    "lastReportDate": 1612568454,
    "devType": 1,
    "lastReportWatts": 54,
    "maxReportWatts": 269
  },
  {
    "serialNumber": "121632033465",
    "lastReportDate": 1612568467,
    "devType": 1,
    "lastReportWatts": 51,
    "maxReportWatts": 270
  }
]
BeauGiles commented 3 years ago

Updated again. :-)

Now I get

[06/02/2021, 10:48:57] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'devType' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:1976:51)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
[06/02/2021, 10:49:14] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[06/02/2021, 10:49:14] [enphaseEnvoy] -------- Envoy-S --------
[06/02/2021, 10:49:14] [enphaseEnvoy] Manufacturer: Enphase
[06/02/2021, 10:49:14] [enphaseEnvoy] Model: Envoy
[06/02/2021, 10:49:14] [enphaseEnvoy] Serial: XXXXXXX
[06/02/2021, 10:49:14] [enphaseEnvoy] Firmware: D5.0.49
[06/02/2021, 10:49:14] [enphaseEnvoy] Inverters: 51
[06/02/2021, 10:49:14] [enphaseEnvoy] Encharges: 12
[06/02/2021, 10:49:14] [enphaseEnvoy] Q-Relays: 0
[06/02/2021, 10:49:14] [enphaseEnvoy] Meters: 2
[06/02/2021, 10:49:14] [enphaseEnvoy] Time: 06/02/2021, 10:48:49
[06/02/2021, 10:49:14] [enphaseEnvoy] ----------------------------------
[06/02/2021, 10:49:23] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'devType' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:1976:51)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
grzegorz914 commented 3 years ago

Hmm,

on my site this is read correct i will look on this toomorow, now is 0:53 night

BeauGiles commented 3 years ago

Thank you. I just updated the plugin, including just to the latest 4.3.2 beta 1, entered only the IP address, 'installer' and password in the config, and I'm still getting errors, though different again.

[08/02/2021, 21:42:46] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2178:64)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
[08/02/2021, 21:43:05] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[08/02/2021, 21:43:05] [enphaseEnvoy] -------- Envoy-S --------
[08/02/2021, 21:43:05] [enphaseEnvoy] Manufacturer: Enphase
[08/02/2021, 21:43:05] [enphaseEnvoy] Model: Envoy
[08/02/2021, 21:43:05] [enphaseEnvoy] Serial: XXXXX
[08/02/2021, 21:43:05] [enphaseEnvoy] Firmware: D5.0.49
[08/02/2021, 21:43:05] [enphaseEnvoy] Inverters: 51
[08/02/2021, 21:43:05] [enphaseEnvoy] Encharges: 12
[08/02/2021, 21:43:05] [enphaseEnvoy] Q-Relays: 0
[08/02/2021, 21:43:05] [enphaseEnvoy] Meters: 2
[08/02/2021, 21:43:05] [enphaseEnvoy] Time: 08/02/2021, 21:42:40
[08/02/2021, 21:43:05] [enphaseEnvoy] ----------------------------------
[08/02/2021, 21:43:15] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2178:64)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
[08/02/2021, 21:43:34] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[08/02/2021, 21:43:34] [enphaseEnvoy] -------- Envoy-S --------
[08/02/2021, 21:43:34] [enphaseEnvoy] Manufacturer: Enphase
[08/02/2021, 21:43:34] [enphaseEnvoy] Model: Envoy
[08/02/2021, 21:43:34] [enphaseEnvoy] Serial: XXXXX
[08/02/2021, 21:43:34] [enphaseEnvoy] Firmware: D5.0.49
[08/02/2021, 21:43:34] [enphaseEnvoy] Inverters: 51
[08/02/2021, 21:43:34] [enphaseEnvoy] Encharges: 12
[08/02/2021, 21:43:34] [enphaseEnvoy] Q-Relays: 0
[08/02/2021, 21:43:34] [enphaseEnvoy] Meters: 2
[08/02/2021, 21:43:34] [enphaseEnvoy] Time: 08/02/2021, 21:43:08
[08/02/2021, 21:43:34] [enphaseEnvoy] ----------------------------------
[08/02/2021, 21:43:44] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2178:64)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
[08/02/2021, 21:44:04] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[08/02/2021, 21:44:04] [enphaseEnvoy] -------- Envoy-S --------
[08/02/2021, 21:44:04] [enphaseEnvoy] Manufacturer: Enphase
[08/02/2021, 21:44:04] [enphaseEnvoy] Model: Envoy
[08/02/2021, 21:44:04] [enphaseEnvoy] Serial: XXXXX
[08/02/2021, 21:44:04] [enphaseEnvoy] Firmware: D5.0.49
[08/02/2021, 21:44:04] [enphaseEnvoy] Inverters: 51
[08/02/2021, 21:44:04] [enphaseEnvoy] Encharges: 12
[08/02/2021, 21:44:04] [enphaseEnvoy] Q-Relays: 0
[08/02/2021, 21:44:04] [enphaseEnvoy] Meters: 2
[08/02/2021, 21:44:04] [enphaseEnvoy] Time: 08/02/2021, 21:43:35
[08/02/2021, 21:44:04] [enphaseEnvoy] ----------------------------------
[08/02/2021, 21:44:13] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2178:64)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
grzegorz914 commented 3 years ago

Do not install beta please, use release 4.3.1

BeauGiles commented 3 years ago

Apologies, the Homebridge UI suggested updating to it. Downgraded back to 4.3.1

[08/02/2021, 22:01:15] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2178:64)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
grzegorz914 commented 3 years ago

please install beta8 and get the log output

BeauGiles commented 3 years ago

Thank you.

Latest log from beta 8 is

[08/02/2021, 22:35:58] [enphaseEnvoy] invertersi { status: 401, error: '', info: 'Authentication required', moreInfo: '' } [08/02/2021, 22:35:58] [enphaseEnvoy] indexActiveInverter -1 [08/02/2021, 22:35:58] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'lastReportDate' of undefined at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2101:64) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline [08/02/2021, 22:36:16] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online. [08/02/2021, 22:36:17] [enphaseEnvoy] -------- Envoy-S -------- [08/02/2021, 22:36:17] [enphaseEnvoy] Manufacturer: Enphase [08/02/2021, 22:36:17] [enphaseEnvoy] Model: Envoy [08/02/2021, 22:36:17] [enphaseEnvoy] Serial: XXXXXX [08/02/2021, 22:36:17] [enphaseEnvoy] Firmware: D5.0.49 [08/02/2021, 22:36:17] [enphaseEnvoy] Inverters: 51 [08/02/2021, 22:36:17] [enphaseEnvoy] Encharges: 12 [08/02/2021, 22:36:17] [enphaseEnvoy] Q-Relays: 0 [08/02/2021, 22:36:17] [enphaseEnvoy] Meters: 2 [08/02/2021, 22:36:17] [enphaseEnvoy] Time: 08/02/2021, 22:35:48 [08/02/2021, 22:36:17] [enphaseEnvoy] ----------------------------------

Just to make sure I have. the right username/password, I went directly to http://10.0.1.243/api/v1/production/inverters and was able to log in as 'installer' and the password.

grzegorz914 commented 3 years ago

{ status: 401, error: '', info: 'Authentication required', moreInfo: '' } here the problem

install beta10 and get the log

BeauGiles commented 3 years ago

Thank you. The default password (last 6 digits of serial number) is being used.

I have changed this password. (For security as it was available on the internet)

Is it still possible to override the password used for the 'envoy' user? The readme says it was removed a few versions ago?

grzegorz914 commented 3 years ago

Ok, i will ad this possibility

grzegorz914 commented 3 years ago

try beta 13

BeauGiles commented 3 years ago

Thank you. Just tried - I was able to manually set the 'envoy' password. No more Authentication error.

Different error now... Sorry my setup is being painful

[08/02/2021, 23:11:55] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'getCharacteristic' of undefined
    at envoyDevice.prepareEnphaseService (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2750:43)
    at envoyDevice.prepareAccessory (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2143:10)
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2124:12)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
[08/02/2021, 23:12:15] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, state: Online.
[08/02/2021, 23:12:15] [enphaseEnvoy] -------- Envoy-S --------
[08/02/2021, 23:12:15] [enphaseEnvoy] Manufacturer: Enphase
[08/02/2021, 23:12:15] [enphaseEnvoy] Model: Envoy
[08/02/2021, 23:12:15] [enphaseEnvoy] Serial: XXXX
[08/02/2021, 23:12:15] [enphaseEnvoy] Firmware: D5.0.49
[08/02/2021, 23:12:15] [enphaseEnvoy] Inverters: 51
[08/02/2021, 23:12:15] [enphaseEnvoy] Encharges: 12
[08/02/2021, 23:12:15] [enphaseEnvoy] Q-Relays: 0
[08/02/2021, 23:12:15] [enphaseEnvoy] Meters: 2
[08/02/2021, 23:12:15] [enphaseEnvoy] Time: 08/02/2021, 23:11:49
[08/02/2021, 23:12:15] [enphaseEnvoy] ----------------------------------
[08/02/2021, 23:12:25] [enphaseEnvoy] Device: 10.0.1.243 Envoy-S, update Device state error: TypeError: Cannot read property 'getCharacteristic' of undefined
    at envoyDevice.prepareEnphaseService (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2750:43)
    at envoyDevice.prepareAccessory (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2143:10)
    at envoyDevice.updateDeviceState (/usr/local/lib/node_modules/homebridge-enphase-envoy/index.js:2124:12)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5), state: Offline
grzegorz914 commented 3 years ago

OK will fixed soon

grzegorz914 commented 3 years ago

try latest beta and get info

grzegorz914 commented 3 years ago

test in progress

grzegorz914 commented 3 years ago

Fixed