Heat and cold triggers
You can now define heat and cold triggers:
{
"bridge": {
"name": "Ruuvi",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "RuuviTag bridge",
"accessories": [
{
"accessory": "Ruuvitag",
"name": "Garden",
"id": "ca67bf52ca12",
"coldTrigger": {
"value": 0,
"name": "Below zero!"
},
"heatTrigger": {
"value": 20,
"name": "Nice and warm!"
}
},
{
"accessory": "Ruuvitag",
"name": "Sauna",
"id": "fa81b4c6a891",
"heatTrigger": {
"value": 70,
"name": "Sauna ready!"
}
},
{
"accessory": "Ruuvitag",
"name": "Refridgerator",
"id": "ac67df12bb34",
"heatTrigger": {
"value": 6,
"name": "Too warm!"
},
"coldTrigger": {
"value": 2,
"name": "Too cold!"
}
}
]
}