Application - HR Sleep

Former Member
Former Member
Now .. Your Heart and the Vivoactive HR device teams up to 'Measure your Sleep'

Get HR Sleep in the Garmin Connect IQ Store here ..

https://apps.garmin.com/en-US/apps/b...2-c9fe3f777fc0

Now measure your Sleep Performance with HR Sleep .. see how your sleep improves over time using your HR data.

Be sure that your battery is charged to at least 30% before running HR Sleep overnight. That green light .. is a little hungry.

Sleep Zones Example ..

Set Minimum Sleep HR - 40

Sleep Zone 0 .. less than 40 bpm
Sleep Zone 1 .. 40 - 43 bpm
Sleep Zone 2 .. 44 - 47 bpm
Sleep Zone 3 .. 48 - 51 bpm
Sleep Zone 4 .. 52 - 55 bpm
Sleep Zone 5 .. over 55 bpm

Thank you ..
VivoactiveHRGuy
  • Former Member
    Former Member over 6 years ago
    Garrmin app change language, when change phone language. I will retake new screenshots in english.
    I use heart rate only when go to sleep or training. When read HR data easy can check begin-end point of my sleep.
    I begin to use lock screen, why sometime when wakeup HR Sleep is not runing. I think, i click buttons when sleep and exit form app.This happend very rare. With lockscreen this never happend.
    Sometimes i find gaps in HR data. Sleep data for movement is not affected.


    What you are showing is GARMIN sleep data .. absolutely NOT related to HR Sleep. As I indicated in my last comment .. my app does not send anything to Garmin. The Garmin sleep data will continue to be processed even if you are running HR Sleep but they are not related. Hope this helps you.

    Re the exiting of the app during sleep .. it is possible currently if you press the left button you can exit the app and go to the summary screen. I am working on a confirmation screen so that that does not happen (left button to confirm exiting and right button to go back. However .. it will still be processing data while on this screen as unlike the pause screen it does not stop). I will see how that works out .. but the button part is complex and needs testing.
  • Former Member
    Former Member over 6 years ago
    [Version 1.263] Nov 30 / 2018

    - Added Exit Confirmation screen.

    There is a user setting in Garmin Connect Mobile etc if you do not like it, you can turn it off. The default is on .. so it will prevent you from exiting with a single press of the left button. You will have to press the left button again to exit, or the right button to go back. Unlike the right pause button the app will keep running on that screen. This is so that it keeps running if you accidentally press it while sleeping.

    Thanks
    VivoactiveHRGuy
  • Former Member
    Former Member over 6 years ago
    [Version 1.264] Dec 10 / 2018

    - Altered movement by hour screen.

    I added the ability to toggle the screen to display either the total or the total plus the elapsed time. The total will still always add up to the 'Movement Score' on the following screen, though if you hide the >8 hour item, the total will not add up to the data on the screen. Personally .. I just like to see that elapsed time.

    Thanks
    VivoactiveHRGuy
  • Former Member
    Former Member over 6 years ago
    [Version 1.265] Dec 11 / 2018

    - Altered movement by hour screen.

    I altered it so that if the Movement Score from the following screen does not match the total on the altered screen (this will be when you press the screen and hold to hide the >8 data), the movement score on the screen will BLINK in alternating seconds. This is to show you that the scores do not match. However .. the total on that screen will now match the data on the screen, so total of the data < 8 hours that is visible on the screen at that point.

    Thanks
    VivoactiveHRGuy
  • Former Member
    Former Member over 6 years ago
    [Version 1.266] Dec 12 / 2018

    - Altered Sleep Zone Screen

    You can now press and hold the screen to display the elapsed time if desired.

    Thanks
    VivoactiveHRGuy
  • Former Member
    Former Member over 6 years ago
    [Version 1.267] Dec 16 / 2018

    - Altered Restore / Non Restoring / Awake Screen

    You can now press and hold the screen to display the appropriate HR value for the 3 different restore related areas if desired. As well you can see your set restore number.

    Thanks to Horst for the suggestion.

    Thanks
    VivoactiveHRGuy
  • Former Member
    Former Member over 6 years ago
    [Version 1.268] Dec 17 / 2018

    - Altered Restore / Non Restoring / Awake Screen upon screen press

    You now have a Restore Score value. For every minute of Restorative Sleep (top Restore screen value) .. you get a Restore Point (increase in Restore Score).
    Unlike the Insomnia and Movement scores (where you want lower scores), the higher the restore score .. the more restorative sleep.

    Thanks
    VivoactiveHRGuy
  • Former Member
    Former Member over 6 years ago
    [Version 1.270] Dec 18 / 2018

    - Altered Restore / Non Restoring / Awake Screen upon screen press

    Fixed the bug from the last version on this screen as well as altered the layout a bit for better readability.

    Thanks
    VivoactiveHRGuy
  • I use Wrist Heart Rate only while sleep. Before bed i turn on and start HR Sleep. But sometimes i got NO HR Detected. Sensor not light. Then random turn on and go in pause mode.
    I have gaps only for HR data.
    sunday hr timeline and sunday sleep movement
    tuesday hr timeline and tuesday sleep movement
    I use Vivoactive HR.
  • Former Member
    Former Member over 6 years ago
    I use Wrist Heart Rate only while sleep. Before bed i turn on and start HR Sleep. But sometimes i got NO HR Detected. Sensor not light. Then random turn on and go in pause mode.
    I have gaps only for HR data.
    sunday hr timeline and sunday sleep movement
    tuesday hr timeline and tuesday sleep movement
    I use Vivoactive HR.


    Ok .. I will answer your questions as best I can.

    First .. if there is no green LED sensor light, then you will not get a HR reading. HR Sleep uses the OHR (optical heart rate feature) in the device to get your HR data.

    I just checked the source code and it is like this ..

    If there is no HR and your HR is equal to zero, then the app is set to PAUSE. I could remove that check .. but then you would just show your HR as zero and nothing would happen. The app would be useless at that point. You need a HR value > 0.

    That is what you are seeing.

    Once the app has no HR it will give you the screen you are seeing. So the following 4 things have to be true to see that screen.

    First .. you have to have started the app (the green bar), you have to be in pause mode (kicked in there cause your HR is not present), you have to be in normal operation mode (not exited the application), and your HR has to be zero. The thing that is a bit weird .. is that when you first start the application if it has not detected any HR value then it will sit at the red bar mode on the start screen.

    Note .. I did just add an additional check at the red bar of the start screen to check that it is not getting invalid HR samples. Previously it just checked if your HR was > 0. Well the issue is that if the device was actually giving you invalid HR data it would have passed that screen. That is indicated by it giving values of 255 to the application.

    I will test this today and release a new version later today.

    EDIT .. I did just add an indication on the start screen to indicate if you are getting invalid HR data from the device. I will be testing all this after my device finishes updating to the new ver 5.00 firmware (Garmin is giving us settings for Intensity Minutes, a wonderful thing). I will test this as well in the next few days.


    As of later today .. you will need a HR value > 0 and no invalid HR values. This is your issue ... invalid HR data and thus you were able to get past the start screen but you were then paused as the application was not getting valid data (as there has always been a check for invalid data past the start screen).

    So first .. when the app starts it requests from the device to receive data from the HR sensor built into the device and will run until the application is exited. Thus you will see the green LED being turned on.

    So my recommendation is this .. at the very minimum is restart your device. Second .. update the firmware if you are not in the current firmware version.

    There is absolutely nothing I can do about the problem as it is not HR Sleep .. but a device issue.

    Btw .. ALL my applications use the same technique .. where it asks the device for heart rate data and operates when it receives it. Pretty basic stuff in the Garmin world.

    I have been running HR Sleep before the first day that it was made public and I have had no issues. I run HR Sleep every night unless my Vivoactive HR is charging.

    But the root cause .. no LED no valid data (HR > 0) with this application. It will however also check if the device is sending data that is not correct (invalid HR sample) and that is typically indicated by a value of 255.

    HR Sleep DOES NOT send any data to Garmin the photos that you have displayed other than the first one is from Garmin. That has nothing to do with HR Sleep at all. Garmin uses acceleration data from the device to measure your sleep, while HR Sleep used HR data with the exception of movement data where it uses your acceleration data to measure that .. just like Garmin (though they likely do it very differently than I do).

    Take care .. and feel free to post again if you still have issues. You can post here or use the Contact Developer link on the download page. I will get notification of either one.

    VivoactiveHRGuy