From a4392c37f78f0e70e23ef2740af2dc644fead7ac Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Fri, 20 Oct 2023 06:42:54 -0400 Subject: [PATCH] Added app welcome page --- index.php | 3 - welcome/index.php | 172 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 172 insertions(+), 3 deletions(-) create mode 100644 welcome/index.php diff --git a/index.php b/index.php index 31e2e9a..2354485 100644 --- a/index.php +++ b/index.php @@ -20,9 +20,6 @@ $_COOKIE['session_key'] = 'd31d3ef451fe65885928e5e1bdf4af321f702009'; } - require_once 'api/cora/setting.php'; - $setting = cora\setting::get_instance(); - // If you're not logged in, just take you directly to the ecobee login page. if(isset($_COOKIE['session_key']) === false) { header('Location: https://' . $_SERVER['HTTP_HOST'] . '/api/?resource=ecobee&method=authorize&arguments={}&api_key=' . $setting->get('beestat_api_key_local')); diff --git a/welcome/index.php b/welcome/index.php new file mode 100644 index 0000000..4fe4c4b --- /dev/null +++ b/welcome/index.php @@ -0,0 +1,172 @@ +get('beestat_api_key_local')); + die(); + } + +?> + + + + + beestat + + + + + + +
+ +
+
+
+
+
+ Data analytics and home comparisons for your smart thermostat +
+
+ +
+
+
+
+
+
+ Beestat connects with your thermostat and provides you with useful charts and analytics so that you can make informed decisions and see how changes you make lower your energy footprint. +
+
+ +