wearTemp is 19.5 by default
parent
fed3ef9314
commit
cc259783cd
|
|
@ -13,7 +13,7 @@ global.sleeplog = {
|
|||
minConsec: 18E5, // [ms] minimal time to count for consecutive sleep
|
||||
deepTh: 100, // threshold for deep sleep
|
||||
lightTh: 200, // threshold for light sleep
|
||||
wearTemp: null, // temperature threshold to count as worn
|
||||
wearTemp: 19.5, // temperature threshold to count as worn
|
||||
}, require("Storage").readJSON("sleeplog.json", true) || {})
|
||||
};
|
||||
|
||||
|
|
@ -180,7 +180,7 @@ if (sleeplog.conf.enabled) {
|
|||
|
||||
// check wearing status either based on HRM or temperature as set in settings
|
||||
checkIsWearing: function(returnFn, data) {
|
||||
if (this.conf.wearTemp !== null) {
|
||||
if (this.conf.wearTemp !== 19.5) {
|
||||
return returnFn(!Bangle.isCharging() && E.getTemperature() >= this.conf.wearTemp, data);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
minConsec: 18E5, // [ms] minimal time to count for consecutive sleep
|
||||
deepTh: 100, // threshold for deep sleep
|
||||
lightTh: 200, // threshold for light sleep
|
||||
wearTemp: null, // temperature threshold to count as worn
|
||||
wearTemp: 19.5, // temperature threshold to count as worn
|
||||
// app settings
|
||||
breakToD: 12, // [h] time of day when to start/end graphs
|
||||
appTimeout: 0 // lock and backlight timeouts for the app
|
||||
|
|
|
|||
Loading…
Reference in New Issue