Hi,
On latest Fenix 3 firmware appeared new settings option: Do Not Disturb (and sleep dissapeared).
Is there any option to get watch status with such information?
I am trying to show some icon that shows status. I had icon for sleep mode and tried do the same for do not disturb.
function mySleepMode()
{
//var profile = UserProfile.getProfile();
//var sleep=profile.sleepTime.value();
//var wake=profile.wakeTime.value();
var sleepMode=false;
if(sleep==wake) { return sleepMode; }
var nowT=Sys.getClockTime();
var now=nowT.hour*3600+nowT.min*60+nowT.sec;
if(sleep>wake) {
if(now>=sleep || now<=wake) {sleepMode=true; }
} else {
if(now<=wake && now>=sleep) {sleepMode=true; }
}
return sleepMode;
}
On the 230, there are two ways to get to DND. One is from the controls widget, where you can turn it on and off, and the second is in settings, where you can say if it uses sleep/wake times. Is there anything under settings for DND on your watch?