mrjackyliang / homebridge-adt-pulse

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

[Bug]: Plugin is unable to initialize due to an invalid platform configuration. #127

Closed mikezucker closed 6 months ago

mikezucker commented 6 months ago

Pre-check confirmation

Your email address

sc@panjems.org

Tell us exactly what happened

Upgraded to the beta and getting this in the log: Plugin is unable to initialize due to an invalid platform configuration.

{ "code": "invalid_union", "unionErrors": [ { "issues": [ { "code": "invalid_literal", "expected": "portal", "path": [ "subdomain" ], "message": "Invalid literal value, expected 'portal'" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_literal", "expected": "portal-ca", "path": [ "subdomain" ], "message": "Invalid literal value, expected 'portal-ca'" } ], "name": "ZodError" } ], "path": [ "subdomain" ], "message": "Invalid input" }, { "code": "invalid_union", "unionErrors": [ { "issues": [ { "code": "invalid_literal", "expected": "normal", "path": [ "mode" ], "message": "Invalid literal value, expected 'normal'" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_literal", "expected": "paused", "path": [ "mode" ], "message": "Invalid literal value, expected 'paused'" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_literal", "expected": "reset", "path": [ "mode" ], "message": "Invalid literal value, expected 'reset'" } ], "name": "ZodError" } ], "path": [ "mode" ], "message": "Invalid input" }, { "code": "invalid_union", "unionErrors": [ { "issues": [ { "code": "invalid_literal", "expected": 1, "path": [ "speed" ], "message": "Invalid literal value, expected 1" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_literal", "expected": 0.75, "path": [ "speed" ], "message": "Invalid literal value, expected 0.75" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_literal", "expected": 0.5, "path": [ "speed" ], "message": "Invalid literal value, expected 0.5" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_literal", "expected": 0.25, "path": [ "speed" ], "message": "Invalid literal value, expected 0.25" } ], "name": "ZodError" } ], "path": [ "speed" ], "message": "Invalid input" }, { "code": "invalid_type", "expected": "array", "received": "undefined", "path": [ "sensors" ], "message": "Required" }

Plugin version

v3.0.0-beta.19

Homebridge version

v3.4.3

Node.js® version

v18.17.1

Log output of the test-api command

Unable to locate directory

More logs relevant to this bug

Nothing else really.  Just getting this error.

Legal Agreements

mrjackyliang commented 6 months ago

Hi @mikezucker, the configuration has changed from v2. Please use the new configuration UI. If you are using HOOBS, please read the README.md file for more information on what to change.

mikezucker commented 6 months ago

Thanks so much and my apologies for not reading carefully!

Have a great new year!

On Jan 7, 2024, at 11:18, Jacky Liang @.***> wrote:

Closed #127 https://github.com/mrjackyliang/homebridge-adt-pulse/issues/127 as completed.

— Reply to this email directly, view it on GitHub https://github.com/mrjackyliang/homebridge-adt-pulse/issues/127#event-11411513061, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPCOVTYVPSC3ZOCVLWUW5DYNLDDRAVCNFSM6AAAAABBQNAHMWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGQYTCNJRGMYDMMI. You are receiving this because you were mentioned.

mrjackyliang commented 6 months ago

If you have any other questions, feel free to open up a new issue.

github-actions[bot] commented 4 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.