YuDash
  • Welcome
  • YuDash IoT Devices
    • LYNX User Manual
      • Terminals and Wiring
      • LYNX Configuration
      • Network Settings
      • LYNX Settings
        • Modbus RS485
        • Analog Inputs
        • Data Scaling
        • Advance Feature Settings
        • Cloud and Payload Settings
        • Ethernet Settings
        • Modbus TCP/IP
        • HTML Parser Settings
        • Digital Sensors Settings
    • ZENYX User Manual
      • Terminals and Wiring
      • ZENYX Configuration
      • Network Settings
      • ZENYX Settings
        • Modbus RS485
        • Analog Inputs
        • Data Scaling
        • Advance Feature Settings
        • Cloud and Payload Settings
        • Ethernet Settings
        • Modbus TCP/IP
    • QUBIX User Manual
    • ONYX User Manual
  • Device Configuration
    • Device Configuration
    • Device Features
      • Network
      • Modbus/RS485
        • Modbus Poll Tutorial
      • Modbus TCP/IP
      • Modbus Server
        • Analog to Modbus/RS485 Server (Slave)
        • Analog to Modbus/TCP-IP Server
      • Ethernet
      • Data Logging
  • Firmware
    • Firmware release notes
    • Firmware upgrade
  • YuDash JSON API
    • Modbus Settings
    • Analog Settings
    • Data Scale Settings
  • DEVICE TO CLOUD API
    • YuDash IIoT Stack
    • Cloud Protocols
      • MQTT
      • HTTP
      • FTP
      • SSL/TLS
    • Payload Formats
      • JSON Payloads
      • YuTGT: YuDash Text Generator
    • Network Connectivity
    • Industrial Protocols
      • Modbus
  • YuDash IoT Platform
    • YuReCon
  • Integration Guides
    • IoT Platform Integration
      • Ubidots
      • TagoIO
      • Losant
      • Datacake
      • Eagle.io
      • Boodskap
      • Statstream
      • Qubitro
      • Thingsboard
    • Industrial Instruments
      • Energy
        • SE EM6400NG+
        • Selec MFM376
        • L&T WL 4040
        • Entes MPR-46S
        • Selec EM4M
        • Secure Elite 100
        • Siemens Smart 7KT
        • Selec EM2M
      • Process Control
        • Selec FLEX2MV3 6AII
        • Selec MiBRX 2M PLC
        • Temp+Humidity XY-MD02
        • PPI AIMS 4/8X
    • Environment/Emission
      • Air & Water
      • Weather
    • Industrial PLCs
  • Use Cases
    • Environment
      • Ground Water Compliance
      • Continuous Emission Monitoring System (CEMS)
    • Smart Building
      • IoT based Building Monitoring Solution
      • Tenant Energy Sub-metering and Billing System
    • Asset Management
      • Centralized Monitoring System for Gas Plant OEM
Powered by GitBook
On this page
  • HTTP Headers for Authentication
  • Device headers with HTTP Payload
  • SSL/TLS secure communication with HTTP
  • LYNX Display with HTTP Post
  1. DEVICE TO CLOUD API
  2. Cloud Protocols

HTTP

PreviousMQTTNextFTP

Last updated 9 months ago

YuDash IoT devices support data push through REST POST API. Both HTTP and HTTPS (SSL) are supported.

HTTP is the default TCP/IP protocol for cloud communication. YuDash LYNX supports POST REST API for sending data to HTTP Server. The HTTP headers can be configured to support various authentication types.

Following are the settings in LYNX to configure connection to HTTP server:

HTTP Parameter
Description

HTTP Server

The URL of HTTP server is faccessible on the network. Alternately, unique IP address can be provided. This may be required for a local deployment.

  • Remove any prefixes (http:// or https://) in the server name.

  • Remove any suffix APIs from server name. They are provided in API below.

HTTP API

The API name (similar to subdirectory) which will accept POST request. This will typically start with "/".

HTTP Port

The port on which HTTP server is running.

HTTP Success Code

Success code REST API. This is used to check if POST command by IoT device was success or failure. This value has to be set as per cloud API.

HTTP SSL Enabled

Check this box for enabling HTTPS using SSL. This is recommended for production applications.

HTTP Headers for Authentication

  1. HTTP supports various authentication options. The authentication header keys and values are filled in section.

    • These are sent as HTTP headers to server for handshake.

    • The UI supports two headers. In case multiple custom headers are required, it can be configured in JSON configuration.

Device headers with HTTP Payload

In many HTTP servers, there may be single API accepting inputs from various sensors. So, it may be sharing credentials across a set of devices. In such cases, additional device information (say, machine name, sensorID, user-name) may have to be passed in JSON payload. This is besides the actual real-time data collected from sensors. For this requirement, there is an option to add device headers in JSON formats.

SSL/TLS secure communication with HTTP

LYNX Display with HTTP Post

Following are the typical LYNX display screens with HTTP POST

YuDash IoT devices support HTTP with SSL/TLS secure communication. Refer to documentation.

SSL/TLS for HTTP
LYNX attempting HTTP POST to a given API on port 443
LYNX waiting for response from HTTP server
LYNX received HTTP response of 200, which matched with success code of 200