Giter VIP home page Giter VIP logo

jonmikeli / azureiotdevicesimulator5-pnp Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 1.56 MB

Azure IoT Device Simulator (.NET 5) integrating IoT Plug and Play (IoT PnP) capabilities. The simulator allows referencing DTDL v2 models and the telemetry, properties and commands will be created dynamically.

License: GNU Affero General Public License v3.0

C# 99.70% Dockerfile 0.30%
iot azure-iot iot-plug-and-play simulator iot-simulator dev-tools test-tools net5 dtdl iot-hub-sdk

azureiotdevicesimulator5-pnp's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @jonmikeli

  • ๐Ÿ‘€ Iโ€™m interested in a lot of things. In a few words, creating value, learning, improving day after day and trying to work smart, not only hard.

In IT, my fields of predilection these last years have been IoT and Azure (backend) solutions. I am naturally attracted by domains related to environment, smart cities/buildings, real estate and/or automation but manufacturing, logistics, health, industry or agriculture are other fascinating domains. Out of IT, I'm also interested in business but I guess this field would be out of topic here.

  • ๐ŸŒฑ Iโ€™m currently learning more and more about different types of architectures, going a bit deeper in specific data oriented services (ex: ADX) or in containerized solutions (ex: ACA and Dapr).

  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on creating value, tools and ideally, building some kind of ROI. This might translate into extensions (Visual Studio or .NET CLI), templates, tools, simulators or any kind of activity helping to increase efficiency.

I am also trying to monetize part of these contributions mainly to have the feeling to find some ROI besides technical or functional value.

  • ๐Ÿ“ซ How to reach me: LinkedIn or Twitter.

azureiotdevicesimulator5-pnp's People

Contributors

jonmikeli avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

azureiotdevicesimulator5-pnp's Issues

AVNET model not compatible?

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:

dbug: IoT.Simulator.Services.DeviceSimulationService[0]
      08/23/2021 16:30:41::logType:c2dmessages::simulated-device::Device listening to cloud to device messages.

When I strip the mt3620starterkit-1.json to a bare minimum:

{
  "@id": "dtmi:avnet:mt3620Starterkit;1",
  "@type": "Interface",
  "displayName": "StarterKitOutOfBoxExample",
  "@context": "dtmi:dtdl:context;2",
  "description": "Implements the interface for the Avnet Azure Sphere Starter Kit Out of Box example",
  "contents": [
    {
      "@type": "Telemetry",
      "description": "WiFi Received Signal Strength",
      "displayName": "WiFi Received Signal Strength",
      "name": "rssi",
      "schema": "double"
    }]
}

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.