Skip to content

Add a Tool to Easily Add New Modbus Devices and Automate JSON & PR Creation #59

Description

@pszafer

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

  • A tool or panel is available for users to add new Modbus devices.
  • JSON config files are generated and validated based on user input.
  • New branches and PRs are automatically created and submitted.
  • All actions are logged and user is notified about PR status.
  • Documentation available in the repo for using this feature.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions