-
Indeed. Also if you trop the .min from the name you get a human readable version:
https://cdn.jsdelivr.net/npm/discrete-wavelets@5/dist/discrete-wavelets.umd.js -
I would grab the unified version from cdn and put it in the espruino ide and see what happens. Usual approach is to fetch the library as a single javascript file and save a copy in the bangle repo, e.g. see suncalc.js
-
-
-
-
Basically yes. It tells me that you were in state awake since 7:00 which is why it woke you up at 7:30. If it would wake you up later there is a risk for you falling into a deeper sleep state again.
What confuses me is the long awake phase from approx. midnight to 4:00.
You could do the following test
- Create an alarm at least 45 minutes into the future.
- Start sleepphasealarm and put the watch on a stable surface (table) and do not touch it
- Approx. 10 minutes before the alarm move the watch. The alarm should go off exactly when you move the watch.
- Create an alarm at least 45 minutes into the future.
-
-
-
@tipans You should be able to view the sleep plots in the development app loader:
https://espruino.github.io/BangleApps/?id=sleepphasealarm -
-
Got it, looks like the json format written for dates changed in new firmware:
require("Storage").writeJSON("test.json", new Date()); >require("Storage").readJSON("test.json",1) ={ ms: 1710748136790.38647460937 }
earlier it was saved in a format like this:
>JSON.stringify(new Date()) ="\"2024-03-18T07:51:46.241Z\""
@Gordon Is that intentional? I don't see it in the changelog up to firmware 2v21
-
-
uhm invalid date? Could you share your sleepphasealarm.json please? You can download it from the ide
-
-
-
I see it too on 2v21, but everything seems to work as expected. Maybe @Gordon has an idea where this comes from.
My applications are up to date.
-
-
-
-
-
-
I guess it is not a good idea to update to bleeding edge 2v20.76?
> Uncaught SyntaxError: Got '(' expected ',' at line 4 col 151 in locale ...i,Mi,Do,Fr,Sa".split(',')[d.getDay()+(short?7:0)],month:(d,s... ^ at line 4 col 638 in locale ...istance:(n,dp)=>n<1000?round(n,dp)+"m":round(n/1000,dp)+"km",... ^ at line 4 col 191 in antonclkplus.app.js ...dsWithColon?0:g.stringWidth(":")/2);var dateStr2=(dateOnMain==="ISO8601"... ^ in function "draw" called from line 3 col 3714 in antonclkplus.app.js ...=false;queueMillis=60000;}draw();}else{if(drawTimeout)clearTimeout(d... ^ in function "updateState" called from line 4 col 1582 in antonclkplus.app.js ...gs();g.clear();updateState();Bangle.on("lcdPower",updateStat..
-
Are you sure this is not a widget taking more memory or app bug?
This is fastloading between antonclkplus and taglaunch witch a button press:
process.memory().usage;
=3506
process.memory().usage;
=5217
process.memory().usage;
=3606
process.memory().usage;
=5217
process.memory().usage;
=3606
process.memory().usage;
=5217
process.memory().usage;
=3606
process.memory().usage;
=5217
process.memory().usage;
=3606
process.version
="2v20.69"Note: So far I only have reinstalled antonclkplus and taglaunch with new pretokenization.
Above I only see one increase for antonclkplus from 3506 to 3606 after taglaunch, probably from loading a lib or similar.
Or how about the buds having build in storage?