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

Use Serial from EDID as IDs #36

Merged
merged 4 commits into from
Jul 19, 2024
Merged

Use Serial from EDID as IDs #36

merged 4 commits into from
Jul 19, 2024

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Jul 19, 2024

This uses the serial from the EDID as ID if available, only falling back to machine-id if it cannot be read/parsed.

An ID explicitly configured in the config file still has priority.

This is the ID shown as "Display Product Serial Number" by edid-decode.

flokli added 4 commits July 19, 2024 14:15
We want nodes to be able to report their state back.
Use the same types previously introduced in
https://github.com/flokli/display-agent
We always pass a Some() in there. Also name the two channel ends tx/rx
at creation.
Populate the Info struct with values from the EDID, and pass the serial
down to the mqtt listener.
@flokli flokli requested review from VanuPhantom and nikstur July 19, 2024 13:21
@flokli flokli merged commit 61847dd into wipbar:main Jul 19, 2024
3 checks passed
@flokli flokli deleted the edid-as-ids branch July 19, 2024 17:36
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