homebridge-ambiclimate-feedback v0.0.1
homebridge-ambiclimate-feedback
This is an Ambi Climate comfortable mode feedback plugin for homebridge. It adds 7 switches for each physical device:
- Too Hot
- Too Warm
- Bit Warm
- Comfortable
- Bit Cold
- Too Cold
- Freezing
Installation
npm install -g homebridge-ambiclimate-feedback
This plugin augments a pre-existing implementation of homebridge. Refer to nfarina/homebridge for installation instructions.
Register a OAuth Client in the Ambi Dev Portal for each Ambi Climate device by following the steps on the Quick Start page. You require the Client Id and Client Secret of that client in order to use this wrapper.
Update your homebridge configuration file (as below).
Configuration
"accessories" : [
{
"accessory": "AmbiClimateFeedback",
"name": "<Name for Accessory>",
"roomName": "<Name of Ambi Climate Device>",
"locationName": "<Name of Ambi Climate Location>",
"clientId": "<Ambi Climate OAuth Client Id>",
"clientSecret": "<Ambi Climate OAuth Client Secret>",
"username": "<Ambi Climate Username>",
"password": "<Ambi Climate Password>",
}
]
Separate homebridge accessories can be defined for each Ambi Climate device to be controlled.
accessory
: Must be "AmbiClimate"name
: Can be anything, this will be the name of the Accessory within HomeKit Appsroom_name
: Must match the value within the Ambi Climate Applocation_name
: Must match the value within the Ambi Climate AppclientId
: The Client Id value for the OAUTH Client obtained from Ambi Dev PortalclientSecret
: The Client Secret value for the OAUTH Client obtained from Ambi Dev Portalusername
: Your Ambi Climate usernamepassword
: Your Ambi Climate password
Scene
Since this feedback plugin is based on switches, I recommand to set scenses, making it easier to use Siri. If you want to use Siri without scenes, you would say: "Hey Siri, turn on Too Hot". With scene, you can just say: "Hey Siri, too hot", which is more natural.
Limitation
There's no API to get current feedback for comfortable mode. Therefore, the switches would be turn off automatically after sending feedbacks.
Reference
5 years ago