Azure-Samples/ESP-Samples

Can the setup be done thru PowerShell?

Ayanmullick opened this issue · 8 comments

@ericmitt, @drajput, @tawalke, thanks for the demo video. I wanted to know if this setup could be achieved with the respective PowerShell modules for Azure and IoT.

Hi @Ayanmullick, the setup for Azure can be done via Powershell, but the ESP-IDF v.3.0 framework from Espressif based upon the documentation can be installed on Windows via MinGW or CMD using their scripts.
However, if you want to use the latest version of the ESP-IDF v4.x (lates), they do have a Powershell script for installation: https://docs.espressif.com/projects/esp-idf/en/latest/get-started/windows-setup-update.html

I should note the components we have provided here have been tested using the stable (v3.0 production) but should work with v4.x as well.

Thanks @tawalke, for pointing out the export.ps1 script. Is there an Azure Sample that documents the PowerShell steps to setup the Azure telemetry?

I wish the sensor interaction was also thru the PowerShell-IoT module; like illustrated in the video below.

IMAGE ALT TEXT HERE

Oh sorry @Ayanmullick thanks for the clarification. No sorry there is not a Azure Sample for Espressif devices using Powershell-IoT module. That module only supports Raspberry Pi.

Note: ESP is an uC/SoC running an RTOS and not an MPU wLinux (based) OS.

@Ayanmullick do you need more on this issue, or can we close it ?

@ericmitt , In December's Community Call the PowerShell team had discussed about a stripped down version of PowerShell that could potentially run on microcontrollers. The PowerShell team is probably busy with the version 7 release. But I would be interested to confirm if it's possible to have a pure-PowerShell Azure Sample to connect IoT [ESP] to Azure

Hi @Ayanmullick Currently there is not a version of Powershell that can run on a microcontroller or FreeRTOS (which ESP32/8266 runs). //cc @ericmitt

@tawalke @ericmitt , Could the issue be reopened once the PowerShell micro-controller version is available? We can close this temporarily.

@Ayanmullick make sense, closing for now.