mrjackyliang / homebridge-adt-pulse

Homebridge security system platform for ADT Pulse
Apache License 2.0
35 stars 7 forks source link

[Support]: Updated Plugin Config but still getting error. #139

Closed websteth closed 4 months ago

websteth commented 4 months ago

Pre-check confirmation

Tell me exactly what happened

I reset my homebridge and reinstalled the pluging. I've configured everything in the GUI but I am still getting the following error: [3/6/2024, 1:59:52 PM] Homebridge v1.7.0 (HAP v0.11.1) (ADT Pulse) is running on port 47180. [3/6/2024, 2:02:48 PM] [ADT Pulse] Restarting child bridge... [3/6/2024, 2:02:48 PM] Got SIGTERM, shutting down child bridge process... [3/6/2024, 2:02:53 PM] [ADT Pulse] Child bridge process ended [3/6/2024, 2:02:53 PM] [ADT Pulse] Process Ended. Code: 143, Signal: null [3/6/2024, 2:03:00 PM] [ADT Pulse] Restarting Process... [3/6/2024, 2:03:00 PM] [ADT Pulse] Launched child bridge with PID 12036 [3/6/2024, 2:03:00 PM] Registering platform 'homebridge-adt-pulse.ADTPulse' [3/6/2024, 2:03:00 PM] [ADT Pulse] Loaded homebridge-adt-pulse v3.2.9 child bridge successfully [3/6/2024, 2:03:00 PM] Loaded 0 cached accessories from cachedAccessories.0E2D7633B0BC. [3/6/2024, 2:03:00 PM] [ADT Pulse] Plugin is unable to initialize due to an invalid platform configuration. [3/6/2024, 2:03:00 PM] [ADT Pulse] If you just upgraded from "v2 to v3" or from "v3 to v3.1", please update your configuration. [3/6/2024, 2:03:00 PM] [ADT Pulse] Carefully observe the error below. The answer you are looking for is there. [ { "code": "invalid_type", "expected": "array", "received": "undefined", "path": [ "options" ], "message": "Required" } ] [3/6/2024, 2:03:00 PM] Homebridge v1.7.0 (HAP v0.11.1) (ADT Pulse) is running on port 47180.

I can verify that all of the devices are listed correctly in the config GUI.

