Search found 11 matches

by Imozeb
07 Jul 2025, 15:24
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

How do I get the heartrate array for the day?

I tried to follow the docs here, but the array won't populate. https://docs.zepp.com/docs/watchface/api/hmSensor/sensorId/HEART/

My Code:

heart.addEventListener(event, callback: Callback)

const hrTodayListener = function () {
let myArray = heart ...
by Imozeb
06 Jul 2025, 13:36
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

Does your editor output Zepp OS 1.0 or Zepp OS 2.0 code? If it is 1.0, does that mean that I can only use functions from the Watchface 1.0 DOCS and not 2.0 or App DOCS?

Thanks!
by Imozeb
05 Jul 2025, 20:52
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

One question. Do you know if it is possible to temporarily store variables in Zepp OS 2.0 using: hmFS.SysProSetInt64(key, val)

https://docs.zepp.com/docs/watchface/api/hmFS/SysProSetInt64/

It seems to not work. Does something need to be enabled in the app.json?

I tried:

hmFS.SysProSetInt64 ...
by Imozeb
05 Jul 2025, 17:05
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS


I don't see where you defined the screenType variable.
I recommend changing the value in ‘packageInfo’ to “mode”: ‘development’ in the app.json file. This will allow you to view the logs. It will be easier to understand what the error is.


I managed to get it working. Now I am going to program ...
by Imozeb
05 Jul 2025, 13:44
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

Also, is there any way that I can edit the code generated from your program directly and rezip it with the proper compression for uploading? It looks like if I add my code to your "function scale_call()", it would work.
by Imozeb
04 Jul 2025, 13:45
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

Thanks.

So now I have gotten it to display "5" on the screen from "resume_call.js" below.

I would like to display the actual calories divided by 2, but I am not sure to do that. From what I read, I cannot get the actual calories value when the watch display resumes. Is this true?

I tried pulling ...
by Imozeb
03 Jul 2025, 21:18
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

Thanks for all your help. I've manage to get static text to display on the screen; however, the text will not update. Is there a specific location that I should put my event listeners or function calls?

This is how I currently have it:

user_functions.js:

// 1 User Functions (Include All User ...
by Imozeb
03 Jul 2025, 01:01
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

I've tested a couple things tonight and found that if I unzip and then rezip the watchface package generated by your program (without editing the index.js file), it won't upload to my watch anymore, so I may have to go with the second route which is adding the code via the editor. However, it looks ...
by Imozeb
02 Jul 2025, 10:45
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

So after reading the docs, I think I partially understand.

Just two questions:
1. Am I correct that to add custom text, calculations, etc, I would export the watch face from your software and then edit the json file to add my custom scripts?

2. The docs do not mention math functions at all. Do ...
by Imozeb
01 Jul 2025, 09:57
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

I noticed that the calories burned for walking on my Bip 5 is very inaccurate. Is there any way to pull distance from the watch as a float and use my own algorithm to calculate my own calories to display (not overwriting their calorie calculation, but just displaying what my algorithm calculates)?
by Imozeb
27 Jun 2025, 14:17
Forum: Watchfaces tools
Topic: Watch face editor for Amazfit watch on ZeppOS
Replies: 1188
Views: 2697664

Re: Watch face editor for Amazfit watch on ZeppOS

I created a watch face in version 13.2 for my Bip 5.

I used distance -> text font option to display the distance. and units

The units are stuck in kilometers and the units do not respect changing the units to imperial (miles) from the Zepp app.

I confirmed that this is not a bug with the Bip 5 ...

Go to advanced search