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