Regarding IoT EDGE server setup on desktop - azure

I am pretty new regarding IoT EDGE server setups, I am looking for suggestions or any tutorials that can guide me to set up IoT-EDGE servers on my desktop

Azure IoT Edge extends IoT Hub. Analyze device data locally instead of in the cloud to send less data to the cloud, react to events quickly, and operate offline.
For more information on complete Azure IoT Edge quickstart tutorials, please visit the below mentioned Microsoft's portal.
Azure IoT Edge documentation.
Microsoft's learning paths which gives a step by step learning.
Introduction to Azure IoT Edge.
The below article lists the steps to install the Azure IoT Edge runtime on your Windows x64 (AMD/Intel) system using Windows containers.
Install the Azure IoT Edge runtime on Windows.
The below article lists the steps to install the Azure IoT Edge runtime on an X64, ARM32, or ARM64 Linux device.
Install the Azure IoT Edge runtime on Debian-based Linux systems.
If you are stuck or have any questions on your learning journey please follow below link to get connected with wonderful community groups and forums.
Azure IoT support and help options.

Related

Azure IoT Hub Package Update for Windows Service

I have a Windows based software written in C# as a BackgroundWorker class, communicating with Azure IoT Hub (bascially a remote control/management endpoint).
It runs as a Windows service.
I would like to leverage IoT Hub Device Update, for this Windows agent, using th Package Update method - and have it update the service with the released software.
I can see a tutorial for Ubuntu, but nothing for Windows and only mention of porting to other platforms - before i start going down a rabbit hole and implementing a Windows platform layer, looking for any examples/implementations for Windows specifically.
I'm a PM on the Device Update for IoT Hub team. In general, we intend Device Update for IoT Hub to be our first effort at bringing the kind of powerful update management capabilities that Windows already enjoys to the non-Windows (IoT) world. With a decade-plus of Microsoft investment in Windows update management already, our team's initial focus and investment for the DU offering, then, have been on Linux and RTOS variants for IoT specifically. For that reason, we don’t have a specific plan yet for Windows support in Device Update for IoT Hub.
However, the DU offering is flexible by design such that any devices connected to Azure IoT Hub can be updated by Device Update if the open-source DU Agent that we make available is ported to the OS running on those devices, and if the appropriate handler (installer) for the update type is also available on that device. That is something that could possibly unblock you if you were willing to do the porting work. We definitely hear feedback on the desirability of managing updates for both Windows and non-Windows IoT devices connected to Azure IoT Hub using a single stack and experience, and would be interested in hearing more details about your specific scenario.”

how to push data from azure iot to unity 3D

I am working on unity and I need a small help. I am trying to push azure iot data to unity 3D. Can anyone tell how can it be done? I have searched on the internet and has not found a reliable information. Please help me with this.
If you build the unity 3D project for Universal Windows Platform as C# project,you can install Microsoft.Azure.Devices.Client package, and then use DeviceClient to receive Cloud-to-Device message.
Of cause, you can use other azure iot hub SDKs if you did not use C#. Currently, Auzre IoT Hub SDKs support .Net, C, Java, Node.js, Python and iOS.
In addition, as Roman Kiss mentioned in above comment, Azure Function is another option.You can refer to this link.

Sample C code for Azure IOT Central device

I'm trying to develop a device suing Azure SDK C. I'm able to send telemetry messages (using the "iothub_ll_telemetry_sample" sample) but I'm NOT able to receive settings (I define a setting, FanSpeed, but when I change the value on IOT Central then I don't receive any callbacks).
There is it a working sample? possibly for Windows.
Thanks
You can find the Azure iot central firmware examples on github. I would suggest you to look at AZ3166 example for azure iot central
For Azure IOT Central I have found the most useful examples to be located on the Azure IOT Central firmware github:
https://github.com/Azure/iot-central-firmware
The repository has been reorganized a bit since the earlier answer from Ozzz. You can find a C code example in the MXChip example.

Possible to remotely update Windows 10 IOT Core App without Azure or Windows Store?

