Professional Documents
Culture Documents
How send data using the MQTT protocol to Amazon webservices from a HMS
eWON Flexy
Pre-Requisites
1. Make sure that the port 8883 is open in your firewall.
2. HMS eWON Flexy 20x Series with firmware version 12.2s1PR or above.
3. Amazon webservice account.
This document does not describe on how the AWS services work or any of these services.
Select Linux/OSX as platform and Node.js as the AWS IoT Device SDK.
To send a command to the Flexy, type the topic “ewon_read” into the textbox next to the “Publish to topic”
button. Write then the message you want to send to the Flexy in the black text aera and click “Publish to topic”.
You should see the topic and the message used displayed into the Console window of the Flexy BASIC IDE.
Moreover, if you simply send the message “test”, the “DO” Tag must be set to 1.