is it possible to make a httppost every x minutes to a custom adress? #19
-
i would like to store the data on a remote server. is that possible? |
Beta Was this translation helpful? Give feedback.
Answered by
Michael-Frank
Jul 3, 2023
Replies: 1 comment 1 reply
-
It's a esp8266 so you can program your own firmware to do what you desire. You can use Prometheus to scrape the values from the esp with esphome: https://esphome.io/components/prometheus.html I am not sure if you can push any data since this would require some sort of client. Depends on what you mean with "to a remote server". There is also the http request . |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@cubensos
@ajfriesen outline a method for a "pull-based" flow.
Here is one for a "pushed-based" flow. Use whatevers suites your needs or what is supported by your remote server.
To Periodically send a Post request, use "interval" with a
http_request.post
configuration blockSee: https://esphome.io/components/http_request.html#post-body-in-json-format-syntax-2
Outline: