-
Notifications
You must be signed in to change notification settings - Fork 302
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 a wizard for creating end devices #579
Comments
Sounds good to me, especially if we can group fields for components together in a step. That way, we can simply skip/disable steps when a component is not available. Referencing #1234 also; even if JS is available, the user can skip the JS fields. |
Every node is a step
It looks complicated, but it the current implementation has even bigger state space regarding validation/submission/field mask generation/etc. Consider the diagram as an initial proposition to start the discussion. |
I think this is a good start.
And some small things:
|
Yes, great start.
I agree with this. If the activation mode is OTAA and the cluster JS is enabled, on the JS page users get the choice to enter root keys and store them on the cluster JS. (if they disable that, NS uses JS lookup, just like when there is no JS in the cluster enabled) |
|
Why?
For me it seems outside of the scope of this issue
Do we want to set it for ABP devices as well? I would say the fewer fields we have, the better. However, it is needed we can add it.
So the label should be
Fixed 👌
So this is just the matter of allowing users to skip the join server submission step? No requests to js at all? Regarding #1134, could you also specify where do these fields belong in the diagram?
Just to clarify:
I think it is still fine to show it to the users. Should allow the users to set it for multicast devices?
You mean
Fixed 👌 |
Yeah I'm coming back on this; I think it makes more sense to enter MAC versions before entering keys. So I'm supporting the current flow. If MAC version is entered (when NS is enabled), we don't have to ask for
It is out of scope indeed.
Yes, we want to optionally ask for it. The more identification information we have about end devices, the better. It is also required in stateful passive roaming. The reason we don't force users to enter the DevEUI, is because if there is no DevEUI, we don't want users to enter bogus values.
It's
Indeed. An example is a device featuring Semtech's modem which uses the Semtech Join Server. We only need to know EUIs in that case.
They belong in the JS step; these fields to go JS, if the JS is enabled in the cluster and if the user wants to provision the devices on the JS. These fields are optional.
Strictly:
Invalid is
No, this is not for multicast.
Should be |
@bafonins please see @johanstokking 's answer. |
|
Device Address still missing from |
Updated 👌 |
Multicast can be 1.0.x and 1.1.x. Entering the session information ( |
@bafonins can you give a status update and timeline on this issue? |
For
|
Summary:
The add device form (added in #573) is currently not composing fields based on constraints (except for ABP / OTAA selection). For example, it could hide the fields that are only relevant for specific LoRaWAN Versions, or rename fields accordingly (eg.
NwkSKey
vs.FNwkSIntKey
).Why do we need this?
For better UX, avoid faulty inputs
What is already there? What do you see now?
The add device form, with conditional fields based on OTAA/ABP
What is missing? What do you want to see?
More sophisticated checks and constraints applied into the form, preventing faulty inputs
Environment:
Console in browser
How do you propose to implement this?
Likely hook into field change events and compose fields accordingly
Can you do this yourself and submit a Pull Request?
Yes.
The text was updated successfully, but these errors were encountered: