Skip to content

SPIKE - generalised device identifiers (NOT FOR MERGING) #403

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timcowlishaw
Copy link
Contributor

I think we should defer this to think properly about after the meshtastic hackday, but wanted to keep this partial implementation around for discussion:

I'm thinking about a way of generalising "device identifiers" into their own model, so we have a simple, consistent method for identifying devices by mac address, device key, meshtastic id, or any other identification scheme that might come along in future.

For the hackday, i think this is overkill, as it's a bit more subtle to implement than i thought, and a new "meshtastic_id" column is probably a safer option, but it might be nice to revisit this as a later refactoring.

This was an attempt to generalise the way we identify devices (by mac
address) in order to easily incorporate other identification schemes
(Such as meshtastic IDs). It's probably an abstraction too far for our
current purposes (allowing meshtastic devices specifically to ingest
data to the platform), but am keeping here for discussion  on potential
future improvements.
@timcowlishaw timcowlishaw requested review from pral2a and oscgonfer July 4, 2025 11:42
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