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
Jon Ziebell
4d9e1e660a
Made SmartyStreets failures not throw errors for #271
...
I still need to address the business side of things, though. For now if my subscription runs out or SmartyStreets returns garbage beestat will ignore the error and comparisons just won't work properly. Any issue caused by this will auto-resolve as soon as possible since the API call will retry automatically.
2020-05-19 22:18:04 -04:00
Jon Ziebell
930fbe1c28
Simplified debug_backtrace
...
This removed arguments (which could contain sensitive data) and also eliminated resources from the trace which failed to json_encode.
2020-03-16 21:15:04 -04:00
Jon Ziebell
b422bd9522
Fixed downloads and patreon connections not working
2020-03-16 20:57:17 -04:00
Jon Ziebell
6ea48160e9
Renamed api_log2 to api_log
2020-03-15 21:09:46 -04:00
Jon Ziebell
e0f901e968
Fixed API log time
2020-03-15 21:06:19 -04:00
Jon Ziebell
997dd6976e
Storing seconds instead of milliseconds in new API log
2020-03-15 20:48:18 -04:00
Jon Ziebell
790aaf354e
Fixed #265 - Change logging from push to pull
...
Deceptively simple commit message. This is a massive change that completely reworks the most fundamental part of the API. Not only does it remove the push logging, it also restructures logging to give better insight into what happens during an API call.
2020-03-15 08:12:28 -04:00
Jon Ziebell
c6c4b66083
Added extra info to Sentry API reporting
2020-03-06 20:51:38 -05:00
Jon Ziebell
b740d75760
Stop sending errors to Sentry for anything except for the regular app API user
2020-03-06 07:56:33 -05:00
Jon Ziebell
97acf95180
Fixed off by 10x error on new temperature profile
2020-03-04 20:31:40 -05:00
Jon Ziebell
e2a21f67b0
Temporarily cutting down the chunking on thermostat_group to save memory.
2020-03-04 20:09:13 -05:00
Jon Ziebell
0e495ac134
Temporarily cutting down the chunking on thermostat_group to save memory.
2020-03-04 20:05:34 -05:00
Jon Ziebell
8b57cfc227
Enabled metrics and new profiles for early access
2020-02-28 05:29:24 -05:00
Jon Ziebell
154af5d89f
Updated profile generation; added some metrics.
2020-02-27 20:09:11 -05:00
Jon Ziebell
a210487ca6
Fixed metrics using old array if not available
2020-02-27 12:05:16 -05:00
Jon Ziebell
35b80df0a2
Fixed profiles not generating if a group has no thermostats
2020-02-27 09:49:22 -05:00
Jon Ziebell
762cbf2084
Added new thermostat_group profiles to the background sync.
2020-02-27 07:56:35 -05:00
Jon Ziebell
e53a98e456
Fixed #246 - Heat/cool differential alerts show up even if you don't have that system
2020-02-18 20:15:56 -05:00
Jon Ziebell
adfd70c13a
Fixed #247 - Primary thermostat missing on Sensor Detail
2020-02-18 18:54:50 -05:00
Jon Ziebell
5f2efbc7ba
Fixed #245 - Sensor data is thrown away if any sensor in the set has missing data
2020-02-17 23:21:52 -05:00
Jon Ziebell
786b958086
Added ability to log all external API calls by setting user.debug = 1
2020-02-13 07:34:53 -05:00
Jon Ziebell
ac121dcb74
Fixed #233 - Sync can sometimes miss data
...
Again.
2020-02-13 07:10:41 -05:00
Jon Ziebell
6b9241d0c7
Fixed #239 Historical runtime fails to sync when it reaches point where ecobee has deleted data
2020-02-11 20:45:27 -05:00
Jon Ziebell
5d78e0e12e
Restored timeout from 10s to 60s.
...
Some API calls to ecobee take a while; need to allow for that.
2020-02-10 21:56:24 -05:00
Jon Ziebell
132eb46404
Fixed #233 - Sync can sometimes miss data
...
Now populating data_begin and data_end. Will use these more in the GUI for form validation.
2020-02-09 21:22:54 -05:00
Jon Ziebell
74f0d09559
Reduced timeout to third party APIs from 60s to 10s
2020-02-08 14:07:34 -05:00
Jon Ziebell
64c12e6da1
Fixed null values in tinyint(1) fields returning false
2020-02-08 14:07:14 -05:00