Meshlium Technical Guide
Development website
rev202012
rev202012
  • Initial page
  • General and safety information
  • Important: read me before using
  • Meshlium v4.0 vs Meshlium v3.5
  • Contents of the box
  • Specifications
  • How to use Meshlium
  • Understanding Meshlium
  • Accessing Meshlium - make it easy!
  • Network interfaces setup
  • Wireless Sensor Networks
  • Meshlium Visualizer
  • Cloud Connectors
    • Premium Cloud Partners
      • Arrow
      • ElementBlue - RightSensor
      • Ericsson DDM
      • Libelium Cloud Bridge service
      • Telit
      • ThingWorx
    • Advanced Cloud Partners
      • Microsoft Azure Event Hubs
      • Microsoft Azure IoT Hub
      • Ensura
      • Infiswift
      • Ubicamovil
    • Basic Cloud Partners
      • Alibaba Cloud
      • Amazon IoT
      • Amplia's OpenGate
      • Arnaldo Castro
      • Aveva (Wonderware)
      • BaseN
      • Biz4Intellia
      • B-Scada
      • C2M
      • ConsulMedia
      • Cumulocity
      • DeviceLynk
      • eagle.io
      • Esri
      • Extunda
      • Fujitsu IoT Connector
      • HaibuSmart
      • IBM Cloud
      • IoT-Ticket
      • IoTSens
      • Kii
      • Labeeb
      • Maxvec
      • MQTT
      • NEC Connexive
      • Orchestra
      • Redd
      • RIOT Platform
      • RoboMQ
      • scriptr.io
      • SensorUp IoT Platform
      • Sentilo
      • Simfony
      • SmartCityPlatform
      • SmartDataSystem (powered by Sentilo)
      • SmartPlants
      • Sofia2
      • Sparkcompass
      • Sparkster
      • TechEdge SAP HANA
      • Telefonica IoT Platform
      • ThingPlus
      • ThingSpeak
  • Device Connectors
  • Smartphone detection
  • Tools
  • Database management
  • System Information
  • Upgrading Meshlium
  • Rescue System
  • Manager System changelog
  • Documentation changelog
  • Certifications
  • Maintenance
  • Disposal and recycling
Powered by GitBook
On this page
  • Register Meshlium in Amazon IoT
  • Configuration
  • Controlling synchronization

Was this helpful?

  1. Cloud Connectors
  2. Basic Cloud Partners

Amazon IoT

PreviousAlibaba CloudNextAmplia's OpenGate

Last updated 4 years ago

Was this helpful?

Amazon Web Services IoT enables secure, bi-directional communication between Internet-connected things (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud over MQTT and HTTP.

More information: .

With this plugin, Waspmote sensor data can be directly integrated with Amazon AWS IoT broker.

Register Meshlium in Amazon IoT

To register Meshlium in Amazon IoT, you have to create a "thing" in your Amazon AWS IoT dashboard, attach a security certificate and policy statement and copy the parameters to the plugin. Follow these steps to register your Meshlium:

1.Select AWS IoT in the Amazon Dashboard.

  1. Create a "Thing".

  1. Create a security certificate and download the files for later use.

  1. Create a policy with the parameters iot.* and *.

  1. Attach a policy.

  1. Copy the HTTPS connection string for later use.

It is important to annotate the configuration displayed and save the credential files when connecting the device. You will need these files and parameters later for the Meshlium configuration.

Configuration

You will use the previously obtained configuration from the AWS IoT platform to certificate your Meshlium as a valid sender of MQTT messages.

In the Configuration panel, the user can set:

  • Public key: User public key file previously downloaded.

  • Private key: User private key file previously downloaded.

  • Certificate: Certificate file previously downloaded.

  • Host: HTTPS connection string previously annotated.

  • Port: AWS IoT MQTT port (by default 8883 for MQTT).

  • ClientID: AWS IoT Client identification.

  • QoS: Quality of Service levels for publishing and subscribing to a topic.

  • Log Level: Generate log messages. From fewer to more details, the levels are: OFF, ERROR, INFO, DEBUG, REPORT. Default is OFF.

  • Topic template: Topic of your message. The user can use these wild-cards creating a personalized structure:

    • #ID#: Unique identifier for data.

    • #MESHLIUM#: Host name of the Meshlium unit.

    • #ID_WASP#: Identifies the Waspmote unit.

    • #ID_SECRET#: Secret identifier.

    • #SENSOR#: Identifies the sensor.

    • #VALUE#: Value obtained from the sensor.

    • #TIMESTAMP#: MySQL TIMESTAMP type ('YYYY-MM-DD HH:MM:SS' UTC).

  • Message template: Data structure of your message. The user can use these wild-cards creating a customized content:

    • #ID#: Unique identifier for data.

    • #MESHLIUM#: host name of the Meshlium.

    • #ID_WASP#: Identifies the Waspmote unit.

    • #ID_SECRET#: Secret identifier.

    • #SENSOR#: Identifies the sensor.

    • #VALUE#: Value obtained from the sensor.

    • #TIMESTAMP#: MySQL TIMESTAMP type ('YYYY-MM-DD HH:MM:SS' UTC).

Controlling synchronization

Once configured the server/broker, the user can launch the Meshlium Amazon IoT script (Start button). The program will search for the received frames on the local database, and will send them to the Amazon IoT platform via MQTT protocol. The status indicator displays the current state, saying "Running" or "Stopped".

You can stop the Amazon IoT program anytime clicking on the "Stop" button.

Once the synchronization is running, you can check the reception of the messages on the Amazon IoT service using the MQTT message monitor:

https://docs.aws.amazon.com/iot/latest/developerguide/view-mqtt-messages.html
http://aws.amazon.com/iot/
Figure : Amazon IoT plugin
Figure : Select AWS IoT
Figure : Create a thing
Figure : Push the button to create a thing
Figure : Add your device to the thing registry
Figure : Select Create certificate
Figure : Save the credential files when connecting device
Figure : Create a policy
Figure : Fill the policy form
Figure : Select “Attach policy”
Figure : Attach the policy to the certificate
Figure : Select the thing created
Figure : Annotate the value of the field
Figure : Amazon IoT configuration panel
Figure : Amazon IoT sender is running
Figure : Amazon IoT sender is stopped