iot

Get all devices from IoT Azure Hub

萝らか妹 提交于 2021-01-28 04:20:23
问题 I would like to obtain all devices into my Azure IoT Hub system (connected, not connected, it doesn't matter). I've read the documentation about the system itself with no result but Get a list of devices from Azure IoT Hub has become obsolete. Is there any kind of query which let retrieve all devices associated to my system? 回答1: You can use the REST API Service - Query Iot Hub Payload: { "query": "SELECT deviceId FROM devices" } 来源: https://stackoverflow.com/questions/56965855/get-all

Google Cloud IoT - Invalid MQTT publish topic

ぐ巨炮叔叔 提交于 2021-01-28 04:00:56
问题 I am using a Python client with paho-mqtt to publish in this specific topic of Google Cloud IoT: projects/my_project/topics/sm1 . My code is below, based on examples of the Google IoT documentation: import paho.mqtt.client as mqtt import ssl, random, jwt_maker from time import sleep root_ca = './../roots.pem' public_crt = './../my_cert.pem' private_key = './../my_pr.pem' mqtt_url = "mqtt.googleapis.com" mqtt_port = 8883 mqtt_topic = "/projects/my_project/topics/sm1" project_id = "my_project"

Connecting CAD model (Solidworks, AutoCAD or CATIA) with realtime measurements from Raspbery Pi or Arduino Sensor

依然范特西╮ 提交于 2021-01-27 11:44:24
问题 To present my question I will simplify my example. I will connect a sprocket on a step motor and measure acceleration with an accelerometer. The data will be captured by using either an Arduino or Raspberry pi sensor setup. The measurements will then be stored in a cloud-based environment or somehow similar and be send to the CAD model (that's the idea). Basically what I would like to achieve is to: connect the movement of the step motor with the SW/CATIA/AutoCAD model (if the physical

Connecting CAD model (Solidworks, AutoCAD or CATIA) with realtime measurements from Raspbery Pi or Arduino Sensor

荒凉一梦 提交于 2021-01-27 11:42:59
问题 To present my question I will simplify my example. I will connect a sprocket on a step motor and measure acceleration with an accelerometer. The data will be captured by using either an Arduino or Raspberry pi sensor setup. The measurements will then be stored in a cloud-based environment or somehow similar and be send to the CAD model (that's the idea). Basically what I would like to achieve is to: connect the movement of the step motor with the SW/CATIA/AutoCAD model (if the physical

Connecting CAD model (Solidworks, AutoCAD or CATIA) with realtime measurements from Raspbery Pi or Arduino Sensor

╄→尐↘猪︶ㄣ 提交于 2021-01-27 11:42:45
问题 To present my question I will simplify my example. I will connect a sprocket on a step motor and measure acceleration with an accelerometer. The data will be captured by using either an Arduino or Raspberry pi sensor setup. The measurements will then be stored in a cloud-based environment or somehow similar and be send to the CAD model (that's the idea). Basically what I would like to achieve is to: connect the movement of the step motor with the SW/CATIA/AutoCAD model (if the physical

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

Mosquitto: Starting in local only mode

早过忘川 提交于 2021-01-16 04:13:37
问题 I have a virtual machine that is supposed to be the host, which can receive and send data. The first picture is the error that I'm getting on my main machine (from which I'm trying to send data from). The second picture is the mosquitto log on my virtual machine. Also I'm using the default config, which as far as I know can't cause these problems, at least from what I have seen from other examples. I have very little understanding on how all of this works, so any help is appreciated. What I

Mosquitto: Starting in local only mode

怎甘沉沦 提交于 2021-01-16 04:10:07
问题 I have a virtual machine that is supposed to be the host, which can receive and send data. The first picture is the error that I'm getting on my main machine (from which I'm trying to send data from). The second picture is the mosquitto log on my virtual machine. Also I'm using the default config, which as far as I know can't cause these problems, at least from what I have seen from other examples. I have very little understanding on how all of this works, so any help is appreciated. What I

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