codyc1515 / homebridge-panasonic-air-conditioner

Panasonic Air Conditioner / Heat Pump plugin for HomeBridge using the Panasonic Comfort Cloud API to expose Panasonic Air Conditioners to Apples HomeKit
MIT License
34 stars 13 forks source link

Cannot install #19

Closed EvertJob closed 4 years ago

EvertJob commented 4 years ago

Hi,

When I try to install the plugin I'm getting the following results:

pi@raspberrypi:~ $ sudo npm i homebridge-panasonic-air-conditioner
npm WARN pi@1.0.0 No description
npm WARN pi@1.0.0 No repository field.

+ homebridge-panasonic-air-conditioner@2.1.1
updated 1 package and audited 1601 packages in 20.921s
found 0 vulnerabilities

Then I'm adding the following information to the homebridge config:

{
  "accessory": "PanasonicAirConditioner",
  "name": "Panasonic Heat Pump",
  "email": "EMAIL",
  "password": "PASSWORD"
}

After that I started homebridge and it shutdown with the following errors:

[2020-3-14 09:24:28] Error: The requested accessory 'PanasonicAirConditioner' was not registered by any plugin.
    at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:64:13)
    at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:297:42)
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:91:38)
    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
[2020-3-14 09:24:28] Got SIGTERM, shutting down Homebridge...

Any one a great idea to get it fixed?