Here is the config { "name": "ADT Pulse", "subdomain": "portal", "username": ", "password": "fingerprint": "XX", "mode": "normal", "speed": 1, "sensors": [ { "name": "Front Door", "adtName": "Front Door", "adtType": "doorWindow", "adtZone": 1 }, { "name": "Garage Door", "adtName": "Garage Door", "adtType": "doorWindow", "adtZone": 2 }, { "name": "Front Hall Motion Detector", "adtName": "Motion Detector", "adtType": "motion", "adtZone": 3 }, { "name": "Dining Nook Doo", "adtName": "Dining Door", "adtType": "doorWindow", "adtZone": 4 }, { "name": "Sunroom Door", "adtName": "Patio Door", "adtType": "doorWindow", "adtZone": 5 }, { "name": "Basement Door", "adtName": "Basement Door", "adtType": "doorWindow", "adtZone": 6 }, { "name": "Office Window", "adtName": "Den Window", "adtType": "doorWindow", "adtZone": 7 }, { "name": "Living Room Window", "adtName": "Living Room Window", "adtType": "doorWindow", "adtZone": 8 }, { "name": "Dining Nook Window", "adtName": "Dining Room Window", "adtType": "doorWindow", "adtZone": 9 }, { "name": "Kitchen Window", "adtName": "Kitchen Window", "adtType": "doorWindow", "adtZone": 10 }, { "name": "Hot Tub Door", "adtName": "Basement Window", "adtType": "doorWindow", "adtZone": 11 }, { "name": "Upstairs Hall Smoke Detector", "adtName": "Upstairs Smoke Detector", "adtType": "fire", "adtZone": 12 }, { "name": "Main Floor Smoke Detector", "adtName": "Main Floor Smoke", "adtType": "fire", "adtZone": 13 }, { "name": "Basement Smoke Detector", "adtName": "Basement Smoke Detector", "adtType": "fire", "adtZone": 14 } ], "_bridge": { "username": "0E:2D:76:33:B0:BC", "port": 47180 }, "platform": "ADTPulse" }

Logs relevant to this issue

[3/6/2024, 2:19:25 PM] [ADT Pulse] Initializing ADTPulse platform...
[3/6/2024, 2:19:25 PM] [ADT Pulse] Initializing child bridge 0E:2D:76:33:B0:BC
[3/6/2024, 2:19:25 PM] Loading 1 accessories...
[3/6/2024, 2:19:26 PM] [ADT Pulse] Launched child bridge with PID 14878
[3/6/2024, 2:19:26 PM] Registering platform 'homebridge-dreo.DreoPlatform'
[3/6/2024, 2:19:26 PM] Registering accessory 'homebridge-cisco-collaboration-devices.homebridge-cisco-collaboration-devices'
[3/6/2024, 2:19:26 PM] [ADT Pulse] Loaded homebridge-adt-pulse v3.2.9 child bridge successfully
[3/6/2024, 2:19:26 PM] [ADT Pulse] Plugin is unable to initialize due to an invalid platform configuration.
[3/6/2024, 2:19:26 PM] [ADT Pulse] If you just upgraded from "v2 to v3" or from "v3 to v3.1", please update your configuration.
[3/6/2024, 2:19:26 PM] [ADT Pulse] Carefully observe the error below. The answer you are looking for is there.
[
  {
    "code": "invalid_type",
    "expected": "array",
    "received": "undefined",
    "path": [
      "options"
    ],
    "message": "Required"
  }
]
[3/6/2024, 2:19:26 PM] Publishing bridge accessory (name: ADT Pulse, publishInfo: {
  username: '0E:2D:76:33:B0:BC',
  port: 47180,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'bonjour-hap'
}).
[3/6/2024, 2:19:26 PM] Homebridge v1.7.0 (HAP v0.11.1) (ADT Pulse) is running on port 47180.

Legal Agreements

mrjackyliang commented 4 months ago

Hi @websteth!

I have attempted to fix the configuration for you shown below. Simply replace the XXXXX with your corresponding username, password, and fingerprint. Also helped go over the naming for Dining Nook Door as well. Let me know if the configuration below doesn't work, thanks!

{
    "name": "ADT Pulse",
    "subdomain": "portal",
    "username": "XXXXX",
    "password": "XXXXX",
    "fingerprint": "XXXXX",
    "mode": "normal",
    "speed": 1,
    "options": [],
    "sensors": [
        {
            "name": "Front Door",
            "adtName": "Front Door",
            "adtType": "doorWindow",
            "adtZone": 1
        },
        {
            "name": "Garage Door",
            "adtName": "Garage Door",
            "adtType": "doorWindow",
            "adtZone": 2
        },
        {
            "name": "Front Hall Motion Detector",
            "adtName": "Motion Detector",
            "adtType": "motion",
            "adtZone": 3
        },
        {
            "name": "Dining Nook Door",
            "adtName": "Dining Door",
            "adtType": "doorWindow",
            "adtZone": 4
        },
        {
            "name": "Sunroom Door",
            "adtName": "Patio Door",
            "adtType": "doorWindow",
            "adtZone": 5
        },
        {
            "name": "Basement Door",
            "adtName": "Basement Door",
            "adtType": "doorWindow",
            "adtZone": 6
        },
        {
            "name": "Office Window",
            "adtName": "Den Window",
            "adtType": "doorWindow",
            "adtZone": 7
        },
        {
            "name": "Living Room Window",
            "adtName": "Living Room Window",
            "adtType": "doorWindow",
            "adtZone": 8
        },
        {
            "name": "Dining Nook Window",
            "adtName": "Dining Room Window",
            "adtType": "doorWindow",
            "adtZone": 9
        },
        {
            "name": "Kitchen Window",
            "adtName": "Kitchen Window",
            "adtType": "doorWindow",
            "adtZone": 10
        },
        {
            "name": "Hot Tub Door",
            "adtName": "Basement Window",
            "adtType": "doorWindow",
            "adtZone": 11
        },
        {
            "name": "Upstairs Hall Smoke Detector",
            "adtName": "Upstairs Smoke Detector",
            "adtType": "fire",
            "adtZone": 12
        },
        {
            "name": "Main Floor Smoke Detector",
            "adtName": "Main Floor Smoke",
            "adtType": "fire",
            "adtZone": 13
        },
        {
            "name": "Basement Smoke Detector",
            "adtName": "Basement Smoke Detector",
            "adtType": "fire",
            "adtZone": 14
        }
    ],
    "_bridge": {
        "username": "0E:2D:76:33:B0:BC",
        "port": 47180
    },
    "platform": "ADTPulse"
}
websteth commented 4 months ago

@mrjackyliang Thank you so much! This fixed the issue. Appreciate the assistance.

mrjackyliang commented 4 months ago

Glad to help!

github-actions[bot] commented 3 months ago

Due to inactivity, this issue will be locked and marked as resolved. If you have any further questions or inquiries, please feel free to open a new issue.