Switch to desktop version  
MQTT- Easy connection to Microsoft AZURE IOT Hub/ IOT Central using SAS tokens - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: BASIC Script (https://techforum.ewon.biz/forum-52.html)
+--- Thread: MQTT- Easy connection to Microsoft AZURE IOT Hub/ IOT Central using SAS tokens (/thread-561.html)



MQTT- Easy connection to Microsoft AZURE IOT Hub/ IOT Central using SAS tokens - Waterlot - 28-03-2018

Hi Guys,

Here you can easily configure ready-to-use BASIC scripts for your Flexy.

In the case of Azure IOT Hub or IOT Central, all you have to do is :
  • In Azure IOT Hub, create a device and get its primary connection string (IOT Hub) or its scopeid, deviceid and primary key (IOT Central)
  • Generate the SAS token on our support tools website : https://tools.ewonsupport.biz/AzureSASToken/  (SAS Tokens generated on this page are valid for 10 years)
  • Configure the BASIC script parameters on the Ewon Support Script Repository : Ewon Live Data on Azure IOT Hub/Central or Ewon Historical Data on Azure IOT HUb/Central
  • Copy the generated script in your Ewon Flexy BASIC IDE (Init Section) and save it.
  • Create some Tags and assign them to at least one group.
  • Run the BASIC script from the BASIC IDE (Do not forget to select "Autorun" if you want to start the script at the eWON boot)

Simon