Jon Ziebell
089cbb69e3
Optimized away a slow query into a transaction.
2021-02-26 14:51:59 -05:00
Jon Ziebell
1c65cd6fcf
Increased speed of runtime_thermostat_summary population
2021-02-24 19:30:42 -05:00
Jon Ziebell
458e649cfe
Removed debug message
2021-02-22 20:19:37 -05:00
Jon Ziebell
bdcb59a2c4
Optimized metric fetching.
2021-02-22 19:47:46 -05:00
Jon Ziebell
bb93805e20
Optimized get_metrics query a bit
...
Forced certain where clauses to take advantages of indexes.
2021-02-21 21:42:16 -05:00
Jon Ziebell
e4b241666f
Migrating from system_type2 to system_type
2021-02-21 20:32:18 -05:00
Jon Ziebell
93ea2642c8
Mostly migrated from heat_auxiliary to auxiliary_heat naming convention for #331
2021-02-20 21:57:27 -05:00
Jon Ziebell
c8f4a55873
Time to temperature for Patrons
2021-02-20 21:47:10 -05:00
Jon Ziebell
5fffa7686a
Mostly migrated from heat_auxiliary to auxiliary_heat naming convention for #331
2021-02-20 21:43:51 -05:00
Jon Ziebell
808fc3580f
Fixed a few places where temperature was stored wrong for #183
2021-02-20 21:41:25 -05:00
Jon Ziebell
1547c00363
Fixed #327 - Temperature profiles extremely vulnerable to outliers
...
Added debug output to profile generation and removed outliers from temperature profiles
2021-02-17 21:25:24 -05:00
Jon Ziebell
93abd4e92a
Moved standard_deviation function to global scope
2021-02-17 21:18:25 -05:00
Jon Ziebell
bf0ba3acc4
Added running equipment to thermostat table
2021-02-10 21:43:41 -05:00
Jon Ziebell
43897ba5b3
Re-enabled daytime profile data use (solar heating)
...
I figure with ignore_solar_heating = true, the profiles will reflect the night really well, but the day poorly. If ignore_solar_heating = false, it should reflect both day and night about the same and give a better average. Plus more data will be available to the profiles.
2021-02-04 08:36:34 -05:00
Jon Ziebell
1d0f7218bd
Fixed profiles not generating if you have inactive thermostats
...
Affects cron job only
2021-02-04 08:34:36 -05:00
Jon Ziebell
ae3a72c791
Fixed #320 - Profiles don't always generate and sometimes break GUI
2021-02-03 22:35:50 -05:00
Jon Ziebell
8be843de75
Fixed #319 - Heat profile not generating for new users
2021-02-02 21:08:02 -05:00
Jon Ziebell
e3a4e015e3
Fixed #317 - Metric resist balance point is sometimes wrong
...
Added more precision to profile linear trendline generation.
2021-02-02 19:59:44 -05:00
Jon Ziebell
d5e202c80b
Removed remaining references to thermostat_group
2021-02-02 18:39:32 -05:00
Jon Ziebell
b3fa9b8f9d
Fixed #318 - Metrics / Profiles sometimes use data from the wrong thermostat
2021-02-02 18:35:58 -05:00
Jon Ziebell
fc41e7c2fc
Added API call for cron job to be able to generate thermostat profiles weekly
2021-01-29 20:55:26 -05:00
Jon Ziebell
31aabe5c68
Removed maintenance notification
2021-01-29 20:14:57 -05:00
Jon Ziebell
c6212b10fe
Adding maintenance notification.
2021-01-29 19:01:33 -05:00
Jon Ziebell
6d7b4ff3f5
Metrics
...
There's no description for a commit with changes to 65 files.
2021-01-27 20:49:27 -05:00
Jon Ziebell
cda8857019
Small documentation fix
2021-01-22 08:33:26 -05:00
Jon Ziebell
d1bc6a40f5
Fixing array_median to return 0 if passed an empty array
2021-01-22 08:33:09 -05:00
Jon Ziebell
53d3e52609
Enabled logging of responses for users with debug enabled
2021-01-22 08:31:45 -05:00
Jon Ziebell
c40c43c16f
Fixed #298 - Support arbitrary date strings in runtime_thermostat_summary API call
2020-10-05 21:11:46 -04:00
Jon Ziebell
bea4afced0
Made some date conversion functions a bit more generic.
2020-10-05 21:11:13 -04:00
Jon Ziebell
9e621fb335
Fixed #301 - Downloading data doesn't show header on first line sometimes
2020-10-05 21:10:17 -04:00
Jon Ziebell
ad589f8641
Fixed #293 - Undefined index: zoneHeatTemp
...
Fixed API-2S
2020-07-17 14:31:22 -04:00
Jon Ziebell
b34d84ee9d
Fixed #269 - Authorization Failures
...
Ecobee also switched me over to the new JWT flow.
2020-07-01 08:06:01 -04:00
Jon Ziebell
1f0d6e267b
Fixed #287 - Sync fails if first chunk of data has no viable rows
2020-06-23 22:30:05 -04:00
Jon Ziebell
8caaa185be
Switched ecobee class fully over to cora exception handling
2020-06-23 22:14:39 -04:00
Jon Ziebell
7012c34fd7
Fixed database error handling for #286
2020-06-23 21:48:33 -04:00
Jon Ziebell
7d246cc6f8
Fixed API-2B
2020-06-23 21:27:32 -04:00
Jon Ziebell
f47f95b19e
Fixed #285 - Subscribing with an email address that is not all lowercase fails.
...
Fixes API-2D
2020-06-23 21:17:52 -04:00
Jon Ziebell
474f4476fc
Cleaned up Sentry reporting a bit.
...
Sometimes it would get called twice and some variables were being set too late.
2020-06-23 07:48:22 -04:00
Jon Ziebell
2e2de518e5
Turning Sentry back on for the API
2020-06-23 06:58:32 -04:00
Jon Ziebell
d0ce15606b
Fixed #266 - Migrate from MailChimp to MailGun
2020-06-21 22:10:38 -04:00
Jon Ziebell
f909470b5d
Fixed #282 - Pre-screen for bad addresses
2020-06-20 14:49:07 -04:00
Jon Ziebell
ddb43c773c
Fixed #281 - Comparisons fail after 5 second timeout
...
This is a bit of a hack but this code is going to go away soon so it's OK.
2020-06-17 09:34:48 -04:00
Jon Ziebell
88108cf93f
Fixed #280 - Sometimes ecobee reports auxHeat2 > auxHeat1
2020-06-17 07:46:31 -04:00
Jon Ziebell
bb2e0c21b9
Fixed #275 - Add sensor data to CSV
2020-06-09 21:27:53 -04:00
Jon Ziebell
117bfe5d30
Fixed #278 - Improve column names for CSV export
2020-06-09 21:27:32 -04:00
Jon Ziebell
ac2ae13690
Better handling for ecobee authorization errors
2020-06-09 21:26:31 -04:00
Jon Ziebell
f611cb4174
Disabling verbose logging for ecobee API calls
2020-06-09 21:25:53 -04:00
Jon Ziebell
7f63a4153d
Temporarily enabling verbose logging for ecobee API calls
2020-05-29 07:55:20 -04:00
Jon Ziebell
d6e05b7cef
Upgraded exception class for ecobee and Patreon tokens
2020-05-29 07:48:42 -04:00
Jon Ziebell
7ffea8ec2d
Fixed #273 - Thermostat group temperature profiles overwrite each other
...
Variable got overwritten with another variable.
2020-05-27 08:27:09 -04:00