Open the Resource Monitoring Panel

Open the Resource Monitoring PanelintroducerunExtended OperationsAsynchronous ExecutionAPI

 

introduce

YAHBOOM K230 has a built-in visual resource monitoring panel, which needs to be opened in a WIFI environment

The effect is as follows

image-20250424203411210

run

The example code of this section is located in [Source Code Summary/11.Network/09.Monitor/monitor.py]

We run this code on K230, and normally we will see the following output in the console

Then we use a mobile phone or computer with the same WIFI as K230 to open the browser

Enter http://192.168.3.174:8082/ in the address bar and press Enter

Extended Operations

Asynchronous Execution

The system monitoring panel code is executed in a multi-threaded manner.

So you can insert this code to start the resource monitoring panel in any code

This operation has a certain degree of difficulty

But please note:

  1. Due to the computing resource limitations of K230, running the Resource Monitoring Panel in more complex code may cause the system to freeze.
  2. Micropython's multithreading mechanism is non-preemptive software multithreading, so in your original code, you must add time.sleep(1) in the loop to manually release CPU resources, otherwise the resource monitoring panel will not be able to obtain CPU execution permissions, resulting in the panel being unable to access normally.

API

The information in the Resource Monitoring Panel is essentially

The original return value obtained by the interface is as follows

You can obtain the operation information of K230 by calling this interface.