Overview
Create a new in-app tool that simplifies the process of adding new Modbus devices to the system. This feature should provide a user interface to configure device details, generate the required JSON configuration automatically, and create a pull request (PR) in the repository with the new JSON file.
Requirements
- Build a UI/CLI to:
- Add or map a new Modbus device (set addresses, names, types, etc.)
- Automatically generate the appropriate JSON config file for the device.
- Prepare and push the config file to a new branch.
- Automate the process of creating a PR with the new device config.
- Handle validation and error reporting.
- Provide clear feedback to the user throughout the process.
- Document the usage of this tool in the repo.
Rationale
Adding new Modbus devices is currently manual and time-consuming. An integrated tool will speed up onboarding and ensure consistency across device additions, reducing room for user errors.
Acceptance Criteria
Overview
Create a new in-app tool that simplifies the process of adding new Modbus devices to the system. This feature should provide a user interface to configure device details, generate the required JSON configuration automatically, and create a pull request (PR) in the repository with the new JSON file.
Requirements
Rationale
Adding new Modbus devices is currently manual and time-consuming. An integrated tool will speed up onboarding and ensure consistency across device additions, reducing room for user errors.
Acceptance Criteria