mhamidjamil / orangepi

In this repository, Python scripts are employed to automate a myriad of tasks, facilitating seamless communication with various interconnected projects. The codebase serves as a robust foundation for orchestrating and streamlining operations, promoting efficiency and coordination across multiple facets of the project ecosystem.
MIT License
2 stars 0 forks source link
ecosystem orangepi orangepi5plus python3 uart-protocol ubuntu

Orange Pi with ESP32 TTGO TCall

Workflow Status

In this repository, Python scripts are employed to automate a myriad of tasks, facilitating seamless communication with various interconnected projects. The codebase serves as a robust foundation for orchestrating and streamlining operations, promoting efficiency and coordination across multiple facets of the project ecosystem.

Serial Interface Web App

This is a simple web application that allows you to view and interact with serial data from a device connected to your Orange Pi 5 Plus.

Getting Started

  1. Install Dependencies: Make sure you have Python, Flask, and PySerial installed.

    pip install Flask pyserial schedule requests beautifulsoup4 pyngrok python-dotenv influxdb_client
  2. Run the App: Open a terminal, navigate to the project directory, and run:

    python app.py

    Access the web interface at http://127.0.0.1:6677 or http://localhost:6677. Replace the address with the IP of your Orange Pi for network access.

  3. Usage:

    • The web page displays real-time serial data from the connected device.
    • Use the input field to send data back to the device.
  4. Customization:

    • Modify the Python script (app.py) to adjust the serial port or customize the interface.
    • Update the HTML template (templates/index.html) to change the look and feel.

Dependencies

License

This project is licensed under the MIT License.

New feature added to this project offers a streamlined solution for fetching upcoming Namaz (prayer) times and the current time, tailored for Lahore/Punjab, Pakistan. Additionally, it seamlessly integrates with the TTGO TCall project, allowing users to leverage it as a Two-Factor Authentication (2FA) method.

Key Features:

Usage:

Note: Read me file might be out dated as I add almost 2 to 3 new features per week so do check closed issues to know which new feature is added.