Skip to content

Commit

Permalink
config.example.json to contain config.adel.json for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
devireddyprasanth22 committed Sep 26, 2024
1 parent da0c7d8 commit 97d66a9
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 91 deletions.
2 changes: 1 addition & 1 deletion config.adel.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"deviceName": "Kettle",
"sensorName": "athom-smart-plug-v2-a78696",
"sensorName": "athom-smart-plug-v2-a76459",
"standbyThreshold": 1,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 180,
Expand Down
248 changes: 158 additions & 90 deletions config.example.json
Original file line number Diff line number Diff line change
@@ -1,178 +1,246 @@
[
{
"siteName": "HumaniSE Lab",
"siteName": "Adel's House",
"timeZoneId": "Australia/Melbourne",
"rooms": [
{
"roomName": "BG06",
"roomName": "Kitchen",
"appliances": [
{
"deviceName": "Dell docking station",
"sensorName": "athom-smart-plug-v2-a76dee",
"standbyThreshold": 0.5,
"deviceName": "Pressure Cooker",
"sensorName": "athom-smart-plug-v2-a78714",
"standbyThreshold": 0.12,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 120,
"cutoffWaitSeconds": 600,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "10:00",
"endTime": "15:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "WiFi router",
"sensorName": "athom-smart-plug-v2-a788fa",
"standbyThreshold": 0,
"recommendedForAutoOff": false,
"cutoffWaitSeconds": 0,
"deviceName": "Tea Maker",
"sensorName": "athom-smart-plug-v2-cbdcfe",
"standbyThreshold": 245,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 600,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "06:00",
"endTime": "21:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Dell monitor",
"sensorName": "athom-smart-plug-v2-a78d3f",
"standbyThreshold": 0.1,
"deviceName": "Rangehood",
"sensorName": "athom-smart-plug-v2-a7f73f",
"standbyThreshold": 1.6,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 120,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "08:00",
"endTime": "11:00",
"daysOfWeek": [6, 7]
},
{
"startTime": "17:00",
"endTime": "21:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Dell monitor",
"sensorName": "athom-smart-plug-v2-a79120",
"standbyThreshold": 0.1,
"deviceName": "Air Fryer",
"sensorName": "athom-smart-plug-v2-d781f0",
"standbyThreshold": 205,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 120,
"cutoffWaitSeconds": 300,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "12:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Desk height adjustment",
"sensorName": "athom-smart-plug-v2-a795b9",
"standbyThreshold": 0.3,
"deviceName": "Microwave",
"sensorName": "athom-smart-plug-v2-f18175",
"standbyThreshold": 1,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 120,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "12:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Motion sensor",
"sensorName": "athom-smart-plug-v2-a7ec4d",
"standbyThreshold": 0,
"recommendedForAutoOff": false,
"cutoffWaitSeconds": 0,
"deviceName": "Toaster",
"sensorName": "athom-smart-plug-v2-3fec07",
"standbyThreshold": 1,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "08:00",
"endTime": "20:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Desk height adjustment",
"sensorName": "athom-smart-plug-v2-a7f445",
"standbyThreshold": 0.3,
"deviceName": "Kettle",
"sensorName": "athom-smart-plug-v2-a76459",
"standbyThreshold": 1,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 120,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "08:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Dell monitor",
"sensorName": "athom-smart-plug-v2-a7f4ca",
"standbyThreshold": 0.1,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 120,
"deviceName": "Dishwasher",
"sensorName": "athom-smart-plug-v2-a786ca",
"standbyThreshold": 11,
"recommendedForAutoOff": false,
"cutoffWaitSeconds": 300,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "10:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Dell monitor",
"sensorName": "athom-smart-plug-v2-a7f695",
"standbyThreshold": 0.1,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 120,
"deviceName": "Oven",
"sensorName": "athom-smart-plug-v2-d7ac05",
"standbyThreshold": 11,
"recommendedForAutoOff": false,
"cutoffWaitSeconds": 300,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "16:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
}
],
"motionSensors": [
{
"deviceName": "Alogic docking station",
"sensorName": "athom-smart-plug-v2-a7f704",
"standbyThreshold": 1,
"sensorName": "athom-presence-sensor-f9a74f"
}
]
},
{
"roomName": "Laundry",
"appliances": [
{
"deviceName": "Washing Machine",
"sensorName": "athom-smart-plug-v2-f1867c",
"standbyThreshold": 0.6,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 120,
"cutoffWaitSeconds": 300,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "09:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
}
],
"motionSensors": [
"motionSensors": []
},
{
"roomName": "Study",
"appliances": [
{
"sensorName": "athom-presence-sensor-f9a715"
"deviceName": "Printer",
"sensorName": "athom-smart-plug-v2-f13f8e",
"standbyThreshold": 0.21,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 300,
"standardUseTimes": [
{
"startTime": "09:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Lamp",
"sensorName": "athom-smart-plug-v2-f13f8e",
"standbyThreshold": 0.2,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 360,
"standardUseTimes": [
{
"startTime": "18:00",
"endTime": "23:59",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
}
]
],
"motionSensors": []
},
{
"roomName": "BG06 no motion sensor example",
"roomName": "Lounge",
"appliances": [
{
"deviceName": "HP monitor",
"sensorName": "athom-smart-plug-v2-a75176",
"standbyThreshold": 0.1,
"deviceName": "TV",
"sensorName": "athom-smart-plug-v2-f16702",
"standbyThreshold": 0.61,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 120,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "08:30",
"endTime": "17:00",
"daysOfWeek": [1, 2, 3, 4, 5]
"startTime": "09:00",
"endTime": "13:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
},
{
"startTime": "16:00",
"endTime": "00:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Heater",
"sensorName": "athom-smart-plug-v2-3ff088",
"standbyThreshold": 0.61,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "15:00",
"endTime": "23:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
}
],
"motionSensors": []
"motionSensors": [
{
"sensorName": "athom-presence-sensor-f9a6c5"
}
]
}
]
}
]
]

0 comments on commit 97d66a9

Please sign in to comment.