EasyManuals Logo

Adafruit ESP32-S3 User Manual

Adafruit ESP32-S3
263 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #145 background image
'timezone' : "America/New_York", # http://worldtimeapi.org/timezones
}
Inside is a Python dictionary named secrets with a line for each entry. Each entry has
an entry name (say 'ssid' ) and then a colon to separate it from the entry key
( 'home_wifi_network' ) and finally a comma ( , ).
At a minimum you'll need to adjust the ssid and password for your local WiFi setup
so do that now!
As you make projects you may need more tokens and keys, just add them one line at
a time. See for example other tokens such as one for accessing GitHub or the
Hackaday API. Other non-secret data like your timezone can also go here, just cause
its called secrets doesn't mean you can't have general customization data in there!
For the correct time zone string, look athttp://worldtimeapi.org/timezones()and
remember that if your city is not listed, look for a city in the same time zone, for
example Boston, New York, Philadelphia, Washington DC, and Miami are all on the
same time as New York.
Of course, don't share yoursecrets.py- keep that out of GitHub, Discord or other
project-sharing sites.
If you connect to the serial console, you should see something like the following:
Don't share your secrets.py file, it has your passwords and API keys in it!
©Adafruit Industries Page 145 of 263

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Adafruit ESP32-S3 and is the answer not in the manual?

Adafruit ESP32-S3 Specifications

General IconGeneral
BrandAdafruit
ModelESP32-S3
CategoryMicrocontrollers
LanguageEnglish

Related product manuals