Closed oedze closed 1 year ago
I would expect that local model resolution supports the DMR conventions /cc @digimaun
Hi @oedze
It sounds like you are indeed doing things.
We will need you to set up the local file path (for example the path would be d:/ if my Thermostat.json file is in my d drive), and the Thermostat.json.json should have an @id property equals to dtmi:com:example:Thermostat;1 (
)
Once you save the values, the tool should be able to recognize the models.
Closing with instructions given.
I think there is some value by finding files in a folder hierarchy that follows the DMR convention. Do you want to track as a different feature?
Sorry for not reading the descriptions close enough. Yes so far Explorer does not support indexes and the expand file format. I am reopening the issue to investigate what we can do here.
Sorry for not reading the descriptions close enough. Yes so far Explorer does not support indexes and the expand file format. I am reopening the issue to investigate what we can do here.
Hi @YingXue yes, as @rido-min mentioned. I expected the local folder to work as a model repository. When i add the folder it's in the list with a big header above it called: "Model Repository Locations". I now added the thermostat-1.json file to the root of the folder structure and it works indeed.
It would be nice if the local folder would follow the conventions.
Maybe it's possible to add an extra option next to add Public Repository
, Configurable Repository
and Local folder
called Local Repository
. Then you also won't be breaking any local folders that are setup.
For now i can work with the local folder just fine, Thanks!
We have just release version 0.15.7 and addressed the feature request. Please give it a try if you'd like. Thank you. https://github.com/Azure/azure-iot-explorer/releases/tag/v0.15.7
I am trying to import model definitions using the IoT Explorer. But the IoT Explorer always tells me it can't find any definitions for the model interface i am using. I tried a few things but can't seem to get it to recognize any models.
dtmi:com:example:Thermostat;1
, but with no luck. I did try this with the public repository set, which works, so my device is working properly (i think)Some extra information: