Anedya Platform Documentation

website·Indexed 32 days ago

https://docs.anedya.io/

Documentation for the Anedya IoT platform, featuring Platform APIs for node management, variable data snapshots, and deployment control, as well as Device APIs for OTA status updates and device binding. Includes guides on WebRTC peer-to-peer streaming, rule engines, heartbeat monitoring, and device log collection.

Tokens
17.2K
Snippets
106
Records
181
Agent score
56%

What's inside Anedya

  1. Overview of the Anedya Platform IoT Workflow

    The Anedya Platform allows developers to build and launch IoT applications by managing a 'project' (a collection of all resources related to a specific application). The core workflow involves:

    1. Creating and configuring a project via the Anedya Dashboard.
    2. Securely connecting hardware devices to the platform.
    3. Submitting real-time sensor data (e.g., temperature and humidity).
    4. Sending remote commands to control device hardware (e.g., controlling lighting).
    5. Performing Over-the-Air (OTA) firmware updates to push fixes without physical access.
    6. Configuring event-based alerts triggered by predefined thresholds.
  2. Overview of Anedya ValueStore

    ValueStore is a highly available and consistent key-value store designed for IoT applications. It allows developers to manage device configurations at scale, fine-tune individual device parameters, store fault-tolerant operating parameters (e.g., Modbus addresses, Register maps), and track device status and attributes.
  3. Overview of Anedya WebRTC Relay Services

    Anedya provides a managed WebRTC infrastructure to enable low-latency peer-to-peer streaming for devices like security cameras and dashcams. The service consists of two primary components:

    • STUN (Session Traversal Utilities for NAT): Used for discovering public IP addresses and NAT types to establish direct peer-to-peer connections. This service is free to use and requires no credentials.
    • TURN (Traversal Using Relays around NAT): Acts as an intermediary relay when direct connections are blocked by firewalls or restrictive NATs. This is a managed service that ensures reliable data transmission when STUN is insufficient.
  4. Overview of Anedya IoT Platform

    Anedya is a cloud-based, end-to-end IoT platform designed to enable businesses to make products IoT-enabled without developing or managing their own IoT infrastructure. It provides the necessary tools to create and manage IoT applications for businesses ranging from startups to large enterprises.
  5. Process device data with the Anedya Event Engine

    The Event Engine handles all data points emitted from devices, performing processing and transformation based on variables configured within a project. It guarantees atomic processing: if a device receives a successful response upon submitting data, that data is guaranteed to be processed and stored regardless of subsequent internal failures.
  6. Store and manage Key-Value pairs in ValueStore

    The fundamental unit of storage in ValueStore is the key-value pair.

    • Keys: Any arbitrary string (e.g., DATA_PUSH_FREQ, FIRMWARE_VERSION).
    • Values: Supports string, binary, float, and boolean types.
    • Constraints: Each key-value pair can hold up to 512 KB of data.
  7. Use Anedya Streams for real-time event-driven applications

    Anedya Streams allows IoT applications to be event-driven by providing a direct WebSocket connection to the Anedya Cloud. It uses the same Access Tokens as other platform services and sends events in real-time. It specifically supports live updates when devices modify ValueStore values.
  8. Add a child node via the Platform API

    Use the POST /node/child/add endpoint to add a child node to a parent node. In this architecture, the parent node can function as a gateway for its associated child nodes. A successful request returns a 200 OK response.
    POST /node/child/add
  9. Track mobile IoT devices using Geocoordinates

    Anedya supports geocoordinate data, allowing mobile IoT devices to send their location coordinates to the platform for tracking.
  10. Retrieve details of a command using /commands/getDetails

    Use the POST /commands/getDetails endpoint to retrieve detailed information about a specific command within the Anedya platform. A successful request returns a 2XX status code.
    POST /commands/getDetails
  11. Understand Anedya Access Tokens for IoT Client Authentication

    Anedya Access Tokens provide temporary client credentials that allow mobile applications or web dashboards to interact with devices and retrieve data directly via Anedya APIs. This removes the need for developers to build, manage, and scale their own data handling and authentication APIs, reducing server resource consumption and improving latency.