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. +
+
+ +