node-red-contrib-ambiclimate
v1.0.2
Published
A collection of Node-RED nodes to control Ambi Climate devices.
Downloads
47
Maintainers
Readme
node-red-contrib-ambiclimate
A collection of Node-RED nodes to control Ambi Climate devices.
Installation
Run the following command in the root directory of your Node-RED install
npm install node-red-contrib-ambiclimate
OAuth Client
Register a OAuth Client in the Ambi Dev Portal 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 node.
Usage
Separate nodes are provided for each of the capabilities of the LIFX HTTP Remote Control API.
Each node can be configured, or can receive settings in the triggering msg
.
Power Off
Power off your AC
Sample input msg.payload
:
{
"room_name": "Bedroom",
"location_name": "Home"
}
Comfort Mode
Enable Comfort mode on your AC
Sample input msg.payload
{
"room_name": "Bedroom",
"location_name": "Home"
}
Away Temperature Lower
Enable Away mode and set an lower bound for temperature. Ambi will try to keep temperature above the lower bound.
Sample input msg.payload
{
"room_name": "Bedroom",
"location_name": "Home",
"value": 15
}
Away Temperature Upper
Enable Away mode on your AC to stay above target temperature. Ambi will try to keep temperature below the upper bound.
Sample input msg.payload
{
"room_name": "Bedroom",
"location_name": "Home",
"value": 22
}
Away Humidity Upper
Enable Away mode and set an upper bound for humidity. Ambi will try to keep humidity below the upper bound.
Sample input msg.payload
{
"room_name": "Bedroom",
"location_name": "Home",
"value": 70
}
Temperature Mode
Enable Temperature mode on your AC
Sample input msg.payload
{
"room_name": "Bedroom",
"location_name": "Home",
"value": 24
}
Sensor Temperature
Get latest sensor temperature data.
Sample input msg.payload
{
"room_name": "Bedroom",
"location_name": "Home"
}
Sample output msg.payload
{
"room_name": "Bedroom",
"location_name": "Home",
"created_on": "2016-08-19T08:08:01+00:00",
"value": 28.970001220703125
}
Sensor Humidity
Get latest sensor humidity data.
Sample input msg.payload
{
"room_name": "Bedroom",
"location_name": "Home"
}
Sample output msg.payload
{
"room_name": "Bedroom",
"location_name": "Home",
"created_on": "2016-08-19T08:08:01+00:00",
"value": 68.08000183105469
}
Current Mode
Get Ambi Climate's current working mode.
Sample input msg.payload
{
"room_name": "Bedroom",
"location_name": "Home"
}
Sample output msg.payload
{
"room_name": "Bedroom",
"location_name": "Home",
"mode": "Away_Temperature_Upper",
"value": 25
}