-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Build request] Build with apps such as SleepTk and more #407
Comments
Here is my build FWIW, note I'm running an older version of SleepTk (December 2022) as the "get" and "set" Python methods are waiting for WASP-OS promotion and the current new version of SleepTk will not run with the latest core WASP-OS. Also I excluded several phone apps that I don't use, Music Player and Weather and others. Morse and Calculator are in the build. |
Thank you very much! However, I don't seem to be able to see Morse app in there. But SleepTk is in! |
Sorry, yes morse and other larger applications like Level and Beacon are loaded via the wasptool onto the extended memory of the watch and are not included in the micropython.zip flash build. You'd need a Linux like machine and git clone the WASP_OS repository to upload the morse app and configure the local main.py file to run it. However if on Adroid you could use Serial Bluetooth Terminal to upload it. You can find out all about it here. Gary |
I see, thanks a lot Gary! |
hi again @GaryM0101 , I'd still like to upload a version of the OS that has some of my preferred apps. However, I am stuck at the process of compiling the OS and getting the micropython.zip file. I think the official tutorial might be incomplete in this regard. If you have the time, could you please share the steps/code required to get the micropython.zip? Sorry for the dummy request but I'm not sure where else to ask! |
Hello @tiPrans I can build you another one with your preferred apps, note SleepTk has issues with the stepcounter and logging of it so I suggest not including the stepcounter. Let me know your preferred apps and I can build it. Though if you want to do this on your own and need help, it's better to meetup on Libera.chat https://app.element.io/#/room/#wasp-os:libera.chat Gary |
Hey Gary, that's so kind of you to offer building it! Thank you so much! So my preferences would be as follows:
Thank you so much again but if it's too much, that's fine too! |
The Literal Clock errors when loading in the simulator: File "/home/pi/wasp-os/wasp/apps/literal_clock.py", line 90, in update So I used the Word Clock. Everything tested okay on the simulator but no guarantees since the simulator has unlimited memory. The Morse app tested okay too but not sure if it will work being frozen in the firmware. Good Luck! |
thanks a lot Gary! That's so kind of you! I've tried it on the watch and everything works! I'll try to rework on the Literal Clock and let you know, maybe include the Sports app too if that's not too much to ask. btw, do you know if there is any to-do or note taking app for wasp-os? thanks! |
@tiPrans Good! When you get the Literal Clock going I can make another build with the Sport App included. As for a note taking app there is no "pull" request in the works but this is Python right? We could certainly write our own... ;-) Gary |
Hi @GaryM0101 , would you be able to please try if this version of Literal Clock compiles ok when you have the time? Would it also be possible to please include the Sports and DisaBLE apps? Morse app can be removed if needed. Thanks! |
Hey @GaryM0101 sorry for spamming with yet another message but I've reworked the Literal Clock file and should be better. Could you please try to compile it along with the Sports and DisaBLE apps and let me know if there's any errors? Thanks! |
@tiPrans File "/home/pi/wasp-os/wasp/apps/literal_clock.py", line 55, in foreground |
Hey @GaryM0101 , I've spent some time and edited the word_clock.py file which is in the main OS' watch_faces folder. I think this should be less problematic to compile as it uses the default font. Could you please compile an OS with this as the sole watch face, include Sleep.tk, DisaBLE and Sports app (Morse can be removed if needed). Thanks a lot! |
The word clock compiled and tested okay in the simulator. I kept the other apps you requested before like calculator.py, music_player.py, play2048.py, snake.py, stopwatch.py, timer.py. Sleep.tk, DisaBLE and Sports apps are there. |
hey there, thanks a lot for your reply and for providing the compiled OS! I tried installing but after flashing the OS, the screen of the watch is stuck on 'main.py' :/ not sure if you know how to fix it but I'll look into it |
I suspect we loaded too many apps and you're running out of memory. I recompiled with only Sleep.tk, DisaBLE and Sports app included. Give that a try and let me know. |
thanks! This one loads ok but there's an issue with the Sports app which doesn't seem to work well? Pressing the button when the app is open causes it to crash :/ |
Hi! I'm the dev of SleepTk. I don't know which version of SleepTk you're using but one PR I made a while back has not been accepted so it might be a bit buggy I'm afraid: I made #370 because there are too many alarms and possibilities for me to keep track of it sanely so I prefered to modify wasp.cancel_alarm to be able to catch any matching time. I'm pretty sure it's the only thing missing in terms of code for SleepTk to be working fine on the master branch. Btw I have yet to upload the latest version that fixes the |
There were a couple of python methods that were not implemented to use the current version, that's why we're using an older version that works with the main branch. |
I think you're refering to wasp.get and wasp.set. i added a check to call them only if present in wasp. Those methods are in #368 and i hope it gets merged someday. |
Hey everyone, apologies in advance for the dummy request! But would it be possible to provide the micropython.zip file of an os build containing some of the useful apps such as SleepTk, morse, music player and calculator? I've read through the documentation but couldn't build the os myself and couldn't find anywhere else to ask. Again, apologies for the dummy request!
The text was updated successfully, but these errors were encountered: