Troy Hopwood

My feedback

  1. 7 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Azure IoT Solution Accelerators  ·  Flag idea as inappropriate…  ·  Admin →
    Troy Hopwood commented  · 

    This ask has come up a few times. There is a way to do this though. You can use the name of your existing resource group as your deployment name. If the resource group already exists we will then deploy into it.

    Note: don't use AzureIoTSolutions.com to delete your deployment though as it will delete the resource group and everything in it.

  2. 3 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Azure IoT Solution Accelerators » Question  ·  Flag idea as inappropriate…  ·  Admin →
    Troy Hopwood commented  · 

    Yes, it is possible to pass parameters to a Direct Method and use this within the simulated device. 1. This info is passed to the script in the context. So if you call a setFuelLevel method and pass the payload {"fuellevel":10]} the context. fuellevel will = 10 and can be used in your script. See an example here: https://github.com/Azure/device-simulation-dotnet/blob/6f0d0737135bac17aeaf413cbff7f10c7588fcda/Services/data/devicemodels/scripts/SetFuelLevel-method.js

    2. There was a regression where simulation quit updating the twin. This has been fixed and it should behave the way you are expecting.

    3. There is currently no support for the script to respond to desired properties. But this is something we should look at.

  3. 2 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Azure IoT Solution Accelerators » Bug  ·  Flag idea as inappropriate…  ·  Admin →
    Troy Hopwood commented  · 

    As you noticed, there appears to be a bug when uploading files. The page SHOULD show an error if you don't include all the scripts referenced in the JSON file. It then is supposed to allow show you a browse button for each of the missing files. This, however, isn't working. You can workaround this problem by uploading your JSON, drone-state.js and droneRecall-method.js all at the same time.

  4. 1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Azure IoT Solution Accelerators » Bug  ·  Flag idea as inappropriate…  ·  Admin →
    Troy Hopwood commented  · 

    We're unaware of any issues creating custom devices. Clicking "Device Models" then "+ Add Device Model" will allow you to create a custom device type. From here you can use the UI to create a basic custom device or you can click the "Advanced" tab to upload a JSON device definition file and a JavaScript device behavior file.

  5. 3 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Azure IoT Solution Accelerators » Bug  ·  Flag idea as inappropriate…  ·  Admin →
    Troy Hopwood commented  · 

    Thank you for your feedback. We have filed a bug for this issue.

    Troy Hopwood supported this idea  · 

Feedback and Knowledge Base