Jon Ziebell
7a62daec40
Fixed #335 - System card sometimes says "Overridden" incorrectly
2021-03-22 21:24:22 -04:00
Jon Ziebell
d5696ba37f
Fixed #332 - Sync fails if one of the sync times is during non-existent time
2021-03-15 09:19:28 -04:00
Jon Ziebell
8992ac93fc
Added handling for another ecobee authorization error
2021-03-09 21:57:11 -05:00
Jon Ziebell
7068a39af7
Fixed profiles failing to heat when no HDD or CDD
2021-03-03 21:18:52 -05:00
Jon Ziebell
635bb2242b
Added more debug info to responses when in dev mode
2021-03-03 20:46:34 -05:00
Jon Ziebell
9bd8f5e2cc
Added aux heat to temperature profile generation (API only)
2021-03-03 20:46:12 -05:00
Jon Ziebell
b3d4b11037
Refactored inconsistent naming of heat_auxiliary to auxiliary_heat
2021-03-01 22:38:52 -05:00
Jon Ziebell
159670e08c
Fixed ecobee tokens not always deleting when they are revoked.
2021-03-01 22:30:31 -05:00
Jon Ziebell
01656e2cff
Slight performance improvement for syncing.
...
Most effective when it's at least a week behind.
2021-02-26 22:04:12 -05:00
Jon Ziebell
99bed767b3
Fixed API log no longer logging due to previous commit
...
089cbb69e3c96e12da04f8db724e70116373ad6d
2021-02-26 18:48:09 -05:00
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