A few more items need to go in the settings.toml file described on the prior page.
In addition to WiFi network credentials and timezone, our veggie code also needs:
-
ADAFRUIT_AIO_USERNAMEandADAFRUIT_AIO_KEYmatching your Adafruit IO credentials. If logged into your account at adafruit.com, click the “IO” link in the top navigation bar, then “My Key.” -
locationis the 2-letter postal code for your state, in quotes: e.g. 'NY' or 'TX'.
CIRCUITPY_WIFI_SSID="your-wifi-ssid" CIRCUITPY_WIFI_PASSWORD="your-wifi-password" ADAFRUIT_AIO_USERNAME="my_username" ADAFRUIT_AIO_KEY="my_key" timezone="America/New_York" # http://worldtimeapi.org/timezones location="NY"
After editing and saving settings.toml, tap the reset button and within a minute or so you’ll see some veggies!
If the project does NOT start up: most likely the WiFi credentials are incorrect, or something is wrong with the settings.toml file syntax…make sure every quote, comma and colon is there and in the right place.
Page last edited March 31, 2025
Text editor powered by tinymce.