Skip to content

Add id command #438

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add id command #438

wants to merge 5 commits into from

Conversation

gorbit99
Copy link
Contributor

@gorbit99 gorbit99 commented May 5, 2025

Implements #146

Adds an identification packet with id 28. This packet forces the LED on and doesn't let anything else turn it off until the server allows that. It also acknowledges this packet back to the server.

Probably a rework of the LED system to base it off priorities and whatnot would be in order to make this a bit cleaner.

The packet contains a sensorId, so it is in theory possible to idenfitify just an extension, but since this isn't currently supported in the code at all even if there were to be an LED on the extension, the param gets ignored and as a fallback the main LED gets lit up instead. Ideas are welcome.

@gorbit99 gorbit99 requested a review from loucass003 May 5, 2025 21:09
@gorbit99 gorbit99 marked this pull request as ready for review May 5, 2025 21:10
@gorbit99 gorbit99 requested a review from Eirenliel as a code owner May 5, 2025 21:10
@Eirenliel
Copy link
Member

plz rebase 🥺

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