homebridge-sharp-cocoro
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

homebridge-sharp-cocoro

work in progress plugin to add HomeKit support to the SHARP Cocoro API that is being used by their series of smart home appliances

Powered by my cocoro-sdk

Features

  • Control aircon temperature
  • Control aircon windspeed
  • Control aircon heating/cooling mode

Install

yarn add homebridge-sharp-cocoro

or

npm install homebridge-sharp-cocoro

Then add the SharpCocoroPlatform

    {
      "name": "SharpCocoroPlatform",
      "platform": "SharpCocoroPlatform",
      "appSecret": "xxxx",
      "appKey": "yyyy",
      "serviceName": "iClub" // <- optional. leave if 'iClub'
    }

Caveats

Currently to authenticate, you need to use something like mitmproxy, charles or proxyman to extract the API token that your app is using. You can do this by adding the proxy and simply opening the app.

Hopefully we can eventually make that easier, but currently there is no way around it.

Check out the README of the cocoro-sdk repo with instructions: https://github.com/dvcrn/cocoro-sdk#authentication

/homebridge-sharp-cocoro/

    Package Sidebar

    Install

    npm i homebridge-sharp-cocoro

    Weekly Downloads

    1

    Version

    1.2.3

    License

    AGPL

    Unpacked Size

    79.9 kB

    Total Files

    42

    Last publish

    Collaborators

    • dvcrn