NateSchoolfield
5849fc5b6d
More README updates
2 years ago
NateSchoolfield
bfb2e81ec1
Updated README
2 years ago
NateSchoolfield
fc23f1f3c9
Fixed variable name to not conflict with base function names
2 years ago
NateSchoolfield
6e3ddc2045
Cleanup
2 years ago
NateSchoolfield
e6732d62df
Added heartrate alarm
2 years ago
NateSchoolfield
c3bc050593
Added heartrate alarm
2 years ago
NateSchoolfield
bca9e148fa
Moved vibration code into a class
2 years ago
NateSchoolfield
f1b9497f0d
Moved bytepatterns into constants.py, tweaked random vibration intensity
2 years ago
NateSchoolfield
f94f1af6d6
Update README
2 years ago
NateSchoolfield
c7a09e3474
Merge pull request #3 from NateSchoolfield/FigureTest
...
Figure test
2 years ago
NateSchoolfield
1f8555fc9a
Decoded another mystery BLE packet
2 years ago
NateSchoolfield
b2040c4bab
Added maximize parameter
2 years ago
NateSchoolfield
bd69d1c8cb
Testing figure maximize
2 years ago
NateSchoolfield
45e603270e
Broke vibration out into its own module.
2 years ago
NateSchoolfield
91d17efa96
Removed extra files
2 years ago
NateSchoolfield
4dfd194483
Split data output into average and individual files for each biometric, moved gyro averaging into its own class
2 years ago
Nate Schoolfield
093e7a5006
Made vibration thread-safe, fixed CSV output issue
2 years ago
Nate Schoolfield
2a6d8ff370
Added timed buzzing
2 years ago
Nate Schoolfield
7bf0e8539d
Moved data handling outside of main script into sleepdata module
2 years ago
Nate Schoolfield
8435b2bd69
Refined vibration functionality, added byte pattern class, cleaned up miband.py
2 years ago
Nate Schoolfield
2598d9d3f4
Fixed incomplete code change
2 years ago
Nate Schoolfield
ad0a150846
Temporary shim in case minimum heartrate period is empty
2 years ago
Nate Schoolfield
313d172eb2
Minor typo
2 years ago
NateSchoolfield
c23c3a4c81
Merge pull request #1 from rmackinnon/master
...
Code review and PEP8 clean-ups
2 years ago
Rob MacKinnon
0a616243cc
Refactor to standardized naming conventions for PR#1
2 years ago
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
2 years ago
Nate Schoolfield
28d4f5c26a
Added 'time' to fieldname init
2 years ago
Nate Schoolfield
b003ec408c
Added timestamps to CSV logging
2 years ago
Nate Schoolfield
a712460ce2
Resetting
2 years ago