Skip to main content

Wi-Fi Configuration

The wifi.config.yaml file can be used to set the default Wi-Fi access point and the password for that access point. The wifi.config.yaml file should look similar to this:

Credentials:
Ssid: YourSSID
Password: SSIDPassword

This file will be processed after the meadow.config.yaml file. Remember to set Copy to Output Directory to Copy always in the properties pane of any configuration files.

The Ssid name will be set as the default access point to be used as the system starts. The password will be used when connecting to the access point.

The wifi.config.yaml file will be deleted from flash storage after it has been processed and stored in secure storage on the ESP32 as the information is considered sensitive. This prevents the possibility of the file being read at a later point in time.

The contents of this file along with the AutomaticallyStartNetwork value in meadow.config.yaml can be used to automatically connect to an access point when the board starts.

Sample Apps

For an example of configuration in use, see the Config Files sample App in the Meadow.Samples repo.

Photo showing a Meadow hooked up to an LCD displaying the date, time, indoor and outdoor temperature and a weather icon.

Weather Station Using Public Web Service Using Meadow
Learn how to connect your Meadow to your local network and get current weather conditions from a free public weather web service.

Video showing a vertical LED matrix showing the current date and then the current time when a button is pressed.

Build a WIFI Connected Clock Using Meadow
Build this nifty clock with Meadow getting the date and time from an NTP server via WIFI and room temperature with an LM35 Analog sensor.

Video showing a Meadow connected to a multi-line character display showing the date, time, indoor and outdoor temperatures, and a weather description.

Make a Meadow indoor/outdoor temperature/weather desk clock
Build this nifty clock for your desk that gives you time and date, along with room and outdoor temperature using a REST service.