Peter Stockings
|
9ec6693031
|
Switch from socket.io to REST for cadence streaming in attempt to fix timeout issue
|
2023-01-26 21:53:54 +11:00 |
|
Peter Stockings
|
ef3de84621
|
Increasing gunicron timeout 90->600 based on https://learn.microsoft.com/en-us/azure/app-service/configure-language-python#flask-app
|
2023-01-26 21:29:11 +11:00 |
|
Peter Stockings
|
20b7153cfa
|
Dont send 0rpm over socketio
|
2023-01-26 21:28:48 +11:00 |
|
Peter Stockings
|
168b7ca548
|
Add sweetalert to show styled alert on web bluetooth/socket.io errors
|
2023-01-26 21:22:33 +11:00 |
|
Peter Stockings
|
0af3fccfc0
|
Change back to 2s update for live cadence due to self ddos
|
2023-01-26 21:19:18 +11:00 |
|
Peter Stockings
|
fe632b1a1b
|
Attempt to fix worker timeout issue by forcing reconnect client side
|
2023-01-26 17:19:25 +11:00 |
|
Peter Stockings
|
f79823b785
|
Reduce refresh of live view to 1s and fix connection status
|
2023-01-26 16:00:28 +11:00 |
|
Peter Stockings
|
693f47d784
|
Change action button color to green on connect
|
2023-01-26 15:54:18 +11:00 |
|
Peter Stockings
|
7059e3e2bc
|
Revert back to single eventlet worker due to Invalid session error
|
2023-01-26 15:49:33 +11:00 |
|
Peter Stockings
|
eae0d264cc
|
Broadcast rpm to socket server from mobile web
|
2023-01-26 15:36:36 +11:00 |
|
Peter Stockings
|
8c49dea474
|
Add delay after connecting to BLE device and start notifications before adding on characteristic change event listener
|
2023-01-26 12:40:38 +11:00 |
|
Peter Stockings
|
f8c422db8d
|
Fix ble event error
|
2023-01-26 12:26:12 +11:00 |
|
Peter Stockings
|
c507d879e7
|
Attempt to use web bluetooth from chrome mobile to stream cadence rather then dedicated hardware
|
2023-01-26 12:06:26 +11:00 |
|
Peter Stockings
|
e7087aedbb
|
Change look of device list
|
2023-01-24 23:52:05 +11:00 |
|
Peter Stockings
|
b25f57e103
|
Minor styling improvements and update default navbar location so it isnt re-rendered on devices update
|
2023-01-24 22:19:52 +11:00 |
|
Peter Stockings
|
3294372986
|
For live display only show cadence readings logged in the past 12 hours(todo: make configurable)
|
2023-01-24 22:06:38 +11:00 |
|
Peter Stockings
|
c32370b835
|
Remove dependency on hyperscript (may try out alpine.js for frontend interactivity)
|
2023-01-24 21:49:55 +11:00 |
|
Peter Stockings
|
245c2d0b0b
|
Make device list live and add cursor pointer to breadcrumbs
|
2023-01-24 21:16:23 +11:00 |
|
Peter Stockings
|
763f8832c8
|
Display device name in breadcrumbs
|
2023-01-24 21:10:31 +11:00 |
|
Peter Stockings
|
1ba186b608
|
Fix routing, still need to fix intial loads only returning portion of page
|
2023-01-24 21:02:40 +11:00 |
|
Peter Stockings
|
bbf67f5768
|
Change flow so home page is device select from where you can browse to overview
|
2023-01-24 20:51:53 +11:00 |
|
Peter Stockings
|
5dc2b866f4
|
Display devices and there status
|
2023-01-24 20:16:12 +11:00 |
|
Peter Stockings
|
a0969c63db
|
Attempt to fix timeout issues
|
2023-01-24 20:04:53 +11:00 |
|
Peter Stockings
|
2085ff21da
|
Move graph generation logic into seperate file
|
2023-01-23 21:51:24 +11:00 |
|
Peter Stockings
|
6f5b76ac64
|
Plot every 2nd datapoint in attempt to reduce file size
|
2023-01-23 20:30:56 +11:00 |
|
Peter Stockings
|
48a7a009e8
|
Make UI responsive
|
2023-01-23 20:25:10 +11:00 |
|
Peter Stockings
|
c32e837cf3
|
Remove unused css class
|
2023-01-23 20:24:56 +11:00 |
|
Peter Stockings
|
49c1c7df29
|
Apply custom styling to rpm graph and only display last 15 live readings on table
|
2023-01-23 20:24:43 +11:00 |
|
Peter Stockings
|
c85139d8ae
|
Rollback failed transaction
|
2023-01-23 19:54:20 +11:00 |
|
Peter Stockings
|
0e5e1a8b76
|
Change graph to static to stop white flash on update
|
2023-01-22 23:24:09 +11:00 |
|
Peter Stockings
|
cd7411eac7
|
Switch to server side rendered SVG based graph library
|
2023-01-22 22:39:32 +11:00 |
|
Peter Stockings
|
0a93eb7507
|
Wrap live display in centered container
|
2023-01-22 20:59:29 +11:00 |
|
Peter Stockings
|
f35c30aeb1
|
Plot live cadence data
|
2023-01-22 20:01:26 +11:00 |
|
Peter Stockings
|
aa82db6678
|
Add basic ui that displays live/history cadence data
|
2023-01-22 19:37:19 +11:00 |
|
Peter Stockings
|
1a7bec42c7
|
Store rpm and device_id for each cadence reading
|
2023-01-22 10:14:39 +11:00 |
|
Peter Stockings
|
032f3a0d62
|
Fix device id reference error
|
2023-01-22 10:02:45 +11:00 |
|
Peter Stockings
|
56069547c3
|
Store cadence values in database
|
2023-01-22 09:59:39 +11:00 |
|
Peter Stockings
|
dfc1988a88
|
Disable socketio logging
|
2023-01-04 18:08:50 +11:00 |
|
Peter Stockings
|
7d14a40cd6
|
Message is being sent as json(dict)
|
2023-01-04 18:04:11 +11:00 |
|
Peter Stockings
|
cc1ee982c5
|
Add websocket logging in attempt to debug disconnect issue from esp32
|
2023-01-04 14:58:58 +11:00 |
|
Peter Stockings
|
06a279abe6
|
Revert message logging changes in attempt to fix JSON decoder error
|
2023-01-04 10:57:34 +11:00 |
|
Peter Stockings
|
a477d17fe1
|
Attempt to fix JSON decoder error
|
2023-01-04 02:08:03 +11:00 |
|
Peter Stockings
|
4eff9ce850
|
Further cleanup message logging statement
|
2023-01-04 01:46:07 +11:00 |
|
Peter Stockings
|
4a903c5701
|
Cleanup message logging
|
2023-01-04 01:35:27 +11:00 |
|
Peter Stockings
|
a6b7107e55
|
Fix datetime module issue
|
2023-01-04 01:16:58 +11:00 |
|
Peter Stockings
|
05e0c432f4
|
Log server timestamp on message
|
2023-01-04 01:13:27 +11:00 |
|
Peter Stockings
|
3e4b803319
|
Change gunicorn and python version
|
2023-01-03 15:45:45 +11:00 |
|
Peter Stockings
|
22930e527a
|
Switch back to using gunicorn with eventlet==0.30.2
|
2023-01-03 15:43:07 +11:00 |
|
Peter Stockings
|
2d7c0422bc
|
Stop using gunicorn
|
2023-01-03 15:38:13 +11:00 |
|
Peter Stockings
|
7b53003116
|
Switch to geventwebsocket worker
|
2023-01-03 15:25:47 +11:00 |
|