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
3
votes
1 answer

How to specify --device option for Docker run command?

I'm testing out the new Azure IoT Edge V2. I need to run the Docker image deployed to the edge device with the --device option like this (to access a serial port): $ docker run --device=/dev/serial/by-id/usb-ELT_SENSOR_EK100_V1.0_SN000001-if00-port0…
OlavT
  • 2,496
  • 4
  • 31
  • 56
2
votes
2 answers

"unauthorized: authentication required" when trying to docker push onto Azure container registry

I am following this tutorial showing how to develop IoT Edge modules with Linux containers. I have created an Azure registry (I will call it myazureregistry). Now I am trying to "docker push" the example module to this registry: sudo docker push…
Sheldon
  • 4,084
  • 3
  • 20
  • 41
2
votes
1 answer

OPC Publisher 2.8.4 : BadMonitoredItemIdInvalid

I'm running OPCPublisher and when I try to get some node's value I get this message: :"StatusCode":{"Symbol":"BadMonitoredItemIdInvalid","Code":2151809024}. I never had this problems in other servers. I use the same nodeId that UaExpert shows: My…
2
votes
0 answers

Azure IoT Edge nested, how do we secure top level docker container registry?

We are using Azure IoT Edge in a nested edge configuration for devices at L3 with parents at our top level L4. Regarding the top level docker registry module we have deployed at the L4 parents, this appears to be wide open and we’re concerned with…
Becker
  • 417
  • 1
  • 4
  • 12
2
votes
1 answer

How to provision Azure Iot Device via another device which has Iot Edge Runtime?

Achieved -> Provisioned Iot Device using Iot SDK directly with Device Provisioning Service Provisioned Iot Edge Device using configurations with Device Provisioning Service Expected -> Provision all Iot Device via Iot Edge device which means Iot…
Sanjay Singh
  • 231
  • 1
  • 3
  • 11
2
votes
0 answers

Subscribe simulated data using OPC Publisher from OPC UA server

I'm able to connect the OPC UA simulation Server and OPC Publisher and could see the messages on the Azure portal. Is it mandatory to mention the node details to get data or Is there any possibility to subscribe all the data from the OPC UA…
2
votes
1 answer

Use Iot hub edge module client to get device twin properties

I am trying to fetch device twin properties within an IoT Edge module, and while I am already connected with a module client (aka IoTHubModuleClient), I've found a method called get_twin() in the documentation that says that we can grab device or…
Mehdi Benmoha
  • 3,694
  • 3
  • 23
  • 43
2
votes
1 answer

Error: ENOENT: no such file or directory in visual studio code

I am facing the problem while creating edge solution in visual studio code. Its showing below the error Error: ENOENT: no such file or directory, lstat…
2
votes
1 answer

Azure IoT Edge Yocto Project Support

We are building Azure IoT Edge by getting the meta-iotedge layer from the URL below with Yocto Project Version 2.5 (sumo). https://github.com/Azure/meta-iotedge The latest version of the meta-iotedge layer is 1.0.10, But Ubnutu Linux has released…
sakane138
  • 21
  • 1
2
votes
1 answer

Identifying if an IoT Edge layered deployment has completed

Is there is a reliable way to determine if a given layered deployment has been successfully completed (=~ all edge modules in the deployment are running and configurations are applied) on a given edge device? I'm wondering about a case where: a new…
Ossi Ottka
  • 23
  • 2
2
votes
1 answer

Python async function returning coroutine object

I am running a python program to listen to azure iot hub. The function is returning me a coroutine object instead of a json. I saw that if we use async function and call it as a normal function this occurs, but i created a loop to get event and then…
2
votes
1 answer

Access IoT Edge Device Twin from Edge Module when using X.509 Authentication

Scenario: IoT Edge Gateway provisioned using DPS & X.509 Authentication Leaf devices will use SAS key and will each have their own identity in IoT Hub We need to access Edge Device Twin properties from an IoT Edge module. This would be possible if…
2
votes
1 answer

How to restrict memory and CPU usage of edgeAgent container

Can you tell me how to limit the CPU and memory size of the edgeAgent container? I limited the size on portal.azure.com, but it didn’t work at all. I noticed that the edgeAgent is set in the configuration file config.yaml of the iotedged damon…
allendeng
  • 21
  • 1
2
votes
2 answers

Dealing with frequent device Twin reads and throttling

Inspired by Azure IoT PCS Remote Monitoring repository I started working on my own IoT system based on Azure Iot Hub. Similar to IoT PCS repository, I have an API endpoint (/api/devices) that returns a list of devices on the my IoT Hub - when client…
OverflowStack
  • 825
  • 1
  • 14
  • 30
2
votes
0 answers

One or more errors occurred. (Permission denied /var/run/iotedge/mgmt.sock) caused by: docker returned exit code:

I just installed IoTEdge on Raspberry strech following this:Azure/InternetofThings/IoTEdge/Install or uninstall the Azure IoT Edge runtime However I get these errors below. 3 weeks I installed another one and it worked perfectly with the same…
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506
1 2
3
43 44