Skip to main content

Configuration

Meadow has a robust configuration framework allowing you to adjust settings at build-time and deploy them with your app.

OS/Device Configuration and Application Configuration

Meadow.OS supports three configuration sets that are placed in three different files:

  • OS & Device Configuration: Specified in the meadow.config.yaml file. Includes general board and system configuration settings.

  • Wi-Fi Configuration: Specified in the wifi.config.yaml. Wi-Fi access point and password configuration for connecting to a known network.

  • Application Settings Configuration: Specified in either app.config.yaml or app.config.json. Includes application settings for logging and reboot configuration. These files are used for custom developer application settings.

These files are optional and, where applicable, default values will be used if the particular file is not found in the Meadow file system.

Must Set Copy to Output Directory Build Action

In order to make sure your configuration files are deployed to the device, select the file in the Solution Explorer and make sure to set Copy to Output Directory to Copy always in the properties pane.

Sample Apps

For an example of configuration in use, see the Config Files sample App in the Meadow.Core.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.