Skip to content

Conversation

@vicocz
Copy link
Owner

@vicocz vicocz commented Jan 1, 2026

No description provided.

@vicocz vicocz requested a review from Copilot January 1, 2026 18:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds basic support for the SBrick Light device, which is a 24-channel LED controller variant of the SBrick device family. The implementation includes device detection, UI channel selectors, and protocol support for controlling the device's two light banks.

Key Changes:

  • Added SBrick Light device type and detection logic to distinguish it from standard SBrick devices
  • Implemented SBrick Light device class with 24 channels (16 in bank 0, 8 in bank 1)
  • Created UI components for channel selection with labeled ports A-H

Reviewed changes

Copilot reviewed 19 out of 21 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
README.md Added SBrick Light to the list of supported receivers
BrickController2/BrickController2/DeviceManagement/DeviceType.cs Added SBrickLight enum value to DeviceType
BrickController2/BrickController2/DeviceManagement/Vengit/*.cs Created new Vengit namespace with SBrick and SBrick Light device implementations, protocol definitions, and device manager
BrickController2/BrickController2/DeviceManagement/SBrickDevice.cs Moved SBrickDevice to Vengit namespace
BrickController2/BrickController2/DeviceManagement/SBrickDeviceManager.cs Removed old manager (replaced by Vengit/SBrickDeviceManager.cs)
BrickController2/BrickController2/DeviceManagement/DI/DeviceManagementModule.cs Updated DI registration to use new Vengit vendor structure
BrickController2/BrickController2/UI/Converters/*.cs Added SBrick Light image resource mappings
BrickController2/BrickController2/UI/Controls/DeviceChannelSelector.xaml* Added UI grid layout for 24 SBrick Light channels organized in 8 ports (A-H) with 3 channels each
BrickController2/BrickController2/UI/Controls/DeviceChannelLabel.cs Added channel label formatting for SBrick Light (e.g., "C.3")
BrickController2/BrickController2/UI/Controls/ChannelSelectorRadioButton.xaml.cs Changed BindableProperty declarations to readonly
BrickController2/BrickController2/BrickController2.csproj Added SBrick Light image resources
BrickController2/BrickController2.Tests/DeviceManagement/Vengit/SBrickDeviceManagerTests.cs Added comprehensive tests for SBrick and SBrick Light device detection
BrickController2/BrickController2.Tests/DeviceManagement/SBrickDeviceManagerTests.cs Removed old test file (replaced by Vengit/SBrickDeviceManagerTests.cs)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vicocz vicocz requested a review from Copilot January 1, 2026 18:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 18 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

if (success)
{
// confirm successful sending
valueBank.Commmit();
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'Commmit' to 'Commit'.

Suggested change
valueBank.Commmit();
valueBank.Commit();

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants