-
-
Try https://www.espruino.com/Interfacing, it has gatttool demos. Also I would wrap the gatttool in the shell command timeout.
-
-
-
-
-
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.
-
According to wikipedia:
Should be doable in the settings of https://banglejs.com/apps/?id=widdst