1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

191 Commits

Author SHA1 Message Date
Jon Ziebell
ff7e378132 Fixed the cookie-portion of the demo for #182 2019-11-09 06:01:44 -05:00
Jon Ziebell
d0ff64098a Fixed data download API calls not logging for #180
Forgot about the set_headers function in Cora.
2019-11-07 20:28:19 -05:00
Jon Ziebell
f0fe1b1760 Fixed #181 - Connecting to Patreon sits at "Waiting for Patreon..."
When I added transactions to everything a while back I neglected to notice that the Patreon initialize echoes some JavaScript and then dies. The die() was rolling back the transaction where the token and stuff got inserted.
2019-11-07 08:38:06 -05:00
Jon Ziebell
62970192ef Minor text fixes 2019-11-06 23:04:23 -05:00
Jon Ziebell
f5ff29d45e New Download Data button for #180
Adds a download data button with a somewhat customization date range selector.
2019-11-06 23:04:10 -05:00
Jon Ziebell
a8562b6878 Fixed #178 - Time change and why it sucks: A novel 2019-11-04 20:41:09 -05:00
Jon Ziebell
28b0d9dbd8 Fixed #176 - Cannot download temperature profiles chart
Forgot to update this one line of code when migrating to chart2.
2019-10-29 20:39:16 -04:00
Jon Ziebell
fc2755db87 Fixing case-sensitivity issue with information_schema query 2019-10-28 22:35:36 -04:00
Jon Ziebell
637e991d5e No more maintenance. 2019-10-28 22:35:07 -04:00
Jon Ziebell
2529cb680a Down for maintenance. 2019-10-28 21:47:21 -04:00
Jon Ziebell
7d391159ba Down for maintenance. 2019-10-28 21:20:11 -04:00
Jon Ziebell
eaee95736d Fixed #157 - Re-evaluate converged columns
Removed "json_" prefixes from all columns and converted columns to actual JSON types. Also removed all converged columns and converted contents to regular columns.
2019-10-28 21:18:43 -04:00
Jon Ziebell
43e547198b Fixed #165 - Convert Temperature Profiles to chart2
Also fixed #173 - Runtime Summary - No title/subtitle or filename on export.
2019-10-24 21:41:19 -04:00
Jon Ziebell
9992abc592 Updated thermostat weather to return values in tenths. 2019-10-24 21:35:40 -04:00
Jon Ziebell
3483873443 Fixed #167 - Set up apache rewrite for /dashboard
This is just removing the manual redirect. The Apache configuration was updated separately.
2019-10-23 20:40:50 -04:00
Jon Ziebell
f61b85e646 Fixed #170 - Remove event listeners from temperature profile score cards
Also did some massive cleanup on the home comparisons layer and associated components.
2019-10-23 15:25:03 -04:00
Jon Ziebell
3eda17a366 Re-added caching to runtime_thermostat->sync() 2019-10-19 2019-10-21 20:58:42 -04:00
Jon Ziebell
9c0c07a380 Removed CORS header
It was added when the plan was to have the app POST to api.beestat.io.
2019-10-21 20:57:54 -04:00
Jon Ziebell
f154236aee Adding temporary dashboard/ folder for redirect
This will eventually go away and probably just become part of the Apache config.
2019-10-20 23:10:41 -04:00
Jon Ziebell
69200bbf0c Fixed #161 - Reload loop after migration from beestat.io/dashboard to app.beestat.io
Another fix for users who don't land on the homepage.
2019-10-20 23:10:08 -04:00
Jon Ziebell
48baf93f25 Fixed #161 - Reload loop after migration from beestat.io/dashboard to app.beestat.io
This is a temporary change to address the reload loop due to bad cookies from beestat.io
2019-10-20 23:00:09 -04:00
Jon Ziebell
d60c5236fe Fixed #160 - Syncing fails if either heat or cool temps are null
No longer requiring indoor heat/cool temps non-null as a requirement for syncing a row.
2019-10-20 21:46:10 -04:00
Jon Ziebell
f141234b24 Fixed #159 - Current month is missing from Runtime Summary
Needed to move end moment for bucket calculation.
2019-10-20 14:29:36 -04:00
Jon Ziebell
e6600fecac Fixed #158 - Runtime Summary - Temperature units are correct but values are in °F
Forgot about temperature extremes.
2019-10-20 13:53:36 -04:00
Jon Ziebell
382e899a33 Fixed #158 - Runtime Summary - Temperature units are correct but values are in °F
Forgot to convert that value to °C for my Metric friends.
2019-10-20 13:41:47 -04:00
Jon Ziebell
55f9aae26f Subdomains!
beestat.io, app.beestat.io, api.beestat.io, demo.beestat.io They all now work and the cookies should behave better. Fixes #134 among other things.
2019-10-17 21:20:25 -04:00
Jon Ziebell
e195a5260b Allowing access to the API from any domain.
Necessary to make api.beestat.io work.
2019-10-17 12:40:29 -04:00
Jon Ziebell
47bcf5d45b Most of the changes for 1.4 2019-10-16 20:46:41 -04:00
Jon Ziebell
22671bb7b5 Fixed #154 - Patreon tokens are not refreshing properly
For real this time
2019-08-28 21:24:53 -04:00
Jon Ziebell
82563f3a55 Fixed #154 - Patreon tokens are not refreshing properly
I had copy/pasted this from the ecobee connection and forgot to change a few things for error handling.
2019-08-28 21:12:24 -04:00
Jon Ziebell
8f71679733 Fixes #151 - undefined is not an object
Was executing the success callback even on failure.
2019-08-19 21:32:04 -04:00
Jon Ziebell
759e700bba Removing stray console.log 2019-08-14 22:06:14 -04:00
Jon Ziebell
627182f742 A bit more cleanup for #148
Requiring at least one API call to call .send(), adding error message if responseText is null, fixing settings attempting to send empty API call if no settings changed.
2019-08-14 21:46:39 -04:00
Jon Ziebell
3a65f3afb2 Fixed #150 - Opening announcements attempts to set the same setting multiple times in a row 2019-08-14 21:42:32 -04:00
Jon Ziebell
c014f6c152 Completed #148. Technical debt reduced just a little bit. 2019-08-11 15:12:35 -04:00
Jon Ziebell
09f6b1c728 Updating logger to support the use of retention policies
Also having the ecobee logger use it
2019-08-10 07:23:02 -04:00
Jon Ziebell
b816715612 Fixed outdoor temperature on system card cutting off instead of rounding 2019-07-27 07:31:32 -04:00
Jon Ziebell
d9a577f7b2 Forgot this from Minor cosmetic fixes commit
7c0b088996ff4c40cb91c6151638fcc468fefc43
2019-07-26 19:33:58 -04:00
Jon Ziebell
50752f6dd6 Update to eslint rules 2019-07-26 19:33:03 -04:00
Jon Ziebell
260d29e3f6 Completed #141 - Display current outdoor weather
Current weather is now displayed on the System card and available in detail in a modal.
2019-07-26 19:32:15 -04:00
Jon Ziebell
81928fbf0c Resolved some lint errors 2019-07-25 22:39:06 -04:00
Jon Ziebell
b0da83bc2b Fixed #139 - Aggregate runtime week off by one 2019-07-24 22:21:16 -04:00
Jon Ziebell
7c0b088996 Minor cosmetic fixes 2019-07-23 20:19:16 -04:00
Jon Ziebell
c37e3be9af Reverting unintended changes related to #121.
Oops...mistakenly committed a bunch of stuff that wasn't ready to go live.
2019-07-19 22:07:53 -04:00
Jon Ziebell
3037b5cdb7 Fixed #137 - If initial sync fails it never properly completes.
It will now attempt to resume the sync if it fails. This will still require a refresh on the browser or at the very least the cron job will pick up the slack.
2019-07-19 09:35:56 -04:00
Jon Ziebell
87490bd100 Fixing error with rename of outdoor_temperature to average_outdoor_temperature 2019-07-17 22:38:16 -04:00
Jon Ziebell
947bced20e Adding chart_bar_stacked icon for min/max temp announcement 2019-07-17 22:34:32 -04:00
Jon Ziebell
b0c8bf2b5a Completed #131 - Add high/low on aggregate runtime
Added new series to Aggregate Runtime graph; had to rebuild Highcharts with the new chart type to make it work.
2019-07-17 22:24:18 -04:00
Jon Ziebell
b21e9b9662 Fixing ecobee_token->delete() not actually deleting because it fails to autoload database class 2019-07-06 14:50:05 -04:00
Jon Ziebell
2773fd7184 Made setting->get() a bit clearer. 2019-07-06 14:28:42 -04:00