Skip to main content
Version: v1.0

Introduction for using the simulator

Intro

Zepp OS simulator can help developers simulate the running performance of Mini Programs. At the same time, you can view the log of the Mini Program, which is convenient for developers to debug and greatly improve the development efficiency.

desk.png

Take the TodoList Mini Program running on the simulator as an example.

There are the following windows.

  • Device side simulator
  • Simulator main interface
  • Settings App simulator and logs
  • Side Service logs

Introduction for use

Top Function Introduction

desk.png

  1. User avatar, click to login
  2. "Device Simulator" open button
  3. "Settings App Simulator" open button
  4. Bridge mode open button
  5. Screenshot
  6. "Device Simulator" model selection box
  7. "Device Simulator" download management

Install and open "Device Simulator"

Zepp OS simulator does not have a built-in "device simulator", you need to download it from the "device simulator" download manager.

download.jpg

info

Developers can download the corresponding models as needed, no need to download all of them

After completing the download, the available models will appear in the "Device Simulator" model selection box. After selecting the corresponding model, click the "Device Simulator" open button to successfully pop up the "Device Simulator".

device_simulator.jpg

After successfully enabling the Device Simulator, the Zeus CLI dev Compile Preview command will be able to connect to the simulator successfully and preview the project automatically.

caution

If "Device Simulator" does not pop up successfully after clicking the "Device Simulator" open button, please check the installation process carefully for any omissions, refer to Simulator - Installation and launch.

Typically, this phenomenon occurs on Windows and MacOS platforms because the virtual network card has not been successfully installed and configured correctly.

Use the keyboard to simulate the physical keys of the real machine

When the window is focused on "Device Simulator", the keys on the keyboard can simulate the physical keys of the real machine.

Watch key nameKeyboard keysDescription
HOMEHome, use the fn + key combination on a MacGo to app list/back to Watchface
SHORTCUTEnd, use the fn + key combination on a Mac-
SELECTenter-
BACKdelete-
UP-
DOWN-

Use the mouse wheel to simulate the rotation of the digital crown.

Apps

Mini Program development history, manage connected Mini Programs.

applist.png

Sensors

Sensor settings, you can mock the value of the sensor.

applist.png

Display

Customized settings.

applist.png

User

Mock the value of user settings.

applist.png

Console

You can view the logs of device applications and provide filtering capabilities.

applist.png