iot

华为云IoT专家直播——构筑智慧路灯实战分享

戏子无情 提交于 2020-01-22 19:35:46
万物互联智能世界来临,如何帮助物联网厂家尽快完成解决方案构筑并实现快速上线商用,是当前物联网平台面临的关键挑战之一。 那么,伙伴开发者如何基于华为云提供的IoT云服务,快速完成一款解决方案的开发和上线呢? 物联网领域涉及的开发技术范围较广,那么华为云的IoT云服务提供了哪些能力帮助设备开发者在不熟悉IT开发技术的情况下快速实现应用的开发? 本期华为云专家技术公开课直播,邀请到云享专家谢冲,将从原理到实操,以智慧路灯解决方案构筑为例,带领开发者们快速了解华为云的IoT云服务,帮助开发者们快速掌握使用IoT云服务完成开发的技巧,欢迎报名收看。 HDC.Cloud 华为开发者大会2020 即将于2020年2月11日-12日在深圳举办,是一线开发者学习实践鲲鹏通用计算、昇腾AI计算、数据库、区块链、云原生、5G等ICT开放能力的最佳舞台。 欢迎报名参会 ( https://www.huaweicloud.com/HDC.Cloud.html?utm_source=&utm_medium=&utm_campaign=&utm_content=techcommunity ) 来源: https://www.cnblogs.com/huaweicloud/p/12229308.html

物联网IoT实习的记录分享(持续推进)

两盒软妹~` 提交于 2020-01-21 08:31:13
自从实习以来,就是在物联网方面进行一些学习。公司对智慧家居、智慧交通、智慧工业这三块进行了实训箱的制作。后面还进行了通信模式的介绍,通信模块包括有线通信和无线通信,这个有和华为推出的1+2+1的物联网框架有关,华为推出的物联网框架是华为自己的物联网轻量型操作系统LiteOS,具体有什么优点也不是很清楚,后续有时间琢磨一下,然后就是它的两种接入方式有线和无线,无线就是直联IoT平台,另一种就是利用网关或其他的方式间接连接IoT平台,就是有线的接入方式,最后的“1”就是它的OC平台,OC平台的确很有用,它对接的是华为的商用和工业环境,给教学提供了很大的便利,我们学校也搭建了一个服务器,不知道怎么搭建的平台,后面再学习一下。具体在家居方面,它用到的STM32L4RC系列的芯片,这个芯片是低功耗系列的,我们好像也没有将它设置为低功耗模式,也主要是因为我们这边开发的是开发板,程序要一直运行,如果应用到实际过程中的话,是传感器有状态的时候,就开始工作。用的传感器有蓝牙、人体红外、烟雾感应、温湿度传感器和语音芯片LD3320,关于起始上拉和下拉的问题,如果设置为NOPULL模式,可以降低能耗,如果对起始状态有要求的话,我们就严格设置为上拉和下拉,这样它的起始值就会变为“无”或者“未连接”。 来源: CSDN 作者: 电子-小白 链接: https://blog.csdn.net

Using same X509 certificate for multiple devices in Azure device provisioning service

家住魔仙堡 提交于 2020-01-16 16:58:34
问题 I have to enroll multiple devices in Azure Device provisioning service and I am using group enrollment to achieve the same. I have created a self signed X509 certificate and enrollment group too. I registered a simulated device to the group using the sample code. I want to create another simulated device with same certificate and enroll in group. Is that possible? The input to the sample app is the Id scope of device provisioning service and the certificate. How can I add another device. if

Using same X509 certificate for multiple devices in Azure device provisioning service

﹥>﹥吖頭↗ 提交于 2020-01-16 16:58:07
问题 I have to enroll multiple devices in Azure Device provisioning service and I am using group enrollment to achieve the same. I have created a self signed X509 certificate and enrollment group too. I registered a simulated device to the group using the sample code. I want to create another simulated device with same certificate and enroll in group. Is that possible? The input to the sample app is the Id scope of device provisioning service and the certificate. How can I add another device. if

C# How to update desired twin property of an Azure IoT Hub device

◇◆丶佛笑我妖孽 提交于 2020-01-15 09:32:09
问题 I have registered the devices in IoT and the client application (device) can update reported twin properties. Now, I have to update desired twin properties from back end application (in C#). Need help. 回答1: Here's a sample on GitHub. And here's a tutorial. Here is the relevant piece of code: public async Task UpdateDesiredProperties(string deviceId) { var twin = await _registryManager.GetTwinAsync(deviceId); var patch = @"{ properties: { desired: { customKey: 'customValue' } } }"; await

C# How to update desired twin property of an Azure IoT Hub device

自闭症网瘾萝莉.ら 提交于 2020-01-15 09:31:06
问题 I have registered the devices in IoT and the client application (device) can update reported twin properties. Now, I have to update desired twin properties from back end application (in C#). Need help. 回答1: Here's a sample on GitHub. And here's a tutorial. Here is the relevant piece of code: public async Task UpdateDesiredProperties(string deviceId) { var twin = await _registryManager.GetTwinAsync(deviceId); var patch = @"{ properties: { desired: { customKey: 'customValue' } } }"; await

Refused: not authorized error occurs with IBM IoT Foundation on Bluemix

橙三吉。 提交于 2020-01-15 08:23:11
问题 When I attempt to connect to the IBM IoT Foundation with a registered device, I receive the following error message: Error connecting to IBM IoT: {"errorCode":6,"errorMessage":"AMQJS0006E Bad Connack return code:5 Connection Refused: not authorized."} How do I resolve this problem? 回答1: It is possible that you have expired as a member of your org if you created the service (and thereby the org) via the Bluemix dashboard. When you log into Bluemix, you get a 24 hour pass as a guest. You can

AWS IoT - Access shadow through .Net, REST, with certificate

血红的双手。 提交于 2020-01-14 09:46:05
问题 Trying to learn AWS IoT, I created a few "Things" + a Policy and I am even able to use IoT CLI to list-things or list-policies . I am even able to update the shadow through CLI with update-thing command through CLI. But once I try to access a Shadow through REST GET / POST request (through a .Net program or directly like https://XXXXXXXXXXXXX.iot.us-west-2.amazonaws.com/things/mything/shadow), I receive a "Missing Authentication Token" . So I started to use a certificate. Here is part of my

树莓派Pi2安装Win10 IoT

与世无争的帅哥 提交于 2020-01-13 01:50:45
安装镜像 https://www.raspberrypi.org/forums/viewtopic.php?t=125785(Win10 IoT Build 10586,试了几个版本,只有这个能用) 下载用于Raspberry Pi的ISO镜像。 下载完iso镜像,解压后运行里面的 Windows_10_IoT_Core_RPi2.msi,等待安装完成。 默认安装到C:\Program Files (x86)\Microsoft IoT 。 写入镜像 运行IoTCoreImageHelper.exe,将SD卡插入,将flash.ffu(位于 C:\Program Files (x86)\Microsoft IoT\FFU\RaspberryPi2)写入SD卡中 烧写完成后,将SD卡插入树莓派Pi2中,上电启动(有显示器的话先接显示器,再上电),可能需要几分钟,然后就可以看到Windows IoT界面啦。 远程连接 可以监测设备的应用有loT Dashboard或Windows loT Core Watcher,树莓派与控制电脑要处于同一局域网,要么都无线,要么都Ethernet。 如果树莓派没有接显示器,可以远程控制桌面,用Windows自带的远程桌面控制或Windows loT Remote Client(但我的目前还连不上) 然后可以用Dashboard自带的测试案例进行测试

Mosquitto 1.4.2 Websocket support

Deadly 提交于 2020-01-11 06:49:08
问题 I'm trying to utilize Mosquittos recent update to support websockets in the broker. I'm running Mosquitto v1.4.2 and I've added the following lines to the mosquitto configuration file (mosquitto.conf): listener 10001 127.0.0.1 protocol websockets listener 1883 protocol mqtt When I try and start the broker with the new configuration I get the following : $ mosquitto -c /etc/mosquitto/mosquitto.conf Error: Websockets support not available. Error found at /etc/mosquitto/mosquitto.conf:16. Error: