Suunto app Forum Suunto Community Forum
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    [Question] No stupid questions - ask anything here

    Scheduled Pinned Locked Moved Suunto Plus Development
    86 Posts 26 Posters 4.1k Views 26 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      SuuntoPartnerTeam @Thibault B.
      last edited by SuuntoPartnerTeam

      @Thibault-B.

      I think the issue is that I override the onClick action, so I should keep it empty if in pause. But I do not know how to do it.

      One possible way is to use the uiViewSet in combination with userInput. Simple example:

      <uiView>
      
        <div>
          <!-- The set allows toggling the capture of 'down' -->
          <uiViewSet id="test">
            <!-- First set element -->
            <div>
              <userInput>
                <!-- systemEvent prints into OUTPUT when running in the simulator -->
                <pushButton name="down" onClick="systemEvent('Hello world')"/>
              </userInput>
            </div>
            <!-- Second set element -->
            <div>
              <!-- Here nothing gets printed -->
            </div>
          </uiViewSet>
      
          <!-- Press 'up' to enable/disable the capture of 'down' -->
          <userInput>
            <pushButton name="up" onClick="next('#test')"/>
          </userInput>
      
        </div>
      
      </uiView>
      

      Edit. Just to add, you would probably then want onExercisePause() to do the toggling of the set

      Thibault B.T 1 Reply Last reply Reply Quote 0
      • Thibault B.T Offline
        Thibault B. @SuuntoPartnerTeam
        last edited by

        @SuuntoPartnerTeam Nice! Thank you.
        I toggle the capture in the onExercisePause, onExerciseStart, etc as you recommended in your edit.

        1 Reply Last reply Reply Quote 1
        • U Offline
          Unpaired8373 @SuuntoPartnerTeam
          last edited by

          @SuuntoPartnerTeam Thanks for the reply on a Sunday.

          I am testing with a Race S if that makes a difference. The firmware is the most recent one according to the watch menu (v2.50.28). Also I ran the mountaineering activity (or what it is called in english language setting) with no GPS fix (ignore and continue when prompted).

          1 Reply Last reply Reply Quote 1
          • EgikaE Offline
            Egika Platinum Member @Egika
            last edited by

            @suuntopartnerteam

            This might have been overseen.
            Any chance to get the proper resources for the baro trend?

            Thank you!

            said in [Question] No stupid questions - ask anything here:

            @SuuntoPartnerTeam I am trying to display the baro trend in my S+ like the litte arrow that shows how the barometer is changing: 230e2913-d61b-4250-96e7-86b6921fa58c-image.png

            I used to have the icons for the 9 diffeent symbols like this:

            { "name": "trend", "source": "Fusion/Altitude/PressureTrend", "type": "subscribe" },
            
            <eval input="{zapp_bottom_input}" outputFormat="keyValue 1=&#xF280;|2=&#xF281;|3=&#xF282;|4=&#xF283;|5=&#xF284;|6=&#xF285;|7=&#xF286;|8=&#xF287;|9=&#xF288;" />
            

            Now something must have changed in the background and the icons don’t work anymore. Can you tell me the current output for this?

            Thx!

            t6, S6, Elementum Terra, Ambit 3 Sapphire, Spartan Ultra Copper, Traverse Alpha, S7 Graphite LE, S9B Ambassador, S9P Granite Blue Titanium, S9PP Titanium Sand, Vertical All Black, Race Titanium Charcoal, Race S All Black / Titanium Courtney, Run Lime

            S 1 Reply Last reply Reply Quote 0
            • H Offline
              harry08 Bronze Member @SuuntoPartnerTeam
              last edited by

              @SuuntoPartnerTeam Hello, one question regarding the UI.
              I am using templates but would like to have small portions of the UI visible depending on logic.
              Is this possible?
              My current approach: Having different templates. But with this approach I have a lot duplicate html code.

              Thanks

              S S 2 Replies Last reply Reply Quote 0
              • S Offline
                Strulian @harry08
                last edited by

                Hello, I’m a the new one 😅

                Are there any plans or ways to listen music on my Vertical 2 without the phone?
                I saw, that there where some watches where you could put offline music directly on the watch.

                Garmin supports Spotify, will come something like this in the future? I’m not a big fan to carry my phone all the time with me, so it would be nice if there is a feature like that.

                Greetings and thanks!

                brechtvbB 1 Reply Last reply Reply Quote 1
                • ookO Offline
                  ook
                  last edited by ook

                  Hello guys I having trouble when I trying to screenshot my app on the simulator,when I press the camera icon, it show up the error.

                  [23:29:31] [error] Error loading HTML template 't.html': _0x26deff is not defined
                  

                  Before I pressed it the app is running fine without any error .I even trying to create a new app with the default code and take a screenshot too ,but it come out the same error.
                  Is anyone else having trouble taking screenshots?

                  H S 2 Replies Last reply Reply Quote 0
                  • Tomas5T Offline
                    Tomas5 Gold Members @Tomas5
                    last edited by

                    said in [Question] No stupid questions - ask anything here:

                    Hello, can anyone help, I am trying to display Graph for HearthRate.

                    I am using this code for displaying graph, it is taken from one of examples just modified input path for current hearth rate:

                    <graph style="position:absolute;
                                  left:0px; top:0px; width:100%; height:100%;
                                  box-sizing: border-box;
                                  padding-right:90px; padding-top:60px; padding-bottom:60px;
                                  font-size:21px;"
                           valueFormat="HeartRate_Fourdigits"
                           type="line"
                           grid="three lines"
                           inputType="subscribe"
                           input="/Activity/Move/-1/HeartRate/Current"
                           min="0.6666666667"
                           max="3"
                           slack="0.1"
                    />
                    

                    and it works fine in simulator and I see this:

                    Snímka obrazovky 2026-03-20 210235.png

                    but when I upload app to watch (Suunto 5 or Race 2), than there is no graph line for Heart Rate:

                    1774037407881-img_2476.jpg

                    @suuntopartnerteam do you have any hint what can be wrong ? It works in simulator but not in watch, when i see system events i see only this error and not sure if it is related:

                    #1998533 25.03.2026 06:10:01 : ERR WBMAIN : *0: app 1248 Event 3 80523203
                    #1998534 25.03.2026 06:10:01 : ERR WBMAIN : 1: mea 16 Wait 0 00000000
                    #1998535 25.03.2026 06:10:01 : ERR WBMAIN : 2: ui 16 Wait 0 00000000

                    Suunto Ambit 2 > Suunto 5 > Suunto Race 2

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      harry08 Bronze Member @ook
                      last edited by

                      @ook
                      Hi, I have the same problem.
                      Running on a MacBook Air with newest OS.

                      1 Reply Last reply Reply Quote 0
                      • brechtvbB Offline
                        brechtvb Bronze Member @Strulian
                        last edited by

                        @Strulian Hello

                        i was hoping to implement this myself, but the public available api from spotify does not allow to download anything - for obvious reasons.

                        I don’t think suunto today allows to store large data on the watch itself (although a race s already has 32gb free storage).

                        For Garmin, spotify made the app themselves. Perhaps Suunto can persuade spotify to make the app themselves.

                        But, another thing is lacking: we cannot link wireless earbuds with the Race S/2.

                        1 Reply Last reply Reply Quote 1
                        • S Offline
                          SuuntoPartnerTeam @harry08
                          last edited by

                          Hello @harry08 .

                          would like to have small portions of the UI visible depending on logic.

                          The uiViewSet element is exactly what you are looking for. It allows you to programmatically switch portions of a template without duplicating everything

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            SuuntoPartnerTeam @ook
                            last edited by

                            @ook @harry08

                            Is anyone else having trouble taking screenshots?

                            This is an unfortunate bug in the latest release (as mentioned in our simulator post). No ETA on the fix, but the dev team is aware of this issue 😌

                            1 Reply Last reply Reply Quote 0
                            • Nikolai SimonovN Offline
                              Nikolai Simonov @SuuntoPartnerTeam
                              last edited by

                              @SuuntoPartnerTeam

                              Is there any way to restrict installation to certain devices via the manifest or somewhere else?

                              For example, my app is designed only for watches that support entering user settings, and I want to prevent it from being installed via the SuuntoPlus Store on devices that don’t support them (like the Suunto 9 Baro or non-PRO Peak models).

                              Suunto Race 2 Ti
                              Suunto Race
                              Suunto 9 Baro

                              Suunto Aqua
                              Suunto Wings

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                SuuntoPartnerTeam @Egika
                                last edited by

                                @Egika Honestly, this is the first time our forum team has seen icons used in that way and we don’t know what could have changed to make your formatting (with an added <div class="f-ico"></div> around) only work in the simulator. You might just have to implement additional setText() logic in your code. The Dynamic Icons example may be of use.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Suunto Terms | Privacy Policy