Trying to work on an Edge driver.
I have some custom capabilities displayed in the details view and they are not in a great order by default. For example, it is a dimmer and the dimmer slider gets pushed way down into an imaginary group with some LED settings, I want it to be towards the top. Some of the FYI info is at the top, but I want it on the bottom since it is less useful.
I have gone over a lot of the docs. They seem to be partially old info and some updated info which makes this even more confusing.
I was able to use the CLI/API to download the existing and also a default device-config, make edits and publish a new one. I changed the device profile (yml file) to point to the new presentation ID (vid). The order by itself in the presentation seems to be ignored, they still just show up in a somewhat random but organized fashion. I have no idea how it is deciding what order to show things.
I tried using different component Ids in the device-config and pushed that up. This just made anything not designated to âmainâ disappear. I then realized that the profile needs to have matching components ids.
So next, I tried breaking things out into separate component IDs in the profile, leaving the switch and switchLevel in âmainâ. I abandoned the custom presentation I had set allowing the system to generate one automatically.
Success finally, or so I thought. The items are grouped into the sections I set now, however only the things in the âmainâ id are actually functional. The items in the other groups are just grayed out with a - and I am getting the pop up at the bottom saying âThis device hasnât updated all of its status information yetâ.
I made getting to this point sound much easier than it was, I left out all the gory details of multiple trial and errors over ~4hrs due to very vague and confusing documentation. It is especially frustrating when the app just tells me it cannot connect to the device at this time, with no real way to determine what its actual problem is!
What the heck am I doing wrong now? Why is this so complicated?
(This is not public open source code so I am hesitant to post examples, hoping someone else had the same struggles and can point me in the right direction. I could redact some info and post part of the profile if really needed).