example-application

Example of the component anedya/anedya-esp v0.0.13

Anedya Documentation

anedya-dev-esp-id-example

Anedya-Dev-ESP-IDF examples.


Getting Started with Anedya

Follow these steps to set up your project with Anedya:

  1. Create an Anedya Account:

    • Sign up for an account at Anedya and log in.
  2. Create a New Project:

    • In the Anedya Dashboard, create a new project to organize your devices and data.
  3. Define Variables:

    • Define variables (e.g., temperature, humidity) for your project to track device data.
  4. Add a Node:

    • Create a node to represent a physical device (e.g., "Room1" or "Study Room") to interact with the hardware.

Note: Ensure you fill in the variable identifiers correctly, as they are crucial for mapping the data between your physical device and the Anedya platform.


To configure your project with the correct settings in ESP-IDF, follow these steps:

  1. Disable certain NVS settings:

    • Uncheck the following options:
      • Store PHY calibration data in NVS
      • WiFi NVS flash
  2. Select Flash Size:

    • Set the flash size of your device.

Note: This example has been tested with the ESP32 board with 4MB flash.

  1. Partition Table:

    • Choose the Custom partition table CSV option.
  2. Add Anedya Root Certificate:

    • Tick the "Add custom certificates to the default bundle" option.
    • Provide the path to the certificate, e.g., ./certs.
    • In the "Default certificate bundle options", select "Use only the most common certificates from the default bundle".
  3. Configure Anedya Credentials:

    • Provide the following credentials:
      • Connection Key
      • Physical Device ID
  4. Configure Wi-Fi Credentials:

    • Provide your Wi-Fi details:
      • SSID
      • Password
  5. Adjust Stack Size:

    • Set the "Main stack size" to 10240.

Example Usage

Depending on your use case, you can enable or disable tasks in the main.c file.


Additional Resources

To create a project from this example, run:

idf.py create-project-from-example "anedya/anedya-esp=0.0.13:example-application"

or download archive (~23.09 KB)