homebridge / verified

Plugins Verified by Homebridge
https://homebridge.io/w/Verified-Plugins
GNU General Public License v3.0
366 stars 17 forks source link

homebridge-petkit-platform #514

Closed jubepue closed 1 year ago

jubepue commented 1 year ago

Link To GitHub Repo

https://github.com/jubepue/homebridge-petkit-platform

Link To NPM Package

https://www.npmjs.com/package/homebridge-petkit-platform

github-actions[bot] commented 1 year ago

:white_check_mark: Pre-checks completed successfully.

github-actions[bot] commented 1 year ago

Node 14 or higher

[2/18/2023, 8:20:16 AM] TypeError: Cannot read properties of undefined (reading 'debug')
    at new PetkitPlatform (/usr/local/lib/node_modules/homebridge-petkit-platform/index.js:23:22)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:474:40
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:401:27)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:176:29)
[2/18/2023, 8:20:16 AM] Got SIGTERM, shutting down Homebridge...
[2/18/2023, 8:20:16 AM] AssertionError [ERR_ASSERTION]: Cannot generate setupURI on an accessory that isn't published yet!
    at Bridge.Accessory.setupURI (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:994:11)
    at Server.setServerStatus (/usr/local/lib/node_modules/homebridge/src/server.ts:155:45)
    at Server.teardown (/usr/local/lib/node_modules/homebridge/src/server.ts:199:10)
    at signalHandler (/usr/local/lib/node_modules/homebridge/src/cli.ts:93:12)
    at process.emit (node:events:513:28)
    at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)

Comment /check to run checks again.

jubepue commented 1 year ago

/check

github-actions[bot] commented 1 year ago

The following pre-checks failed:

:x: Failed to import plugin: missing ) after argument list

Comment /check to run checks again.

jubepue commented 1 year ago

/check

github-actions[bot] commented 1 year ago

The following pre-checks failed:

:x: Failed to import plugin: missing ) after argument list

Comment /check to run checks again.

jubepue commented 1 year ago

/check

github-actions[bot] commented 1 year ago

:white_check_mark: Pre-checks completed successfully.

donavanbecker commented 1 year ago
[2/21/2023, 10:03:57 AM] [PetkitPlatform] Initializing PetkitPlatform platform...
[2/21/2023, 10:03:57 AM] TypeError: Cannot read properties of undefined (reading 'debug')
    at new PetkitPlatform (/usr/local/lib/node_modules/homebridge-petkit-platform/index.js:25:44)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:474:40
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:401:27)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:176:29)
[2/21/2023, 10:03:57 AM] Got SIGTERM, shutting down Homebridge...
[2/21/2023, 10:03:57 AM] AssertionError [ERR_ASSERTION]: Cannot generate setupURI on an accessory that isn't published yet!
    at Bridge.Accessory.setupURI (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:994:11)
    at Server.setServerStatus (/usr/local/lib/node_modules/homebridge/src/server.ts:155:45)
    at Server.teardown (/usr/local/lib/node_modules/homebridge/src/server.ts:199:10)
    at signalHandler (/usr/local/lib/node_modules/homebridge/src/cli.ts:93:12)
    at process.emit (node:events:513:28)
    at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)
jubepue commented 1 year ago

/check

github-actions[bot] commented 1 year ago

:white_check_mark: Pre-checks completed successfully.

donavanbecker commented 1 year ago
PetkitOpenAPI response: {"error":{"code":125,"msg":"El número de teléfono no está registrado."}} path = /user/login
[2/21/2023, 12:31:00 PM] TypeError: Cannot read properties of undefined (reading 'session')
    at PetkitOpenAPI.login (/usr/local/lib/node_modules/homebridge-petkit-platform/lib/petkitopenapi.js:61:65)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at PetkitPlatform.initPetkitSDK (/usr/local/lib/node_modules/homebridge-petkit-platform/index.js:57:5)
jubepue commented 1 year ago

/check

github-actions[bot] commented 1 year ago

:white_check_mark: Pre-checks completed successfully.

donavanbecker commented 1 year ago

Everything looks good!

github-actions[bot] commented 1 year ago

Congratulations! Your plugin has been verified.

You can now add the Verified by Homebridge badge to your plugin's README:

verified-by-homebridge

[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)

Your plugin is now also eligible to display a :heart: Donate button on it's tile in the Homebridge UI. See https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Donation-Links for instructions.

Thank you for your contribution to the Homebridge Community. https://homebridge.io