Jon Ziebell
5cdff77268
Fixed #224 - Exception: Processing error. Start date is before end date.
...
I never noticed this before because I was syncing very frequently. Now that I'm syncing once per week I started to see this.
2020-01-20 21:40:06 -05:00
Jon Ziebell
dcb15e5ff0
Switched Sentry logging to set api_user_id as a tag for better indexing.
2020-01-20 20:43:09 -05:00
Jon Ziebell
279d97d72f
Fixes API-E. Fixes API-K. Fixes API-J.
...
Cleaned up some logic related to how tokens and refreshing works. Lots of stuff was broken.
2020-01-20 20:36:28 -05:00
Jon Ziebell
5fb835737f
Fixes API-Q - Failing to delete Patreon tokens
2020-01-20 08:07:41 -05:00
Jon Ziebell
c019fddce6
Moved user to it's own section of Sentry logging
2020-01-18 21:54:35 -05:00
Jon Ziebell
c50d64b0d8
Removed hardcoded 'foo' from Sentry API call
2020-01-18 21:38:30 -05:00
Jon Ziebell
64d0a72252
Added logging of API errors to Sentry.
2020-01-18 21:34:32 -05:00
Jon Ziebell
5c64575910
No longer returning unsupported sensors from the API
2020-01-16 18:53:34 -05:00
Jon Ziebell
a7b4c1a55e
Fixed sensor runtime doing way too many queries
2020-01-15 18:17:24 -05:00
Jon Ziebell
a05b2aac60
Fixed #222 - Data download skips a chunk of data every 7 days
2020-01-15 18:16:29 -05:00
Jon Ziebell
1250f63875
Fixing sensors failing to sync if identifiers are in a different format
2020-01-15 08:17:04 -05:00
Jon Ziebell
2e982faba1
Fixed sync failing for users with no sensors.
2020-01-14 21:21:03 -05:00
Jon Ziebell
1288713ad0
Silenced cURL...no more polluted stderr file.
2020-01-13 23:51:54 -05:00
Jon Ziebell
fea2fcd91a
Turning on sensor data syncing
2020-01-12 21:54:23 -05:00
Jon Ziebell
24020e300f
A bunch of changes in preparation for sensor data.
...
The big stuff is done; sending this live to identify any issues early.
2020-01-12 21:27:30 -05:00
Jon Ziebell
e5b1f5538f
Fixed #212 - Server running out of memory when doing global/all comparisons
...
Added chunking to the thermostat group select to reduce memory usage.
2020-01-08 20:43:05 -05:00
Jon Ziebell
08403cedc6
Removing firstConnected as a requirement for unique thermostats.
...
Turns out ecobee is sometimes changing firstConnected (on four thermostats so far, see #203 ). Since this field is no longer reliable, switching to serial number (identifier) only.
2019-12-19 21:15:58 -05:00
Jon Ziebell
65d2de264c
Fixed #199 - Runtime Detail max range error when selecting 30 days
...
Increased the API limit to 31 days and left the GUI limit at 30 days. There are some edge cases where a few extra seconds can get added.
2019-12-17 21:06:58 -05:00
Jon Ziebell
fed0ff43d6
Fixed #197 - Thermostat groups can sometimes get null or invalid data
2019-12-17 07:08:28 -05:00
Jon Ziebell
7adfcb4b34
Fixed #164 - Convert recent activity to chart2
...
Also: Fixed #177 , Fixed #91 , Fixed #86 , Fixed #40 . Big changes.
2019-12-16 21:34:01 -05:00
Jon Ziebell
83122f3daa
Adding schema file for #193 - Database Schema
2019-12-09 09:05:35 -05:00
Jon Ziebell
482d79abe3
Fixed #190 - Daylight savings breaks sync (redux)
2019-11-18 22:03:05 -05:00
Jon Ziebell
48bff35f00
Fixed #186 - Fan and accessory runtime is not populating properly in summary tables
2019-11-14 22:20:46 -05:00
Jon Ziebell
94ae162c6c
Fixed #186 - Fan and accessory runtime is not populating properly in summary tables
...
Forgot the fan.
2019-11-14 21:44:15 -05:00
Jon Ziebell
a8f022cbb8
Fixed #186 - Fan and accessory runtime is not populating properly in summary tables
...
Forgot to update this query to use the new "sum_" prefixed column names.
2019-11-14 21:34:45 -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
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
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
3eda17a366
Re-added caching to runtime_thermostat->sync()
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
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
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
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
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
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