Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique ID Handling for Multiple Devices #32

Open
JoeKae opened this issue Feb 3, 2024 · 0 comments
Open

Unique ID Handling for Multiple Devices #32

JoeKae opened this issue Feb 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@JoeKae
Copy link
Owner

JoeKae commented Feb 3, 2024

Feature Enhancement: Unique ID Handling for Multiple Devices

Issue Description

Currently, when there are multiple devices, there's a need to assign a unique ID to each device. However, each device already reports a unique ID (MAC address). To streamline this process and ensure consistency, the system should automatically utilize the unique ID of each device by default. Additionally, users should have the option to manually set a unique ID, which would override the device's UID.

Proposed Changes

  1. Default Unique ID Handling:

    • Modify the system to automatically utilize the unique ID reported by each device.
    • Implement logic to assign the device's UID as its unique ID by default.
  2. User Override Option:

    • Provide a mechanism for users to manually set a unique ID for each device.
    • Ensure that user-set unique IDs override the device's UID in the system.
  3. Change the default topics to utilize the unique ID

  • sc23dci/UID/subtopics
  • ⚠️ Breaking change

Additional Context

The current process of assigning unique IDs to multiple devices is cumbersome and prone to errors. By leveraging the unique IDs already reported by each device and allowing user overrides when necessary, i can simplify the setup process and ensure accurate identification of devices within the system.

Milestone

  • v2.0.0 Device Management Improvements
  • ⚠️ v2.0.0 because of the breaking change
@JoeKae JoeKae added the enhancement New feature or request label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant