-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
[feature] Hardware ID / serial number #70
Comments
I'm proposing |
@okraits great, that's fine for me, we will just have to indicate both namings in the README to help users find this feature more quickly if they need it |
@nemesisdesign I already updated |
@okraits adding a link to the hardware-id README section of django-netjsonconfig is a great idea! |
@nemesisdesign I rebased against master and added the link. |
We should add a new configuration option like "serial_number" or "serial_number_script", which is a path to a script which if exists will be used to retrieve the serial number, which will then be sent to ow2 during registration.
We could add another boolean config option like "serial_number_key" which if true uses the serial number to generate the device key.
The default value of this config option could be true if "serial_number_script" is defined and exists, false otherwise.
It would basically mean the key is generated from the serial number by default when this feature is used, but it can be turned off if needed.
The actual names of the config options may be different than those proposed here if we find better ones.
The text was updated successfully, but these errors were encountered: