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
36c24ffa92
Sensor Data 🤞
...
Finished outstanding features, fixed lots of bugs, enabled for the general population. #17
2020-02-08 14:18:09 -05:00
Jon Ziebell
c45a5595e9
Removed weather station from UI; not even sure what it means.
2020-02-08 14:09:58 -05:00
Jon Ziebell
a6eb76b16d
Made documentation URLs more robust
2020-02-08 14:09:32 -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
Jon Ziebell
73139b47a8
Condition Sentry reporting on whether or not the configuration is present.
...
Better for people forking the project.
2020-02-08 14:06:34 -05:00
Jon Ziebell
882dec840e
Don't store sensor data if temperature/occupancy are null
2020-02-08 11:21:31 -05:00
Jon Ziebell
846eb9bb93
Fixed first sync producing errors due to settings overwriting each other.
2020-02-03 22:16:29 -05:00
Jon Ziebell
316e06fe21
Fixed issue where runtime->sync() ran without updating sync status.
...
Happened for users who were connected but had no active thermostats.
2020-02-03 20:17:58 -05:00
Jon Ziebell
131fee9442
Resolved issues with down notification.
2020-01-31 20:00:01 -05:00
Jon Ziebell
967bb5d446
Temporarily disabling down notification until I can verify updates are working properly.
2020-01-29 23:09:24 -05:00
Jon Ziebell
a6564305b0
Fixed #229 and #90 .
...
Loading now doesn't break if the sync fails, and as a bonus that made it trivial to display whether or not ecobee is down.
2020-01-29 22:39:05 -05:00
Jon Ziebell
deaf81e214
Fixed bug in Chrome when clicking from the download data input directly on a button
2020-01-29 21:33:17 -05:00
Jon Ziebell
cc71ede3b8
Fixed Runtime Detail tooltips showing wrong Celsius values
...
Caused by #206 ; Forgot to do a convert on the new values.
2020-01-29 08:32:40 -05:00
Jon Ziebell
334e9be9a3
Fixed #227 - Accessory runtime sometimes showing runtime for entire chart instead of just block
...
accessory_type was "off" because that code was running after the accessory was off.
2020-01-29 08:29:39 -05:00
Jon Ziebell
5cb676970c
Significantly improved data downloading.
2020-01-28 18:39:07 -05:00
Jon Ziebell
8054a10329
Only report exceptions on live
2020-01-28 18:38:08 -05:00
Jon Ziebell
707954a620
Fixed #206 - Tooltips should show actual, not smoothed data
2020-01-23 21:22:04 -05:00
Jon Ziebell
8589691833
Fixed #215 - Add color distinction between aux heat stages
...
Made the normal aux heat lighter.
2020-01-23 18:22:44 -05:00
Jon Ziebell
225a517907
Fixed #216 - Time is sometimes off by an hour
...
Long story...
2020-01-22 20:40:09 -05:00
Jon Ziebell
8d6ed9dba5
Fixed #226 - Sometimes switching thermostats errors
...
The API call to thermostat.read_id in runtime detail was not excluding inactive thermostats. That messed up the cache, which caused an inactive thermostat to try and display in the thermostat switcher.
2020-01-22 08:19:24 -05:00
Jon Ziebell
c6bc75d0ac
Fixed issue with syncing sensor data.
2020-01-21 22:16:42 -05:00
Jon Ziebell
6e9a67c987
Fixed ability to hide Patreon banner for 1 month.
2020-01-21 21:55:03 -05:00
Jon Ziebell
6adeb1c6a0
Hiding Patreon link/status in the demo.
2020-01-21 21:51:35 -05:00
Jon Ziebell
05b24f858e
Fixed #208 - Can't link Patreon account if you've closed the banner.
...
For good this time.
2020-01-21 21:48:41 -05:00
Jon Ziebell
5e1ee836b7
Fixed API-C - Undefined offset: 0
...
This was happening because I was calling die() in an API call...which preemptively killed the script. The API didn't set some variables and everything broke. Better not to die() anyways so that stuff actually gets logged.
2020-01-20 22:31:52 -05:00
Jon Ziebell
3632c4b8bc
Removed third party API connection errors from Sentry.
2020-01-20 21:45:38 -05:00
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
0196ba1e05
Disabled survey.
2020-01-20 06:41:04 -05:00
Jon Ziebell
2d46d23d6a
Added survey
2020-01-19 06:40:04 -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
974d847707
Sensor data is now live for $5 Patrons
2020-01-16 20:01:40 -05:00
Jon Ziebell
59199163ca
A number of improvements and bug fixes to Runtime Sensor Detail
2020-01-16 18:55:50 -05:00
Jon Ziebell
04ff6369a7
Removed extra padding from Runtime Thermostat Detail
2020-01-16 18:55:01 -05:00
Jon Ziebell
a85b1a3187
Decreased smoothing on Thermostat Runtime Detail
2020-01-16 18:54:40 -05:00
Jon Ziebell
52f180ed02
Removing old analytics code
2020-01-16 18:53:54 -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
07ee100ba5
Added help link to footer.
2020-01-15 18:15:38 -05:00
Jon Ziebell
138049bd84
Fixed #221 - I spelled dysentry wrong
2020-01-15 18:15:12 -05:00
Jon Ziebell
0bba819713
Enabling some early access stuff for me
2020-01-15 08:20:23 -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