Datacake Docs
  • Welcome
  • Get Started
  • Changelog
  • Best practices
    • Best practices: Getting started
    • Best practices: Resolution (Timeframe)
    • Best practices: Dashboards
    • Best practices: Reports
    • Best practices: Grouping Devices
  • Datacake LNS
    • Getting Started
    • Gateways
      • Milesight LoRaWAN Gateway - UG6x
      • RAKwireless WisGate Edge Light 2
    • Devices
    • Add Devices without Gateway
  • Device
    • Product
    • Configuration
    • Claiming
    • Historical Data
    • Database
      • Configuration Fields
      • Fields
        • Manual input
        • Field Roles
        • Formulas
        • Mapping Fields
      • Data retention & Datapoints
      • Examples
        • Mapping 4-20mA Signals
        • Converting Units
  • Dashboards
    • Global Dashboards
      • Setting Homepage
    • Device Dashboards
    • Multi-Device Dashboards
    • Widgets
      • Value Widget
      • Chart Widget
      • Image Map
      • Map Widget
      • Text Widget
      • SOS Widget
      • Boolean Widget
      • iFrame Widget
      • Downlink Widget
      • Set Value Widget
      • Measurement List Widget
      • Heatmap Widget
      • Table Widget
      • Image Widget
  • Portal
    • Multi-Tenancy (Workspaces)
    • Reports
      • Energy Report
    • Administrators
    • Members
      • API Users
    • Security & Privacy
    • Billing
      • Support Packages
      • VAT Exemption / Tax ID
      • SMS Credits
      • Access Invoices
      • Unused time and Remaining time in Invoices (Prorations)
      • Codes
    • White Label
    • Rules
      • Legacy Rule Engine
        • Sending notifications via Telegram
      • New Rule Engine
        • Rule Engine Table Overview
        • Copy/Paste and Template Functionality
        • Advanced Rule Engine E-Mail and Webhook Templates
        • Time Restrictions
    • Zones
  • Cake Red
    • Get Started
    • Overview
  • LoRaWAN
    • Get Started
      • CSV Import
      • Custom LoRaWAN Device
    • Configuring LNS
      • The Things Stack (TTN / TTI) Automated Setup
      • The Things Stack (TTN / TTI) Manual Setup
      • Loriot
      • Kerlink Wanesy
      • Helium
      • ChirpStack
      • Tektelic
      • Actility ThingPark
      • Senet
      • Milesight Gateway
      • KPN
    • Downlinks (LoRaWAN)
      • Set Time Frame
    • Securing Webhooks
    • Payload Decoders
      • Location and GPS
      • Access Gateway Metadata
      • Access Measurements
      • Global Variables
    • Using Cayenne LPP
    • Converting Payload
  • Generic API Devices
    • HTTP Downlinks
  • Integrations
    • MQTT
    • Particle
      • Get Started
      • Adding Integrations
      • Decoding Payloads
      • Calling Functions
      • Templates
        • Particle Tracker One
    • Incoming Webhooks
    • Outgoing Webhooks
      • Securing Outgoing Webhooks in Datacake
    • Golioth
    • Blues Wireless Notecard
    • Sigfox
    • Swarm Asset Tracker
    • Grandcentrix Modbus Cloud Connect
    • YuDash LYNX IoT Gateway
    • Dragino NB-IoT
      • Changing NB-IoT Bands
    • Hardwario CHESTER
    • 1NCE OS
  • API
    • Exporting Data
    • Record Measurements via API
    • Node RED to Datacake
    • Generate Access Token
    • Internal MQTT
      • Get Started
      • MQTT Documentation
      • MQTT over WebSocket
      • Example Code
    • GraphQL API
      • Using GraphQL
      • Device Creation
      • Tutorials
        • Read Group via Tags
  • Guides
    • Python
    • Send Slack Notifications
    • Forward Data to Cake Red
    • Multiple Data Feeds
    • Automated Dynamic Downlinks
    • Ingesting JSON Data into Datacake API Devices
    • Working with Default HTTP Decoder on API Devices and Code Examples
    • Accessing Measurements in Decoders
    • Connecting Datacake to Notion Using Zapier
    • How to set up and use location on non-GPS devices
    • How to integrate with AWS IoT Core
    • How to Schedule Mass-Downlinks (Multicast) using Datacake Rule Engine
    • How to Map Sensor Values to Ranges or Booleans, Strings using Mapping Fields
    • Understanding Internal vs. External MQTT Brokers on Datacake
    • Sending UDP Messages between 1NCE OS and Datacake
    • Concepts of LoRaWAN Payload Decoders on Datacake
    • How to check if a value stays above or below limits for given time
Powered by GitBook
On this page
  • Introduction
  • Integration over REST API (HTTP)

Was this helpful?

  1. Integrations

YuDash LYNX IoT Gateway

In this section we'll explain how to integrate the YuDash LYNX IoT Gateway into Datacake.

Last updated 2 years ago

Was this helpful?

Introduction

The YuDash LYNX is a robust and flexible industrial IoT gateway that connects to various sensors and devices using different protocols, such as Modbus RS485, Modbus TCP/IP, I2C sensors, between others. It supports HTTP POST API and MQTT to send the data from the connected devices to the cloud for storage and analysis.

Integration over REST API (HTTP)

Now, let's move on to the integration process. Here are the steps you'll need to follow:

  1. First, you'll need to create an account on Datacake if you don't already have one. You can sign up for a free account, which allows you to connect up to two free devices.

  2. You will need to add a device to your Datacake account. To do this, navigate to "Devices" and then click "+ Add Device." Follow the on-screen instructions to create a new API Device using the serial number and the template on the platform.

  1. Next step is to create an API Token to be able to feed data into the platform via RESP API. Create an API Token on the Members section under API Members.

  2. Now you'll need to set up the YuDash LYNX IoT Gateway to send data to Datacake. To do this, log in to the LYNX's web interface and navigate to the "HTTP Server and Payload" settings.

  3. To configure the HTTP settings, you'll need to enter the server address (api.datacake.co), API Name (/v1/devices/<DATACAKE_DEVICE_ID>/record/?batch=true) and Port (443). You need to also enable the "HTTP SSL Enabled" box as well as setup the HTTP Headers for Authorization:

    • Header1Key: Authorization

    • Header1 Value: Token <DATACAKE_API_TOKEN>

The Device ID can be extracted from the CURL command on your device on Datacake.

  1. Once you've configured the HTTP settings, you'll need to select the payload type to match with Datacake. Under "Payload Settings" setup the following:

    • Payload Format: 12

    • Variable Name Key: field

    • Variable Value Key: value

  1. Finally, you'll need to configure the fields that will be sent on the "Modbus settings" section of your LYNX. Be sure that the names of the fields configured on this section match the fields defined on your device on Datacake.

That's it! You've now successfully integrated the YuDash LYNX IoT Gateway into Datacake. You should start seeing data from your sensors in your Datacake workspace. From here, you can use Datacake's powerful visualisation and analysis tools to make sense of your data and gain insights into your operations.