
time zone. Here’s what your code should look
like (Figure
D
) but with your details inside the
quote marks. To find your correct time zone, go
to worldtimeapi.org/timezones. If your location
is not listed, look for a city in the same time
zone. Call your file secrets.py and save it to your
CIRCUITPY drive.
7. TEST YOUR INTERNET CONNECTION
This bit of code, iotest.py, is designed to test
that your internet and Adafruit IO account are
working correctly (Figure
E
). In lines 11 to 13,
the function log_data connects to the network
and pushes data from the onboard temperature
sensor to the temperature feed. I don’t want my
FunHouse to push data to