Skip to content

Aegis CLI: A Python tool for ESP32 that monitors serial ports and uploads code using Arduino CLI.

License

Notifications You must be signed in to change notification settings

thennavan-dev/Aegis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aegis

Aegis is a network operations tool designed to facilitate the management and monitoring of ESP32 devices through a command-line interface (CLI). The tool provides functionalities for uploading code to the ESP32, monitoring serial output, and detecting connected devices.

Features

  • Upload Code: Upload Arduino sketches to ESP32 devices.
  • Monitor Serial Output: Continuously monitor the serial output from ESP32 devices.
  • Detect Connected Devices: Automatically detect and list connected ESP32 devices on serial ports.

Pre-requisites

Before using Aegis, ensure you have the following:

  • Python 3.12 or higher installed on your system.
  • Arduino CLI installed and configured. Install Arduino CLI.

Installation

  1. Clone the Repository:

    git clone git@github.com:Thennavan-Hex/Aegis.git
    cd Aegis
  2. Create and Activate a Virtual Environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the Required Python Packages:

    pip install -r requirements.txt

Usage

  1. Monitor Serial Output:

    To monitor the serial output from the ESP32:

    python main.py scan
  2. Upload Code to ESP32:

    To upload code to the ESP32 device:

    python main.py scan -u

    Ensure that the Arduino sketch (scan.ino) is located in the Code directory.

Contributing

Contributions to the Aegis project are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your modifications and test them.
  4. Submit a pull request with a description of your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or issues, please contact the project maintainer:

Notes:

  • Make sure to adjust the sections according to your project specifics, such as contributing guidelines and license details.
  • The paths and commands are based on standard practices; adjust them if your setup differs.

About

Aegis CLI: A Python tool for ESP32 that monitors serial ports and uploads code using Arduino CLI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published