Skip to content

Implement all available device commands on backend#8

Merged
choden-dev merged 8 commits intomainfrom
implement-all-available-commands-on-backend
Nov 11, 2025
Merged

Implement all available device commands on backend#8
choden-dev merged 8 commits intomainfrom
implement-all-available-commands-on-backend

Conversation

@choden-dev
Copy link
Copy Markdown
Owner

@choden-dev choden-dev commented Nov 11, 2025

Overview

The commands that relate to setting configuration on the device have been implemented. This includes:

  • Clearing all images
  • Set an image for a specific zone
  • Configuring a list of actions for an input (introduced in Implement backend socket interface #7)
  • Setting brightness
  • Setting the boot logo
  • Clearing a specific image

Top level message

Protobuf doesn't support handling different messages when parsing, so the workaround was to introduce a TopLevel message that the client sends and make use of the oneof type to make sure we get a mutually exclusive message

To do

The following will be added in a following PR to reduce scope:

  • Sending commands from server to a client
  • DB operations for smaller commands
    • Clearing images (need to remove from DB)
    • Brightness
    • Boot logo
    • These should also be read on startup

Note

Unrelated but we would also have to work on a new state for when the device is disconnected (i.e scan for device again).

@choden-dev choden-dev changed the title Implement all available commands on backend Implement all available device commands on backend Nov 11, 2025
@choden-dev choden-dev merged commit c1ddeaa into main Nov 11, 2025
8 checks passed
@choden-dev choden-dev deleted the implement-all-available-commands-on-backend branch November 11, 2025 19:48
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.

1 participant