Y
Y
YuriyOlovets2021-04-25 14:03:40
Django
YuriyOlovets, 2021-04-25 14:03:40

How to transfer data from ESP32 to a remote server?

you need to output data from esp32 to your site Tell me
how this can be implemented

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2021-04-25
@gbg

Arduino allows you to connect via HTTPS and send a request. This should be enough.

R
Roman Mirilaczvili, 2021-04-25
@2ord

To monitor the performance of sensors, you can write a simple web application that runs on the device, which is able to issue text with metrics in a special format , available along the way /metricsvia HTTP for periodic polling by a third-party open source software, Prometheus (pull method in relation to the device). Everything is flexibly configurable.
There are many libraries in different languages ​​to help build this format. In a web application with such a library, functions for working with indicators will be available. With their help, all aggregations of indicators will be performed in the application memory and, upon request, will be /metricsissued to Prometheus. Of course, you need to have HTTP access to each device to get metrics.
Prometheus has its own DBMS that stores metrics data and these statistics and graphs can be accessed using the API. In Grafana and other software, you can view charts, build statistics, set up alerts, etc. In this way, you can get data for display on the site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question