I am in the process of finishing up a Windows 10 IOT Core app to be deployed on Raspberry Pi 3 devices for a single location beta test. The app is consumer facing and reads from a sensor so I am sure there are going to be at least 1 or 2 updates per week as we perfect the app. Everything I am reading says you can only achieve app updates from Windows Device Portal, Windows Store, or Azure.
Windows Device Portal works fine for local management/deployment right now but won't work remotely because the devices will eventually be installed all throughout the country behind different firewalls, etc. We don't want to have to keep up with customer firewall port forwarding.
Windows Store probably won't work because we don't want to have to wait for up to 48 hours for update approvals. Also not sure if Windows 10 IOT fully supports Windows Store yet.
I have not figured out how Azure IOT Hub manages app updates but I would really like to avoid having to use Azure if possible since we prefer to keep everything on our own servers and not pay cloud providers for stuff we can do on our own servers.
Has anyone figure out how to run a background service to download an app update and apply it?
I am just going to have to deal with Azure IOT Hub?
There is another option: Using OMA-DM.
Using OMA-DM: The app is updated using an OMA-DM compliant device
management channel such as Intune or System Center Configuration
Manager (SCCM)
The OMA-DM interface is supported in Windows 10 IoT Core and any
OMA-DM compliant management solution can be used to install and update
applications. Read the documentation for EnterpriseModernAppManagement
CSP for usage instructions.
NOTE: Some information of EnterpriseModernAppManagement CSP relates to prereleased product which may be substantially modified before it's commercially released.
You do need a type of (online/internet) service to connect to your IoT Core devices. Reference:
Microsoft Store: The app is published and updated from the Microsoft Store
Using Component Update Service: The app is published to Windows Update and updated like any other OEM package (driver package) Coming soon
Using Azure IoT Device Management: The app is published to Azure Storage and updated through the Azure DM channel New for Windows 10, version 1709
Using OMA-DM: The app is updated using an OMA-DM compliant device management channel such as Intune or System Center Configuration Manager (SCCM)
With Store, you'll be using the Microsoft Store service; Azure IoT Device Management will be using Azure IoT hub; OMA-DM can use Intune/SCCM or your own infrastructure (OMA-DM Server)

Internet of Things using MS Azure

I am starting my journey of IoT development with MS Azure. I would like some insight on the Azure cloud. I am a total newbie on cloud development. Can someone tell me some good books/links on Azure that will help me understand how I can use Azure for IoT and start development on the same.?
Thanks a lot for your inputs.
This totally depends on the architecture of your application. You can use SAAS components for rapid prototyping, parts or all of your application architecture. This will give you a better insight into selecting the appropriate stack of tools for your application.
If you want to deploy your own software stack, you would provision Azure Virtual Machines. Azure provides an SDK to interact with the cloud infrastructure.
Docker is a really good option to use for application deployment these days. Google provides better support for Docker containers using its Kubernetes framework.
Simple APIs or website can be developed on azure using Azure webapps. I am currently developing a node application using azure websites. The actual container where the site runs is a windows NT machine with IIS. If you want your SAAS server container's to be linux based then you might look at AWS/Google or Redhat Openshift.
I have used OpenShift SAAS, and found it quite easy to get onboard with.
I advise you to have a look at Build and Ignite events, this week. There might be more announcements there. You can definitely have a look at the following white paper: http://download.microsoft.com/download/E/1/F/E1FFDADF-C0FF-4E72-A834-B173A079F393/Microsoft_Internet_of_Things_White_Paper.pdf
The most important services for IoT in Azure are (until today):
Azure Event Hubs: a massive ingestion service that can take in millions of telemetry events per second.
Azure Stream Analytics: Real time complex event processing, combining multiple incoming streams of data and detection patterns in it
PowerBI: this will allow users to build and explore interactive reports and graphs
Azure Machine Learning: Leverage prediction & machine learning models
For storage, you have DocumentDB, Azure and blob storage, among other
HDInsight will help you in working with the data (big data) and make jobs with it.
Azure Web Apps and API apps will allow you to present and expose the data to you users and custom reports
Good luck

Resources