[Question] No stupid questions - ask anything here
-
and if wish to view HRV data?
from the documentation it looks like an object:
**/Hrv/Rmssd
Type: Get/SubscribeGets or subscribes to the latest HRV measurements.
Response: Object {HrvData}
timestampLocal: Uint32 - Local timestamp in seconds
rmssd: Uint32 - RMSSD in milliseconds**so while
{ “name”: “heartrate”, “source”: “/Activity/Move/-1/HeartRate/Current”, “type”: “subscribe” }
works great,
{ “name”: “in_hrv1”, “source”: “/Hrv/Rmssd”, “type”: “subscribe” }
Shows nothing :(. I wonder if its related to the fact the only 95% of the usability is currentry supported. -
@SuuntoPartnerTeam is someone using the Accelerometer data?
the onAccelerometer function is not being called, evaluate(…) is correctly called.
This is in the manifest.json
"in": [ { "name": "HeartRate", "source": "Activity/Move/-1/HeartRate/Current", "type": "subscribe" }, { "name": "Acceleration", "source": "Fusion/Zapp/Accelerometer", "type": "subscribe" } ], -
Hello,
problem solved.
the acceleration information (if in manifest.js declared), is available in the onEvaluate call, there is no need for onAcceleration(…) implementation.
I believe the documentation is outdated.
-
@SuuntoPartnerTeam I am trying to display the baro trend in my S+ like the litte arrow that shows how the barometer is changing:

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=|2=|3=|4=|5=|6=|7=|8=|9=" />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!
-
@Tomas5
Log refers to saved data, which is why the graph only works after at least one activity with HR data has been recorded while using the app. Currently this isn’t available in the simulator. In g1.html of the graph example, the average HR data for the previous exercise is displayed.You can use a path like:
/Activity/Log/{logIndex}/{Window}/{WindowIndex}/{Parameter}
which works both with and without a leading /.Thanks for pointing this out, it definitely needs to be added to the documentation.
-
@assaf1007 hrv is available only via belt afaik
-
The “Watch displays” docs say
Note: SuuntoPlus is no longer maintained for UI1(s、m、l).
Does this mean that the Vertical 1, which has UI1 l, is not supported? Or, just that no updates to this first public release of s+ will be coming for these watch models?
-
@SuuntoPartnerTeam thanks for explaining, i was mistaken that logIndex -1 is reading log forcurrently recorded excercise.
-
@SuuntoPartnerTeam
Hi, one question regarding date calculations. I saw in the Suunto Reference that Date is not supported in the standard built in objects.
So I need to do all date calculations based on seconds? Is this true?Thanks
-
@suuntopartnerteam I’m still a little bit confused about the
setText()behavior.For example
I create two template files, both with a<div id="testid" ....>section.
In the main.jsevaluate()function I set the textsetText('#testid', 'testvalue');This put’s the text in th div-section. If the text is changed, the div-section updates accordingly.
However, when I change the template to the second tempate (and call
unload('_cm');) the div-section on the new template, which has the same id, isn’t updated at all.Do you have any advise on how to handle this?
-
-
As with web development, ids are meant to uniquely determine an element. You shouldn’t use the same id for different elements. This is true even when those elements are inside different HTML templates, if both templates may be active at some point during the runtime of the app
-
You cannot change a template that is not active. The uiViewSet might be something worth looking at, depending on what you’re trying to achieve
-