Answer the question
In order to leave comments, you need to log in
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
Arduino allows you to connect via HTTPS and send a request. This should be enough.
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 /metrics
via 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 /metrics
issued 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 questionAsk a Question
731 491 924 answers to any question