Skip to content

Commit

Permalink
working with setting up idle conf in configuration/idle-device-manage…
Browse files Browse the repository at this point in the history
…ment/config.json
  • Loading branch information
devireddyprasanth22 committed Sep 25, 2024
1 parent 2ab676c commit 0ca531a
Show file tree
Hide file tree
Showing 2 changed files with 248 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configuration/eclipse-mosquitto/mosquitto.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ listener 1883
log_dest stdout

# Set this to true to allow unauthenticated connections
allow_anonymous false
allow_anonymous true

# Comment this line if you don't use authentication
password_file /mosquitto/config/passwd
# password_file /mosquitto/config/passwd
246 changes: 246 additions & 0 deletions configuration/idle-device-management/config.json/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
[
{
"siteName": "Adel's House",
"timeZoneId": "Australia/Melbourne",
"rooms": [
{
"roomName": "Kitchen",
"appliances": [
{
"deviceName": "Pressure Cooker",
"sensorName": "athom-smart-plug-v2-a78714",
"standbyThreshold": 0.12,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 600,
"standardUseTimes": [
{
"startTime": "10:00",
"endTime": "15:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Tea Maker",
"sensorName": "athom-smart-plug-v2-cbdcfe",
"standbyThreshold": 245,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 600,
"standardUseTimes": [
{
"startTime": "06:00",
"endTime": "21:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Rangehood",
"sensorName": "athom-smart-plug-v2-a7f73f",
"standbyThreshold": 1.6,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "08:00",
"endTime": "11:00",
"daysOfWeek": [6, 7]
},
{
"startTime": "17:00",
"endTime": "21:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Air Fryer",
"sensorName": "athom-smart-plug-v2-d781f0",
"standbyThreshold": 205,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 300,
"standardUseTimes": [
{
"startTime": "12:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Microwave",
"sensorName": "athom-smart-plug-v2-f18175",
"standbyThreshold": 1,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "12:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Toaster",
"sensorName": "athom-smart-plug-v2-3fec07",
"standbyThreshold": 1,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "08:00",
"endTime": "20:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Kettle",
"sensorName": "athom-smart-plug-v2-a76459",
"standbyThreshold": 1,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"startTime": "08:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Dishwasher",
"sensorName": "athom-smart-plug-v2-a786ca",
"standbyThreshold": 11,
"recommendedForAutoOff": false,
"cutoffWaitSeconds": 300,
"standardUseTimes": [
{
"startTime": "10:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
},
{
"deviceName": "Oven",
"sensorName": "athom-smart-plug-v2-d7ac05",
"standbyThreshold": 11,
"recommendedForAutoOff": false,
"cutoffWaitSeconds": 300,
"standardUseTimes": [
{
"startTime": "16:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
}
],
"motionSensors": [
{
"sensorName": "athom-presence-sensor-f9a74f"
}
]
},
{
"roomName": "Laundry",
"appliances": [
{
"deviceName": "Washing Machine",
"sensorName": "athom-smart-plug-v2-f1867c",
"standbyThreshold": 0.6,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 300,
"standardUseTimes": [
{
"startTime": "09:00",
"endTime": "22:00",
"daysOfWeek": [1, 2, 3, 4, 5, 6, 7]
}
]
}
],
"motionSensors": []
},
{
"roomName": "Study",
"appliances": [
{
"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": "Lounge",
"appliances": [
{
"deviceName": "TV",
"sensorName": "athom-smart-plug-v2-f16702",
"standbyThreshold": 0.61,
"recommendedForAutoOff": true,
"cutoffWaitSeconds": 180,
"standardUseTimes": [
{
"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": [
{
"sensorName": "athom-presence-sensor-f9a6c5"
}
]
}
]
}
]

0 comments on commit 0ca531a

Please sign in to comment.