{"id":16241611,"url":"https://github.com/getlarge/arduino-device","last_synced_at":"2025-04-08T09:53:10.429Z","repository":{"id":114684013,"uuid":"187203715","full_name":"getlarge/arduino-device","owner":"getlarge","description":"  Arduino library to interact with Aloes MQTT backend ","archived":false,"fork":false,"pushed_at":"2020-04-28T18:05:52.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T06:51:21.628Z","etag":null,"topics":["aloes","arduino","iot-application","mqtt-client"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getlarge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-17T11:20:41.000Z","updated_at":"2020-04-28T18:05:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"f802fa0a-320b-4c36-9025-4aca24c6eb40","html_url":"https://github.com/getlarge/arduino-device","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlarge%2Farduino-device","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlarge%2Farduino-device/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlarge%2Farduino-device/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlarge%2Farduino-device/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getlarge","download_url":"https://codeload.github.com/getlarge/arduino-device/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247819946,"owners_count":21001394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aloes","arduino","iot-application","mqtt-client"],"created_at":"2024-10-10T14:08:07.834Z","updated_at":"2025-04-08T09:53:10.387Z","avatar_url":"https://github.com/getlarge.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aloes Device - Arduino\n\nESP8266 | ESP32 Arduino library to interact with [Aloes backend](https://framagit.org/aloes/device-manager) MQTT and HTTP API.\n\n\n## Requirements\n\n### Arduino tools\n\nArduino IDE - download the latest from arduino\n\n- https://www.arduino.cc/en/Main/Software\n\nOr Arduino CLI - download the latest from arduino\n\n- https://github.com/arduino/arduino-cli\n\n\n### For ESP8266 \n\nPackages for ESP8266 on Arduino\n\n- Enter `http://arduino.esp8266.com/stable/package_esp8266com_index.json` into Additional Board Manager URLs field.\n\nPackages to upload data on ESP8266 FileSystem\n\n- Follow instructions on `https://github.com/esp8266/arduino-esp8266fs-plugin` to install the plugin in your Arduino IDE.\n\n\n### For ESP32 \n\nPackages for ESP32 on Arduino\n\n- Enter `https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json` into Additional Board Manager URLs field.\n\nPackages to upload data on ESP32 FileSystem\n\n- Follow instructions on `https://github.com/me-no-dev/arduino-esp32fs-plugin` to install the plugin in your Arduino IDE.\n\n\n### Dependencies\n\nRequires the next libraries :  \n- \u003cArduino.h\u003e\n- \u003cFS.h\u003e\n- \u003cadvancedSerial.h\u003e\n- \u003cArduinoJson.h\u003e\n- \u003cPubSubClient.h\u003e\n- \u003cWiFiClientSecure.h\u003e\n- on ESP8266 :\n\t- \u003cESP8266WiFi.h\u003e\n\t- \u003cESP8266HTTPClient.h\u003e\n\t- \u003cESP8266httpUpdate.h\u003e\n- on ESP32 :\n\t- \u003cWiFi.h\u003e\n\t- \u003cHTTPClient.h\u003e\n\t- \u003cUpdate.h\u003e\n\t- \u003cSPIFFS.h\u003e\n\nStarting from Arduino IDE 1.8.10, dependencies can be automatically installed.\n\nStarting from arduino-cli 0.7.0, dependencies can be automatically installed with `arduino-cli lib install`\n\n## Installation\n\n- Via git, clone into your `~/Arduino/Libraries` folder\n```bash \ngit clone https://framagit.org/aloes/arduino-device.git \n```\n\n- Via Arduino Library Manager, look for AloesDevice\n\n\n## Library usage\n\n- Create the directory `data` at the root of your Arduino project\n\n- Create the file `./data/sensors.json` following [Open Mobile Alliance LwM2M Registry](http://openmobilealliance.org/wp/OMNA/LwM2M/LwM2MRegistry.html) and [Aloes](https://aloes.io/about?tab=docs) ( see examples )\n\n- Open any .ino file of the project folder with Arduino IDE\n\n- Upload `sensors.json` on your ESP** board\n\n- Edit your preferences in `config.h`, at the root of your Arduino project\n\n- Enter wifi and device credentials or configure the board via the Access Point ( 192.168.244.1 )\n\n- Upload the code on your ESP** board\n\n- If the device is not registerd on your Aloes account, copy the `DevEUI` ( generated at setup on the serial interface ) to create one on Aloes backend\n\n- Configure Aloes credentials and servers configuration in  `config.h` to connect to Aloes backend\n\n- You can use examples as a base for your project","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlarge%2Farduino-device","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetlarge%2Farduino-device","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlarge%2Farduino-device/lists"}