Commit Graph

8 Commits

Author SHA1 Message Date
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