![]() ![]() IMPORTANT : Right click the config file and go to the Properties, and make sure the Build Action is set to Content and Copy to Output Directory to Copy Always or Copy If Newer. This configuration file is used for when Meadow is powered on, it looks for these values here and takes action depending on what's defined, like GetNetworkTimeAtStartup set to true, to get the UTC date and time using the NtpServers and DnsServers listed. NtpServers: - # IP addresses of the DNS servers. NtpRefreshPeriod: 600 # Name of the NTP servers. Network: # Automatically attempt to get the time at startup? GetNetworkTimeAtStartup: 1 # Time synchronization period in seconds. ![]() Name: WifiWeatherClock #= # Network configuration. # Acceptable values for true: true, 1, yes # Acceptable values for false: false, 0, no #= # main device config Device: # Name of the device on the network. In your project, create and add the following configuration files: Step 4 - Add Configuration Files (if missing) įor this project, search and install the following NuGet packages: Step 2 - Create a Meadow Application projectĬreate a new Meadow Application project in Visual Studio 2019 for Windows or macOS and name it WifiWeatherClock.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |