azure-iot-edge

Azure IOT Edge message quota

霸气de小男生 提交于 2021-02-20 02:14:44
问题 I have a problem with an Edge device that I have. Even though no devices are sending any data, the message quota is seeing a lot of traffic even though no messages are beeing sent. For example 14000 messages will be accumulated during 7 hrs or so. Is there any way to debug the internal messages? I've checked with docker logs edgeHub and docker logs edgeAgent but nothing out of the ordinary there. 回答1: If it can help someone, I had this kind of problem yesterday, sending message from my edge

Azure IOT Edge message quota

与世无争的帅哥 提交于 2021-02-20 02:14:38
问题 I have a problem with an Edge device that I have. Even though no devices are sending any data, the message quota is seeing a lot of traffic even though no messages are beeing sent. For example 14000 messages will be accumulated during 7 hrs or so. Is there any way to debug the internal messages? I've checked with docker logs edgeHub and docker logs edgeAgent but nothing out of the ordinary there. 回答1: If it can help someone, I had this kind of problem yesterday, sending message from my edge

Azure IOT Edge message quota

时光总嘲笑我的痴心妄想 提交于 2021-02-20 02:14:36
问题 I have a problem with an Edge device that I have. Even though no devices are sending any data, the message quota is seeing a lot of traffic even though no messages are beeing sent. For example 14000 messages will be accumulated during 7 hrs or so. Is there any way to debug the internal messages? I've checked with docker logs edgeHub and docker logs edgeAgent but nothing out of the ordinary there. 回答1: If it can help someone, I had this kind of problem yesterday, sending message from my edge

Having trouble accessing /dev/serial0 on a Raspi from within a Module in Azure IoT Edge

試著忘記壹切 提交于 2021-02-11 15:31:34
问题 I'm trying to set up a Module which will interact with /dev/serial0 on a Raspberry Pi B+ running Raspian Stretch. I've used dtoverlay=pi3-miniuart-bt in /boot/config.txt to restore UART0/ttyAMA0 to GPIOs 14 and 15 (which is what my Raspi-based HW needs me to do). I have attempted to make that device accessible to the Module using the following Container Create Options: { "HostConfig": { "PortBindings": { "1880/tcp": [ { "HostPort": "1880" } ] }, "Privileged": true, "Devices": [ { "PathOnHost"

Azure IoT Edge ModuleClient invoke direct method in another module

ε祈祈猫儿з 提交于 2021-02-08 10:12:50
问题 I'm using the Azure IoT Edge runtime running Linux containers on a Windows host OS. I have two modules, ModuleA and ModuleB. ModuleA have a registered direct method called "MethodA" and ModuleB have a registered direct method called "MethodB". When I invoke MethodA I want the method to invoke MethodB located in another module (but running in the same IoT Edge runtime). I'm using the Azure IoT SDK for c# and in the Init() function of ModuleA I have: await ioTHubModuleClient

UpdateTwinAsync failing

强颜欢笑 提交于 2021-01-29 05:20:34
问题 I am trying to update the Module twin of an edge device. I can now retrieve the Device Twin for the module, but I cannot save the updated Desired properties back into the IoT Hub. var moduleTwin = await registryManager.GetTwinAsync("DeviceId", "ModuleId"); moduleTwin.Properties.Desired["key"] = "value"; var updatedTwin = await registryManager.UpdateTwinAsync("DeviceId", moduleTwin, moduleTwin.ETag) When this runs, I get the following exception Where "DeviceId" is the value obscured in red. I

Azure IoT Edge Module Identity Translation for virtual Downstream Devices

佐手、 提交于 2021-01-20 13:09:56
问题 I have the following setup: Multiple modbus sensors 1 Gateway connected to these sensors via ModbusTCP. On this gateway, one Azure IoT Edge module is running (using the NodeJS SDK), that reads all values of each connected sensor Azure IoT Central for device management In IoT Central, I would like to represent each modbus sensor with a separate device template. This way, I can configure dashboards that are unique for each sensor. These sensor device templates should then be configured to be

Azure IoT Edge Module Identity Translation for virtual Downstream Devices

僤鯓⒐⒋嵵緔 提交于 2021-01-20 13:08:09
问题 I have the following setup: Multiple modbus sensors 1 Gateway connected to these sensors via ModbusTCP. On this gateway, one Azure IoT Edge module is running (using the NodeJS SDK), that reads all values of each connected sensor Azure IoT Central for device management In IoT Central, I would like to represent each modbus sensor with a separate device template. This way, I can configure dashboards that are unique for each sensor. These sensor device templates should then be configured to be

One of the IoT Edge Module is in Backoff state Raspberry Pi 4 with Raspbian OS

狂风中的少年 提交于 2021-01-07 01:34:03
问题 I have developed a module and built the image for arm64v8 architecture as my Edge device is running in Raspberry Pi 4. I got the file deployment.arm64v8.json in the config folder correctly. But when I right-click on the device in Visual Studio Code and select Create Deployment for Single Device, the modules are getting added, but one of the modules is showing Backoff state. What could be the problem here, and was strictly following this doc. I also tried restarting the services. Device

One of the IoT Edge Module is in Backoff state Raspberry Pi 4 with Raspbian OS

ぐ巨炮叔叔 提交于 2021-01-07 01:32:52
问题 I have developed a module and built the image for arm64v8 architecture as my Edge device is running in Raspberry Pi 4. I got the file deployment.arm64v8.json in the config folder correctly. But when I right-click on the device in Visual Studio Code and select Create Deployment for Single Device, the modules are getting added, but one of the modules is showing Backoff state. What could be the problem here, and was strictly following this doc. I also tried restarting the services. Device