-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
AVNET model not compatible? #2
Comments
Hi Stefan, Thanks for your message. Mmmm......let me take some time to debug what you mention properly. |
Hi Stefan, Just pushed an evolution to take into account the notation with arrays (which is linked to semantics and units). The set of unit tests and non-regression tests are ok but I will add more tests in the upcoming days (for instance, using the DTDL you provided). I will keep you posted. Additionally, I will check with Microsoft if there is a "best practice" in terms of notations and/or if we should use the "array" notation all the time. Feel free to reach out or report any other issue/feedback. |
Hi Jon, I did a quick test with and without the array notation. Currently, the behavior seems to be as before: it works without the array and does not work with the array. Looking forward to the next updates, thanks again for working on this. From the examples that I looked at and the manufacturer-submitted models in the |
Sorry it took me some time to write you back. There were actually many things involved in the issue after my last release. Telemetries with semantic and units were covered in the release of last week; the errors you encountered were due to other sources (commands with "rich" payloads (type object)). The new version should solve all the mentioned issues. |
Hi @jonmikeli , I just tested your new release and it worked like a charm! Thank you so much for your swift fixes and improvements! |
Hi Jon,
I just stumbled over your project. I think it's a great idea to use DTDL for data simulators!
I tried it using the
./DTDLModels/thermostat.json
model. It worked fine. I then wanted to use https://raw.githubusercontent.com/Azure/iot-plugandplay-models/main/dtmi/avnet/mt3620starterkit-1.json model (for the Azure Sphere AVNET Device). Unfortunately, no telemetry data was generated (but no error message was output either).The output just stops at:
When I strip the
mt3620starterkit-1.json
to a bare minimum:It works and produces telemetry data. However, if the original value of the
@type
property is used in the minimal example above (i.e.["Telemetry"]
as an array), it does not work and shows the above behavior.I guess this type notation is not supported in your simulator yet?
The text was updated successfully, but these errors were encountered: