For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quickstart

Below are some examples of code that you can use to send data from the project you have created to ANTARES.

Below is a video tutorial that you can use to send and get data from ANTARES via ESP8266 (HTTP). Please install this library on Arduino IDE.

#include <AntaresESP8266HTTP.h>

#define ACCESSKEY "your-access-key"
#define WIFISSID "your-wifi-ssid"
#define PASSWORD "your-wifi-password"

#define applicationName "your-application-name"
#define deviceName "your-device-name"

AntaresESP8266HTTP antares(ACCESSKEY);

void setup() {
  Serial.begin(115200);
  antares.setDebug(true);
  antares.wifiConnection(WIFISSID,PASSWORD);
}

void loop() {
  int temp = random(25,30);
  int hum = random(75,90);

  antares.add("temperature", temp);
  antares.add("humidity", hum);

  antares.send(applicationName, deviceName);
  delay(10000);
}

Congratulations, you have sent your data to ANTARES.

Please install this library on Arduino IDE.

Congratulations, you have sent your data to ANTARES.

Please install antares-http with npm first, make sure npm and NodeJS are installed on CMD (Windows) or Terminal (Linux): More information about Antares for NodeJS can be found at antares-http npm page.

Congratulations, you have sent your data to ANTARES.

Please install antares-http with pip first, make sure pip and Python are installed on CMD (Windows) or Terminal (Linux):

More information about Antares for Python can be found at interares-http PyPi page.

Congratulations, you have sent your data to ANTARES.

Last updated