This application is a real-time IoT dashboard that uses Panel, HoloViews, and Params to display and interact with the data. It fetches data periodically and updates the curves dynamically.
- Python 3.7+
- Panel 0.12.1
- HoloViews 1.14.4
- Param 1.11.1
- Pandas
- NumPy
- Tornado
To run the application, follow these steps:
-
Clone the repository:
git clone https://github.com/mehdibouzit/holoviz-oscilloscope.git
-
Install the dependencies:
pip install -r requirements.txt
-
Build the Docker image (ensure Docker is installed):
docker build -t hmi .
To run the application with Docker, execute the following command:
docker run -p 5006:5006 hmi
After running the above command, you can access the application by navigating to http://localhost:5006/hmi
in your web browser.
To run the application, follow these steps:
-
Make sure you have installed all the necessary dependencies listed in the
requirements.txt
file. -
From the command line, execute the following command to launch the application:
panel serve hmi.py
Make sure you are in the root directory of the application when running this command.
-
Once the application is launched, open a web browser and navigate to the following URL:
http://localhost:5006/hmi
This will display the user interface of the application.
-
Use the available widgets and controls in the interface to interact with the application and view real-time curves.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.