Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-yc-wong committed Nov 11, 2024
0 parents commit f7603a3
Show file tree
Hide file tree
Showing 100 changed files with 178 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
13 changes: 13 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en" data-critters-container>
<head>
<meta charset="utf-8">
<title>WattPatrol</title>
<base href="/Watt-Patrol/">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" type="image/x-icon" href="wattpatrol.ico">
<style>html,body{margin:0;position:absolute;height:100%;width:100%}body{display:inline-block;overflow:hidden;background-color:#9ed5eb;background-image:url("./media/background-T5NTGB4M.png");background-size:cover;background-repeat:no-repeat;transition:background-color 1s ease}</style><link rel="stylesheet" href="styles-WHZE4NFH.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-WHZE4NFH.css"></noscript></head>
<body>
<app-root></app-root>
<script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-2HYIQDIK.js" type="module"></script></body>
</html>
Binary file added assets/audio/lightbulb/ac-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/ac-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/ac-2.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/ac-3.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/ceiling-fan-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/ceiling-fan-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/dryer-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/dryer-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/dryer-2.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/idle-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/idle-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/light-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/light-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/light-2.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/oven-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/oven-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/oven-2.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/porch-light-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/porch-light-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/refrigerator-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/refrigerator-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/solar-panel-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/solar-panel-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/solar-panel-2.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/tv-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/tv-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/washer-0.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/washer-1.m4a
Binary file not shown.
Binary file added assets/audio/lightbulb/washer-2.m4a
Binary file not shown.
Binary file added assets/fonts/comic.ttf
Binary file not shown.
Binary file added assets/fonts/digital-7.ttf
Binary file not shown.
Binary file added assets/images/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/energy-meter/grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/energy-meter/meter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/ac.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/ac_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/ac_off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/ceilingfan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/ceilingfan_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/dryer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/dryer_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/house.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/light_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/oven.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/oven_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/porchlight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/porchlight_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/refrigerator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/refrigerator_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/solarpanel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/solarpanel_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/tv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/tv_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/washer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/house/washer_glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/lightbulb/lightbulb.png
Binary file added assets/images/lightbulb/speech-bubble.png
Binary file added assets/images/preview.gif
Binary file added assets/images/sky/day.PNG
Binary file added assets/images/sky/evening.PNG
Binary file added assets/images/sky/night.PNG
140 changes: 140 additions & 0 deletions assets/json/lightbulb-messages-audio.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
{
"ac": [
{
"msg": "ACs use a lot of energy!",
"file": "ac-0.m4a"
},
{
"msg": "Make sure to close all windows if the AC is on!",
"file": "ac-1.m4a"
},
{
"msg": "Make sure to turn off the AC when you leave the house!",
"file": "ac-2.m4a"
},
{
"msg": "Using fans with the AC can help cool the house better!",
"file": "ac-3.m4a"
}
],
"ceiling-fan": [
{
"msg": "Fans use much less electricity than AC.",
"file": "ceiling-fan-0.m4a"
},
{
"msg": "It is better to open the windows when you are using fans.",
"file": "ceiling-fan-1.m4a"
}
],
"dryer": [
{
"msg": "Drying machines use a lot of energy!",
"file": "dryer-0.m4a"
},
{
"msg": "Using low heat will use less energy.",
"file": "dryer-1.m4a"
},
{
"msg": "Drying your clothes out in the sun does not use any electricity!",
"file": "dryer-2.m4a"
}
],
"idle": [
{
"msg": "Turn on an appliance to see how much electricity it uses!",
"file": "idle-0.m4a"
},
{
"msg": "You can tap the screen or use the switch!",
"file": "idle-1.m4a"
}
],
"light": [
{
"msg": "LED lights use less energy.",
"file": "light-0.m4a"
},
{
"msg": "LED lights can last for a long time.",
"file": "light-1.m4a"
},
{
"msg": "Turn off the light when you leave the room to save energy!",
"file": "light-2.m4a"
}
],
"oven": [
{
"msg": "Electric ovens need a lot of energy.",
"file": "oven-0.m4a"
},
{
"msg": "Ovens can be HOT. Do not use the oven without an adult around!",
"file": "oven-1.m4a"
},
{
"msg": "Cooking on the stove uses less energy than cooking in the oven.",
"file": "oven-2.m4a"
}
],
"porch-light": [
{
"msg": "Motion-activated porch lights can save energy.",
"file": "porch-light-0.m4a"
},
{
"msg": "Solar-powered porch lights are a great option to save energy!",
"file": "porch-light-1.m4a"
}
],
"refrigerator": [
{
"msg": "Refrigerators are always on to keep your food cold.",
"file": "refrigerator-0.m4a"
},
{
"msg": "Try not to leave the refrigerator open for long.",
"file": "refrigerator-1.m4a"
}
],
"solar-panel": [
{
"msg": "Solar panels turn sunlight into energy.",
"file": "solar-panel-0.m4a"
},
{
"msg": "Solar panels work the best when it is sunny!",
"file": "solar-panel-1.m4a"
},
{
"msg": "Solar energy is renewable energy.",
"file": "solar-panel-2.m4a"
}
],
"tv": [
{
"msg": "Old CRT TVs use more energy than new LED TVs.",
"file": "tv-0.m4a"
},
{
"msg": "Turn off the TV when you are not watching to save energy!",
"file": "tv-1.m4a"
}
],
"washer": [
{
"msg": "Washing machines need electricity too!",
"file": "washer-0.m4a"
},
{
"msg": "Washing clothes with hot water uses more energy.",
"file": "washer-1.m4a"
},
{
"msg": "Many washers have eco-friendly settings!",
"file": "washer-2.m4a"
}
]
}
Binary file added assets/sounds/ac-loop.mp3
Binary file not shown.
Binary file added assets/sounds/ac-loop.wav
Binary file not shown.
Binary file added assets/sounds/ac-off.mp3
Binary file not shown.
Binary file added assets/sounds/ac-off.wav
Binary file not shown.
Binary file added assets/sounds/ac-on.mp3
Binary file not shown.
Binary file added assets/sounds/ac-on.wav
Binary file not shown.
Binary file added assets/sounds/ceilingfan-off.wav
Binary file not shown.
Binary file added assets/sounds/ceilingfan-on.wav
Binary file not shown.
Binary file added assets/sounds/dryer-off.wav
Binary file not shown.
Binary file added assets/sounds/dryer-on.wav
Binary file not shown.
Binary file added assets/sounds/fan-on.mp3
Binary file not shown.
Binary file added assets/sounds/light-off.wav
Binary file not shown.
Binary file added assets/sounds/light-on.wav
Binary file not shown.
Binary file added assets/sounds/oven-off.wav
Binary file not shown.
Binary file added assets/sounds/oven-on.wav
Binary file not shown.
Binary file added assets/sounds/porchlight-off.wav
Binary file not shown.
Binary file added assets/sounds/porchlight-on.wav
Binary file not shown.
Binary file added assets/sounds/refrigerator-off.wav
Binary file not shown.
Binary file added assets/sounds/refrigerator-on.wav
Binary file not shown.
Binary file added assets/sounds/turnoff.mp3
Binary file not shown.
Binary file added assets/sounds/turnon.mp3
Binary file not shown.
Binary file added assets/sounds/tv-off.wav
Binary file not shown.
Binary file added assets/sounds/tv-on.wav
Binary file not shown.
Binary file added assets/sounds/washer-off.wav
Binary file not shown.
Binary file added assets/sounds/washer-on.wav
Binary file not shown.
Binary file added favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en" data-critters-container>
<head>
<meta charset="utf-8">
<title>WattPatrol</title>
<base href="/Watt-Patrol/">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" type="image/x-icon" href="wattpatrol.ico">
<style>html,body{margin:0;position:absolute;height:100%;width:100%}body{display:inline-block;overflow:hidden;background-color:#9ed5eb;background-image:url("./media/background-T5NTGB4M.png");background-size:cover;background-repeat:no-repeat;transition:background-color 1s ease}</style><link rel="stylesheet" href="styles-WHZE4NFH.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-WHZE4NFH.css"></noscript></head>
<body>
<app-root></app-root>
<script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-2HYIQDIK.js" type="module"></script></body>
</html>
9 changes: 9 additions & 0 deletions main-2HYIQDIK.js

Large diffs are not rendered by default.

Binary file added media/background-T5NTGB4M.png
Binary file added media/comic-GJAHG5XG.ttf
Binary file not shown.
Binary file added media/digital-7-CXYRQQZV.ttf
Binary file not shown.
Binary file added media/meter-ARYQV2XQ.png
2 changes: 2 additions & 0 deletions polyfills-FFHMD2TL.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions styles-WHZE4NFH.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added wattpatrol.ico
Binary file not shown.

0 comments on commit f7603a3

Please sign in to comment.