Waterlot
|
Joined:
Feb 2018
Posts:
4
Threads:
3
|
|
28-03-2018, 12:46 PM
(This post was last modified: 19-04-2022, 01:40 PM by simon.)
See below post...
|
simon
|
Joined:
Mar 2016
Posts:
2.760
Threads:
127
|
|
04-03-2019, 12:57 PM
(This post was last modified: 05-04-2022, 12:17 PM by simon.)
Hi Guys,
Here you can easily configure ready-to-use BASIC scripts for your Flexy.
In the case of AWS IOT, all you have to do is :
- In AWS IOT, go to "Onboard --> Configuring a device --> Get Started --> Select Windows/NodeJS --> Give a name (with be the DeviceID in the script) --> Download the connection kit (zip file) and create the device
- Unzip the connection kit and copy the files *.cert.pem and *.private.key in the /usr directory of your Flexy by FTP.
- Configure the script parameters in Ewon Support Script Repository : Ewon Live Data to AWS IOT or Ewon Historical Data to AWS IOT
- The AWS MQTT broker URL is in the start.ps1 file included in the connection kit (
BrokerURL.png (Size: 19,65 KB / Downloads: 377)
)
- The topic used to publish data must be declared in the Security policies assigned to the device (
DeviceSecurityPolicies.png (Size: 22,07 KB / Downloads: 371)
). See Action --> Publish. In my script, I used an existing topic.
- Create some Tags and assign them to at least one group.
- Run the script (Do not forget to select "Autorun" if you want to start the script at the eWON boot)
Simon
|