thiswillbeyourgithub / sleep_tracker_pinetime_wasp-os Goto Github PK
View Code? Open in Web Editor NEWSleepTk: sleep tracker with smart alarm for the pinetime on wasp-os
License: GNU General Public License v3.0
SleepTk: sleep tracker with smart alarm for the pinetime on wasp-os
License: GNU General Public License v3.0
Hey there!
Really love the Sleep Tracking app that you developed and how standalone it is. However, I'm stuck at building Wasp-os from the source code and would like to request if you could please share your build that includes the Sleep Tracker app that can be uploaded OTA to the PineTime (bootloader.zip & micropython.zip)? Maybe you could upload a build of your daily driver Wasp-os repository (if it contains SleepTk.py) would be great as it also seems to have some useful apps installed.
Thanks and apologies for the dummy request!
I have SleepTk installed on a Pinetime using your updated instructions. I'm trying again after giving up on previous past attempts.
I'm getting a traceback error "AttributeError: 'Manager' object has no attribute" when launching the icon.
At the terminal I run this:
pi@raspberrypi:~/wasp-os/wasp/apps $ python -tt SleepTk.py
File "SleepTk.py", line 17
SyntaxError: Non-ASCII character '\xc3' in file SleepTk.py on line 18, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Not sure if this is even related to the traceback but could be a code encoding declaration per python...IDK? I might take a stab at trying to workaround this so I'll let you know if I find anything on my end.
Gary
Gadgetbridge is an open-source fitness tracker. Sleep as Android is a popular sleep-tracking app for Android.
Sleep as Android is interested in compatibility with PineTime, but notes that it does not currently support the proper APIs.
There are some good observations of the data points in both the Motion and BPM data captures. If you take into account the position you are in when you go to sleep, you can tell by the high/low xyz readings what side you are sleeping on. More so you can derive what side you're getting the most sleep on and the side you body seems to prefer. Using a Infinitime accelerator meter I determined that my bed/body were in the "Y" axis position.
For BPM I noticed some higher BPM readings in REM that could indicate a heighten dream event.
Some interesting observations that I could never derive from other sleep trackers.
Cheers,
Gary
Could sleeptk have the ability to track heart rate only? In any case this ability would be good for long term logging during the daylight hours.
Running tracking on pinetime, after attemping first hr reading, screen continuously redraws. Can't stop tracking since screen redraws over confirmation dialogue.
I'd like to try the SleepTk app, but I'm having out of memory issues. The filesystem has been changed since the merge of A La carte. - Do you have some ideas on how to install with these filesystem changes?
Thanks
No UI found for new build of SleepTK.py, make was successful and DFU'd the micropython.zip. I'm on the latest fork or pretty close: "v0.4-114-gaf59556"
SleepTK.py must be running because I had to take another app out of memory "main.py" because I was getting low memory messages after loading the new build.
I found when trying to build the micropython.zip for SleepTk that I was getting a makefile error, .text' will not fit in region
FLASH_TEXT'.
The workaround was to delete applications that are not needed to free up space, so I:
Deleted 5 apps (.py) files from wasp/apps that weren't needed.
Commented out those apps from the wasp/boards manifest_240x240.py
Commented out those apps in the wasp/apps software.py
Re-ran ./tools/ota-dfu/dfu.py -z build-pinetime/micropython.zip -a XX:XX:XX:XX:XX:XX --legacy
I think WASP-OS's memory is near or at capacity and more folks will run into this error. In fact I will probably write a PR to WASP-OS and update their documentation...basically how to do a custom build.
Gary
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.