homebridge-carwings

0.0.6 • Public • Published

Homebridge Carwings Plugin

This is an accessory plugin for Homebridge allowing to manage and control the Nissan Leaf. This gives Siri/homeKit the ability to get the HVAC status, battery level, and charge status.

What does this plugin do?

This plugin connects to the carwings API using provided credentials, then adds an accessory with multiple services for Battery/Fan.

Install

Important: This plugin is using ES6. Please use an appropriate environment like NodeJS v7 or higher.

If you have already installed homebridge globally, just install

npm install -g homebridge-carwings

Configuration

The plugin registers itself as Carwings. You have the following options:

Option Default
email empty
password empty
updateInterval 600000

Email is the email associated with your Nissan Carwings account. Password can be plan text (not recommended), or a base64 string of your password.

Warning: Update Interval may spam your phone with charge notifications from the Nissan App. You may want to turn these notifications off or set updateInterval to "never". This is currently experimental.

Additionally you have the Homebridge options accessory (for the actual plugin) and name (for representation later).

Example config.json

{
  "bridge": {
    "name": "Homebridge",
    "username": "AA:BB:CC:DD:EE:FF",
    "port": 51826,
    "pin": "031-45-154"
  },
  "description": "This is an example configuration file with carwings plugin.",
  "accessories": [
    {
      "accessory": "Carwings",
      "name": "Leaf",
      "email": "example@youremail.com",
      "password": "TmljZVRyeSE=",
      "updateInterval": "never"
    }
  ],
  "platforms": [
  ]
}

Screenshots

License

MIT

Package Sidebar

Install

npm i homebridge-carwings

Weekly Downloads

2

Version

0.0.6

License

MIT

Last publish

Collaborators

  • blandman512