homebridge-sharp-cocoro
v1.2.3
Published
Integrates homebridge with SHARP's Cocoro API
Downloads
17
Readme
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