zepp-health / zeppos-samples

A collection of samples about Zepp OS watchfaces and applications
Apache License 2.0
147 stars 53 forks source link

Help with getting started #16

Open balajiramanathan opened 1 year ago

balajiramanathan commented 1 year ago

Hi,

I would like a very basic app that sits on my watch and triggers vibration and a notification on my watch when the watch gets disconnected from my phone.  This will be useful in case I leave my phone behind somewhere and walk away, or the phone gets lost or stolen.  At least I will know about the fact that it is no longer next to me when the phone is still within a couple of hundred feet of me.

Questions:

Is it possible to build such an app? I am an experienced C and Matlab programmer, but don't have any experience with javascript and json. Can you give me some starter code for this app? How would I take this code and put it on my watch to run as an app? Any help with this would be appreciated too.

Thank you very much.

mrcoon commented 1 year ago

You can install the program into the watch via Zepp's development tools Zepp CLI, provided you have NodeJS installed first.

Also, the ability to run in the background is not yet available due to the system's operating mechanism. The functionality you envision may not be perfectly implemented, but you don't have to worry, this part of the capability is already in the planning process and I believe it will be improved in the future.

balajiramanathan commented 1 year ago

OK, this program needs to run as a persistent process, and if that capability is not available right now, I guess I have to wait until it is available in the future. Thank you.

apascualm commented 1 year ago

If it help, I vote up this feature.

We will wait for it