Questions tagged [azure-iot-edge]

Use this tag for questions related to Azure IoT Edge, which is an Internet of Things (IoT) service that builds on top of IoT Hub.

656 questions
2
votes
2 answers

How to call direct method on iot edge agent from another module?

I'm playing around with experimental features from 1.0.10-rc2. There is a direct method on edgeAgent UploadModuleLogs. I can call the method from Azure Portal and it works fine. I'm trying to call the method from my module on the same device like…
Juri
  • 1,531
  • 2
  • 20
  • 43
2
votes
1 answer

monitoring azure-iot deployments via azure-cli

Background I'm using Azure-cli (version >2.3.1) to create IoT Edge deployments: echo az iot edge deployment create --content $(iotDeploymentPath) --deployment-id $(deploymentId) --hub-name ${hub} --priority $(priority) --target-condition…
Livne Rosenblum
  • 196
  • 1
  • 12
2
votes
2 answers

Azure IoT client not getting connected to IoT Hub

Im facing these errors in my Invoke Module. I have two modules which runs python script. One module to get invoked cloud message and other to receive the invoked cloud message through the input. Everything was working fine and suddenly Im…
Nishad Nazar
  • 371
  • 2
  • 3
  • 16
2
votes
2 answers

Variables in azure iot edge deployment template

In Azure Iot edge deployment template json, I see a variables named MODULES.SampleModule or MODULES.SampleModule.json. An example is at this link. There is JSON schema at iotedge repository. But I am not able to find a reference documentation for…
kiranpradeep
  • 10,859
  • 4
  • 50
  • 82
2
votes
1 answer

foreach Azure.Pageable then throw System.FormatException

I refer to the tutorial to write the code for upload a blob to IoT edge mcr.microsoft.com/azure-blob-storage:latest module to list the blobs inside the container. BlobServiceClient blobServiceClient = new BlobServiceClient…
Ryan Chen
  • 23
  • 5
2
votes
3 answers

Azure IoT Edge & Certificates

We would like to deploy a few thousand IoT devices on our internal network and connect them to Azure IoT hub via IoT Edge as a transparent gateway (using MQTT). Reading this Understand how Azure IoT Edge uses certificates it would seem that I need…
Gavin Hill
  • 347
  • 1
  • 14
2
votes
0 answers

Do the IoT Edge Built-In Metrics work in the iotedgehubdev simulator?

I'm trying to determine if the Built-In Metrics for Azure IoT Edge (described here) can be accessed when running locally with the edgeHubDev simulator for v1.0.9. I've created a deployment.template.json with a edgeHub configuration like…
DevOnEdge
  • 21
  • 3
2
votes
1 answer

Azure Downstream device to Edge gateway with python

I’m trying to get the downstream device communication with Azure gateway scenario. Raspberry Pi is the IoT device and I am using Jetson nano as Edge Device, I have tried both symmetric method and self signed, both seems a failure. Please help me…
vishruti
  • 445
  • 4
  • 20
2
votes
0 answers

Azure IOTEdge - Raspberry Pi 4 (standard_init_linux.go:207: exec user process caused "exec format error")

I am trying to follow the https://github.com/Azure/ai-toolkit-iot-edge/blob/master/IoT%20Edge%20anomaly%20detection%20tutorial/00-anomaly-detection-tutorial.ipynb tutorial. The one difference is that I am pushing to a Raspberry Pi 4. The edgeHub and…
2
votes
0 answers

IoT Edge Offline Data Storage decoding .log data file

I have mounted local storage to my Edge Hub/Agent Modules, and when the device goes offline it stores the data locally. In the event that the device cant go up online, I need to be able to read the offline data and send it to IoT hub. After looking…
2
votes
1 answer

What is the best way to manage secrets in an Azure IoT Edge?

I am moving a containerized application to an Azure IoT Edge device. I used to use docker secrets to manage things like private keys, database passwords etc. Is there a way to manage these secrets from the cloud?
2
votes
1 answer

How to interact with Azure IoT Edge Module and Module Twin when debugging Module with Visual Studio

I have set up an Azure IoT Edge Module, and it works quite fine when deploying it to a IoT Edge Runtime via Azure. However, I am not able to find a way how to interact with the module while locally debugging it. What I need to do is to invoke direct…
kolbi
  • 147
  • 8
2
votes
1 answer

Docker: Why Do Variables Passed From .env Linger in the Container Even After They Are Removed From .env and Rebuilt

I'm trying to understand why env variables inside my Docker container keep appearing when I've clearly removed or commented them out from my .env file. I'm fairly new to Docker and don't know if this is expected behavior or an anomaly. The way my…
Mix Master Mike
  • 1,079
  • 17
  • 26
2
votes
2 answers

Message Encrypted in Azure IOT EDGE Route to Blob

I am sending data from Azure EDGE to Azure IOT Hub. I have configured routes to Blob storage endpoint. I get the message but when i look at the JSON file, the Body is encrypted. I have configured the endpoint as…
Strike
  • 95
  • 1
  • 1
  • 8
2
votes
1 answer

Whats the best way to start long running methods in modules in Azure IoTEdge?

I need a keep-alive function running as long as the device is running. The method is inside a module. I am experiencing that it stops running after 3-10 hours. // Async method to send keepalive signals private static async void…