iot

Node-RED, IOT Foundation Out Node Not Sending Commands

扶醉桌前 提交于 2019-12-04 12:06:40
I have a Node-RED application that is bound to an IOT Foundation (iotf) service. I can receive events from devices and handle them appropriately. However, I am now interested in sending commands back to my devices and am having some problems. Nothing is showing up at the device, but by creating an IOTF in node, I can confirm that the command is passing through iotf. I can definitely get commands to pass through iotf using pure python, as the follow code works well: Client code: #!/usr/bin/python import ibmiotf.device from time import sleep options = { "org": "cgmncc", "type": "table", "id":

Azure IoT Hub Certificate

99封情书 提交于 2019-12-04 11:23:56
I'm trying to publish some data on the Azure IoT hub using Mqtt. I've succesfully published some data, using a SAS token. But my customer wants a x509 self generated & self signed certificate. Azure is supporting this, but doesn't give much information about it. ( https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-security#supported-x509-certificates ) A self-generated and self-signed X-509 certificate. A device manufacturer or in-house deployer can generate these certificates and store the corresponding private key (and certificate) on the device. You can use tools such as

How to run a Windows 10 IOT app locally?

别说谁变了你拦得住时间么 提交于 2019-12-04 08:11:36
Is there a way to allow a normal Windows 10 installation to run Windows 10 IOT apps for debugging purposes? Right now when I set the architecture from ARM (Raspberry Pi 3) to x64 (Local machine) I get the following error message when I start a debug session: I've read here that it's got something to do with 'embedded mode' but I can't find any information anywhere about it and the group policy does not appear to contain anything about enabling embedded mode... Help is greatly appreciated! Thanks in advance! It turns out that in addition to applying the policy, you also have to start the

Send LoRa measures to Fiware IOT agent via MQTT

北慕城南 提交于 2019-12-04 07:05:42
问题 I have LoRa sensors which send measures with Cayenne LPP format payload. My Gateway(LOrank8v1) catches these packets and converts them to UDP. In the gateway there is a service(lora-gateway-bridge) which converts the packets from UDP to TCP/MQTT. Then the MQTT packets are published to the mosquitto MQTT broker in the cloud. Then i run lora-server and lora-app-server services in order to decrypt,decode and deduplicate the packets. Then i publish the decrypted information to the MQTT broker

Wso2 iot server with raspberry pi

流过昼夜 提交于 2019-12-04 06:01:48
问题 This is the rest call for switch on off the bulb in raspberry pi. <DeviceTypeConfiguration name="raspberrypi"> <Features> <Feature code="bulb"> <Name>Control Bulb</Name> <Description>Control Bulb on Raspberrypi</Description> <Operation context="/raspberrypi/device/{deviceId}/bulb" method="POST"> <QueryParameters> <Parameter>state</Parameter> </QueryParameters> </Operation> </Feature> </Features> Here, the QueryParameter state stands for on & off. Like bellow. curl -v -k -X POST "https:/

Nvidia和arm合作推进物联网智能

时间秒杀一切 提交于 2019-12-03 21:06:25
NVIDIA Deep Learning Accelerator IP to be Integrated into Arm Project Trillium Platform, Easing Building of Deep Learning IoT Chips GPU Technology Conference — NVIDIA and Arm today announced that they are partnering to bring deep learning inferencing to the billions of mobile, consumer electronics and Internet of Things devices that will enter the global marketplace. Under this partnership, NVIDIA and Arm will integrate the open-source NVIDIA Deep Learning Accelerator (NVDLA) architecture into Arm’s Project Trillium platform for machine learning. The collaboration will make it simple for IoT

What is the size of CoAP packet?

感情迁移 提交于 2019-12-03 07:41:36
I'm new for this technology, can somebody help me to know about some doubt? Q-1. What is the size of CoAP packet? (I know there is 4 byte fixed header, but what is the maximum size limit including header, option and payload?) Q-2. Is there any concept for Keep Alive like MQTT? (It works on UDP for how much time it keeps open the connection, is there any default time or it keeps open every time when we send packet?) Q-3. Can we use CoAP with TCP? (Main problem with it CoAP is it works on UDP, is there any concept like MQTT QoS? Let's say a sensor publishes some data every one second, if

Oreo Wifi Connectivity

故事扮演 提交于 2019-12-03 07:16:37
I am working on an IoT app in which there is an on boarding process where the user connects to an access point, which has not internet connectivity, configure the device and then connects to his home Wifi network. Android 8 devices have been causing some problems, disconnecting from the access point and reconnecting to a previously configured network. I am assuming this is related to the connectivity update which was introduced in Android 8, from section Seamless Connectivity in this link : On compatible devices, automatic activation of Wi-Fi when a high quality saved network is nearby. My

AWS物联网解决方案之:如何将设备安全地接入AWS IoT

瘦欲@ 提交于 2019-12-03 02:08:32
1 简介 AWS IoT解决方案是一个全托管的云平台,使互联设备可以轻松安全地与云应用程序及其他设备交互。AWS IoT可以支持数十亿太设备和数万亿条消息,并且可以对这些消息进行处理并将其安全可靠地路由至AWS终端节点和其他设备。AWS IoT平台支持您将设备连接到AWS服务和其他设备,保证数据和交互的安全,处理设备数据并对其执行操作,以及支持应用程序与即便处于离线状态的设备进行交互。 使用AWS IoT的第一步是将设备连接到AWS IoT Core服务。AWS IoT支持多种接入协议,身份认证方法和授权策略。 2 AWS IoT支持的协议 设备要接入AWS IoT,首先要使用AWS IoT支持的协议来跟IoT平台交互。 2.1 HTTP协议 http协议是互联网中最为常见的协议。http协议支持后面提到的所有认证和授权方式。但是在物联网的场景中,它也有协议开销比较大等确定,另外http只有请求响应的模式不支持物联网场景中非常重要的订阅模式,不能支持下行命令的下发。 2.2 MQTT协议 MQTT协议是物联网场景中使用最为广泛的协议,具有协议开销小,支持发布订阅等所有模式的有点。 2.3 MQTT over WEBSOCKET MQTT over websocket是基于websocket上的MQTT协议,使用443端口,在网络环境可达性上比MQTT更有优势,但是也相对复杂一些。

设备上报二进制数据在云端配置JS脚本解析

匿名 (未验证) 提交于 2019-12-03 00:37:01
阿里 云IoT控制台 配置 1.1 开通阿里云IoT物联网套件 IoT物联网套件官网地址 1.2 创建高级版产品,选择 数据 透传 添加产品属性定义 属性名 标识符 数据类型 温度 temperature float 湿度 humidity float 自 定义payload二进制格式 1λ 2-5λ 6-9λ 9-13λ 00 5b0232e1 41200000 42b00000 command requestId temperature humidity 2.设备端代码 2.1 package.json引入sdk 复制代码 { } 2.2 应用程序代码 复制代码 /** * node iot_raw_data.js */ const mqtt = require('aliyun-iot-mqtt'); const COMMAND_REPORT = 0x00; //设备属性 const options = { }; //建立连接 const client = mqtt.getAliyunIotMqttClient(options); //属性上报的Topic const topic = `/sys/${options.productKey}/${options.deviceName}/thing/model/up_raw`; setInterval(function() { },