[Question] No stupid questions - ask anything here
-
said in [Question] No stupid questions - ask anything here:
The graph class has an attribute type. I found the documented values “bar” and “line”. The enum has additional values “dot line” (works) and “separate bars” (does not work for me).
Clarification: I discovered that the enum value “separate bars” exists, but the functionality has not been implemented yet.
-
@chus1962
I having the same issue with u with my Mac OS,trying to connect with suuntolink via USB and bluetooth also,both not working, discovery is turn on too
just find out there is some requirements need to follow and setup in order to connect with bluetooth, now is all work. -
@SailingP there is more to it not covered. Example app Graph uses Activity/Log/-1/…… but it doesn’t work for me in simulator or in watch and documentation doesn’t mention what Log values are avalable. I think i didn’t found much explanation for get vs subscribe etc. I hope for some more documentation. And preferably available online so it can be read from phone/tablet while not siting at front of VScode.
-
@Pottu tnx! (Works just fine)
-
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