Im using an ESP32 with Arduino Tried the example from the library but its using MQTT. I am doing multiple .save on 4 values and when I added the example time which attaches it to the handler I get multiples responses back.
Is thera a way to do a single GET and get a single response?
How to GET the time on https
Moderators: adafruit_support_bill, adafruit
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: How to GET the time on https
Checkout how the code from this guide uses AIO to get time:
https://learn.adafruit.com/super-simple ... -using-aio
See how the TIME_URL is setup. The &fmt parameter can vary. That code uses a format that makes parsing the values easy.
https://learn.adafruit.com/super-simple ... -using-aio
See how the TIME_URL is setup. The &fmt parameter can vary. That code uses a format that makes parsing the values easy.
- PabloOyarzo
- Posts: 36
- Joined: Sat Mar 01, 2014 7:42 am
Re: How to GET the time on https
The only issue is that code is on python, not on C++ for arduino
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.