Thread Rating:
  • 5 Vote(s) - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5

WeatherDuino Pro2 'PLUS' Build
#52

User Options - Internet and Station Time

If you are going to connect your Weather Station to WeatherUnderground then you will need to configure a wireless Internet Connection.  This is a new feature in the Pro2PLUS and eliminates the need to connect either a RaspberryPI or a dedicated computer.  To configure your Pro2PLUS to connect to your wireless Internet connection you need to ensure that the wireless option is enabled with a "1" in the "#define Enable_Internet" field and then enter your SSID and SSID password password details.

Network Time Protocol (NTP) is a standard Internet protocol that give your Pro2PLUS the ability to 'automatically' set its time (clock) and keep it in perfect sync with GMT.  The software will use your TimeZone settings from above to translate and display the time relevant to your local timezone.  Ensure that NTP is enabled with a "1" in the "#define Enable_NTP" field, and enter a valid NTP server IP address in the #define timeServer field.  

If you do not have a preferred NTP server or you are unsure of what IP address to use, then a couple of options are listed in the examples.  You can use 80.96.196.58 or 193.79.237.14.

If you would like to select an NTP server that is close to your region of the Internet, Mr. Google can always help you out.  I frequently have to enter NTP server details for router and server configurations, and I find that Google is a quick and easy reference when I'm onsite.  Most countries will either have an NTP pool assigned to them, or be part of a region NTP pool for that area or region.  Within Australia, I typically enter a quick Google search for "ntp pool au" and look for the Australian NTP pool, which is "au.pool.ntp.org".  I then perform a PING on this DNS name and select one of the IP addresses within this pool.  Note that as it is a pool, with redundancy, if you PING the pool domain name "au.pool.ntp.org" a few times over, you may get varying IP addresses returned.  This is ok and is simply some of the "pool" of NTP servers for the region being displayed and you can generally use any of the IP addresses returned.

// --------------------------------------------------------------------------------------
//   Internet Settings 
// --------------------------------------------------------------------------------------
#define Enable_Internet     1                       // 1= Enable Internet connection, 0= Disable

#define SSID        "EnterYourSSIDinHere"
#define PASSWORD    "SSID_password"


#define Enable_NTP          1                        // 1= Enable Sync time with NTP servers, 0= Disable
// NTP Servers:
#define timeServer "104.156.232.174"                    // One of the NTP servers within au.pool.ntp.org
//#define timeServer "80.96.196.58"                  // timp.mcsi.ro
//#define timeServer "193.79.237.14"                 // ntp1.nl.net NTP server
Reply


Messages In This Thread
WeatherDuino Pro2 'PLUS' Build - by Wizza - 01-01-2017, 07:04
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 07:54
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 07:56
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 01-01-2017, 08:15
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 08:35
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 08:44
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 01-01-2017, 10:22
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 12:14
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 01-01-2017, 22:20
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 02-01-2017, 00:29
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 02-01-2017, 02:15
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 10:37
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 11:57
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 12:01
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 12:03
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 12:19
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 18-01-2017, 12:20
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 19-01-2017, 10:09
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 19-01-2017, 11:01
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 19-01-2017, 11:59
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 19-01-2017, 12:03
RE: WeatherDuino Pro2 'PLUS' Build - by hornychz - 19-01-2017, 22:47
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 21-01-2017, 12:10
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 21-01-2017, 13:22
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 21-01-2017, 20:19
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 21-01-2017, 22:02
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 22-01-2017, 03:44
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 22-01-2017, 13:36
RE: WeatherDuino Pro2 'PLUS' Build - by Zack_ster - 23-01-2017, 11:29
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 24-01-2017, 13:20
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 22-01-2017, 07:45
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 22-01-2017, 13:31
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 21-01-2017, 21:15
RE: WeatherDuino Pro2 'PLUS' Build - by Barrow4491 - 22-01-2017, 02:31
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 22-01-2017, 04:47
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 22-01-2017, 08:17
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 22-01-2017, 21:46
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 23-01-2017, 11:13
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 23-01-2017, 11:30
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 23-01-2017, 12:06
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 24-01-2017, 11:27
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 24-01-2017, 11:39
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 02:16
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 02:27
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 02:38
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 02:53
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 03:02
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:31
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:34
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:39
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:42
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:44
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 07-02-2017, 10:32
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 07-02-2017, 10:40
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 09-02-2017, 21:57
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 09-02-2017, 23:58
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 10-02-2017, 12:06
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 10-02-2017, 12:07
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 10-02-2017, 19:33
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 11-02-2017, 01:25
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 11-02-2017, 04:15
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 11-02-2017, 04:21
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 11-02-2017, 09:24
RE: WeatherDuino Pro2 'PLUS' Build - by uncle_bob - 11-02-2017, 10:54
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 11-02-2017, 11:03
RE: WeatherDuino Pro2 'PLUS' Build - by hornychz - 24-02-2017, 09:49
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 24-02-2017, 23:48
RE: WeatherDuino Pro2 'PLUS' Build - by hornychz - 24-02-2017, 09:51
RE: WeatherDuino Pro2 'PLUS' Build - by zitoune - 24-02-2017, 17:44



Users browsing this thread: 1 Guest(s)