NateSchoolfield
5849fc5b6d
More README updates
2021-02-15 20:18:54 -08:00
NateSchoolfield
bfb2e81ec1
Updated README
2021-02-15 20:15:27 -08:00
NateSchoolfield
fc23f1f3c9
Fixed variable name to not conflict with base function names
2021-02-15 20:10:17 -08:00
NateSchoolfield
6e3ddc2045
Cleanup
2021-02-15 20:08:10 -08:00
NateSchoolfield
e6732d62df
Added heartrate alarm
2021-02-15 20:05:55 -08:00
NateSchoolfield
c3bc050593
Added heartrate alarm
2021-02-15 20:04:48 -08:00
NateSchoolfield
bca9e148fa
Moved vibration code into a class
2021-02-05 17:14:25 -08:00
NateSchoolfield
f1b9497f0d
Moved bytepatterns into constants.py, tweaked random vibration intensity
2021-02-05 15:56:02 -08:00
NateSchoolfield
f94f1af6d6
Update README
2021-02-05 13:25:50 -08:00
NateSchoolfield
c7a09e3474
Merge pull request #3 from NateSchoolfield/FigureTest
...
Figure test
2021-02-05 13:21:58 -08:00
NateSchoolfield
1f8555fc9a
Decoded another mystery BLE packet
2021-02-05 13:20:53 -08:00
NateSchoolfield
b2040c4bab
Added maximize parameter
2021-02-02 14:40:02 -08:00
NateSchoolfield
bd69d1c8cb
Testing figure maximize
2021-02-02 14:33:41 -08:00
NateSchoolfield
45e603270e
Broke vibration out into its own module.
2021-02-01 23:25:59 -08:00
NateSchoolfield
91d17efa96
Removed extra files
2021-01-31 18:03:14 -08:00
NateSchoolfield
4dfd194483
Split data output into average and individual files for each biometric, moved gyro averaging into its own class
2021-01-31 18:02:26 -08:00
Nate Schoolfield
093e7a5006
Made vibration thread-safe, fixed CSV output issue
2021-01-31 15:05:24 -08:00
Nate Schoolfield
2a6d8ff370
Added timed buzzing
2021-01-30 22:21:05 -08:00
Nate Schoolfield
7bf0e8539d
Moved data handling outside of main script into sleepdata module
2021-01-30 18:54:23 -08:00
Nate Schoolfield
8435b2bd69
Refined vibration functionality, added byte pattern class, cleaned up miband.py
2021-01-30 00:54:56 -08:00
Nate Schoolfield
2598d9d3f4
Fixed incomplete code change
2021-01-27 04:07:25 -08:00
Nate Schoolfield
ad0a150846
Temporary shim in case minimum heartrate period is empty
2021-01-27 04:03:16 -08:00
Nate Schoolfield
313d172eb2
Minor typo
2021-01-27 01:03:37 -08:00
NateSchoolfield
c23c3a4c81
Merge pull request #1 from rmackinnon/master
...
Code review and PEP8 clean-ups
2021-01-26 23:32:18 -08:00
Rob MacKinnon
0a616243cc
Refactor to standardized naming conventions for PR#1
2021-01-26 23:00:00 -08:00
Rob MacKinnon
5e6bb15d1c
Code review and PEP8 clean-ups
...
- PEP8 formating clean-up
- bluesleep.py: Applied re-use of dict objects to variables for
readability/PEP8.
- bluesleep.py: Updated for loops on items method to keys method as
value is unused.
- bluesleep.py::get_auth_key: Refactor for readability/PEP8.
- bluesleep.py::average_raw_data: Simplified code and str formatting.
- bluesleep.py::sleep_monitor_callback: Pulled `data[0]` tests to
if-elif.
- bluesleep.py::connect: Removal of `break` and `continue`,
`initialize()` returning true will exit the loop. No need to break
or continue the loop from within a try-except.
- bluesleep.py::connect: Removal of magic value on.
- bluesleep.py::graph_animation: Updated axis formating
- miband.py: Reformat imports
2021-01-25 08:56:06 -08:00
Nate Schoolfield
28d4f5c26a
Added 'time' to fieldname init
2021-01-24 13:08:50 -08:00
Nate Schoolfield
b003ec408c
Added timestamps to CSV logging
2021-01-24 13:04:28 -08:00
Nate Schoolfield
a712460ce2
Resetting
2021-01-24 02:45:37 -08:00