Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Paul
    @PRIMETSS
    Installed AzureIOTToolkit for first time, but closed the first "Enter connection string" box as was still setting up a Hub. Now I just get and Error saying "Connection string is missing hostname".. and Cant get it to prompt for connection string again, have tried multiple uninstalls...
    Jun Han
    @formulahendry
    @PRIMETSS It seems that you have set a wrong IoT Hub connection string in input box. You could go to File > Preferences > Settings (Code > Preferences > Settings on Mac), in the right (not left) edit area, you would see azure-iot-toolkit.iotHubConnectionString. Update the config of azure-iot-toolkit.iotHubConnectionString to change your IoT Hub Connection String.
    Jun Han
    @formulahendry
    image.png
    Paul
    @PRIMETSS
    Thanks thats helped!
    Might need to read a bit more, as when I setup and EventHub and get connection string Im getting
    Endpoint=sb://ptsstesteventhub.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=xxxxxxx
    Paul
    @PRIMETSS
    Its ok, got it, forgot it wasa device connection, found it in policy
    Jun Han
    @formulahendry
    @PRIMETSS Yes :smiley: The format of IoT Hub Connection String is HostName=<my-hub>.azure-devices.net;SharedAccessKeyName=<my-policy>;SharedAccessKey=<my-policy-key>
    Paul
    @PRIMETSS
    Thanks for your help appreciated!
    Jun Han
    @formulahendry
    @PRIMETSS You are welcome.
    Israel G B Leite
    @israelestagio_twitter
    Hi, greats!
    Jun Han
    @formulahendry
    @israelestagio_twitter Thank you!
    Michael Brown
    @aguywithcode
    Is anyone here?
    Whenever I attempt to Start Monitoring Built-In Endpoint I get the following message
    [IoTHubMonitor] TypeError: Either provide "eventHubName" or the "connectionString":
    I've already set the connection string. I'm able to successfully run the CLI monitor using the IoT extensions for Azure CLI
    My guess is that I'm on an outdated version of the IoT Tools
    Michael Brown
    @aguywithcode
    Ahhh it looks like there's an open bug in github for it. microsoft/vscode-azure-iot-toolkit#491
    Paul DeCarlo
    @toolboc

    I am noticing that the Azure IoT Hub extension is now throwing an error if any create options are specified for any custom modules.

    Ex: Given the following entry in a deployment.template.json:

            "modules": {
              "YoloModule": {
                "version": "1.0",
                "type": "docker",
                "status": "running",
                "restartPolicy": "always",
                "settings": {
                  "image": "${MODULES.YoloModule}",
                  "createOptions": {
                    "Env": [
                      "VIDEO_PATH=$CONTAINER_VIDEO_SOURCE",
                      "VIDEO_WIDTH=0",
                      "VIDEO_HEIGHT=0",
                      "FONT_SCALE=0.8"
                    ]
                  }
                }
              }
            }

    Will result in an error when attempting to "Create Deployment to a Single Device" from VS Code with:

    There are errors in deployment json file: data.modulesContent.$edgeAgent['properties.desired'].modules['YoloModule'].settings should NOT have additional properties

    This configuration has worked without issue since July 2019, and only started receiving reports of being broken since the latest update was released 6 days ago. The deployment can be seen here: https://github.com/toolboc/IntelligentEdgeHOL/blob/master/deployment.template.json

    Many users are reporting similar issues, the problem is in the schema validation, it is assuming that ANY entries aside from image for ANY custom module is invalid. This is going to break ALOT of deployments:

    microsoft/vscode-azure-iot-toolkit#499