Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "devices": [
- {
- "deviceName": "HVAC Controller",
- "deviceType": "HVAC Controller",
- "devicePath": "",
- "parameters": [
- { "paramName": "heat", "paramType": "bool", "paramActions": "both"},
- { "paramName": "ac", "paramType": "bool","paramActions": "both"},
- { "paramName": "fan", "paramType": "bool", "paramActions": "both"},
- { "paramName": "off_time", "paramType": "number", "paramActions": "both"},
- { "paramName": "update_period", "paramType": "number", "paramActions": "both"}
- ]
- },
- {
- "deviceName": "Temperature Sensor",
- "deviceType": "Temperature Sensor",
- "devicePath": "",
- "parameters": [
- { "paramName": "temperature", "paramType": "number", "paramActions": "both"}
- ]
- },
- {
- "deviceName": "Temperature Set Point",
- "deviceType": "Temperature Set Point",
- "devicePath": "",
- "parameters": [
- { "paramName": "set_temperature", "paramType": "number", "paramActions": "both"}
- ]
- }
- ],
- "actions": [
- {
- "actionName": "HVAC Idle",
- "actionCommands": [
- {"paramID": "heat", "paramValue": "false"},
- {"paramID": "ac", "paramValue": "false"},
- {"paramID": "fan", "paramValue": "false"}
- ]
- },
- {
- "actionName": "HVAC Heat",
- "actionCommands": [
- {"paramID": "heat", "paramValue": "true"},
- {"paramID": "ac", "paramValue": "false"},
- {"paramID": "fan", "paramValue": "true"}
- ]
- },
- {
- "actionName": "HVAC Cool",
- "actionCommands": [
- {"paramID": "heat", "paramValue": "false"},
- {"paramID": "ac", "paramValue": "true"},
- {"paramID": "fan", "paramValue": "true"}
- ]
- },
- {
- "actionName": "HVAC Vent",
- "actionCommands": [
- {"paramID": "heat", "paramValue": "false"},
- {"paramID": "ac", "paramValue": "false"},
- {"paramID": "fan", "paramValue": "true"}
- ]
- }
- ],
- "conditions": [
- {
- "conditionName": "Temperature Greater Than Set Temperature",
- "paramID": "temperature",
- "conditionType": "dynamic",
- "comparison": ">",
- "comparisonParameter": "set_temperature",
- "tolerance": "2",
- "actionID": "hvac_cool"
- },
- {
- "conditionName": "Temperature Less Than Set Temperature",
- "paramID": "temperature",
- "conditionType": "dynamic",
- "comparison": "<",
- "comparisonParameter": "set_temperature",
- "tolerance": "2",
- "actionID": "hvac_heat"
- },
- {
- "conditionName": "Temperature Equal to Set Temperature",
- "paramID": "temperature",
- "conditionType": "dynamic",
- "comparison": "=",
- "comparisonParameter": "set_temperature",
- "tolerance": "2",
- "actionID": "hvac_idle"
- }
- ]
- }
Add Comment
Please, Sign In to add comment