Table of Contents

6.6.2 Using NTP over WIFI in BLOX firmware

NTP, or Network Time Protocol, is a system used to synchronize the clocks of devices over a network.

How It Works:

In essence, NTP helps keep all devices on a network “in sync” by ensuring they all have the correct time, which is crucial for many computer systems, devices and networks.

Enabling NTP allows your BLOX device to know the actual real world time with millisecond precision. Perfect for scheduling time related tasks or timestamping your datalogging with

6.6.2.1 NTP Initialization

You do need Wifi connectivity to request the current time (and regular timesync updates) from the NTP servers, so make sure to set up Wifi, then add the “Set time using NTP” block to your BLOX Initilization section. Set your timezone using the dropdown. You can usually use the default servers, but it is configurable if you are in a setup where you need to use specific time servers

6.6.2.1 Using Scheduled Tasks

When you have time set, you can schedule tasks to run on certain days/times.

In the example shown here, we are turned a switched output on in the morning and off at night , only on weekdays.