So now I followed the guide here and on Instructables and installed the libraries required by lightclockwifi (TimeAlarms, NTP and NeoPixelBus). However, when I compile, a vast number of errors are flagged up (far too many to list here) but the first few below:
Arduino: 1.6.7 (Windows 7), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"
In file included from C:\Users\Adrian\Documents\Arduino\ESP8266\lightclockwifi\lightclockwifi.ino:20:0:
C:\Users\Adrian\Documents\Arduino\libraries\TimeAlarms/TimeAlarms.h:71:31: error: 'timeDayOfWeek_t' does not name a type
AlarmID_t alarmRepeat(const timeDayOfWeek_t DOW, const int H, const int M, const int S, OnTick_t onTickHandler); // as above, with day of week
^
C:\Users\Adrian\Documents\Arduino\libraries\TimeAlarms/TimeAlarms.h:71:47: error: ISO C++ forbids declaration of 'DOW' with no type [-fpermissive]
AlarmID_t alarmRepeat(const timeDayOfWeek_t DOW, const int H, const int M, const int S, OnTick_t onTickHandler); // as above, with day of week
^
C:\Users\Adrian\Documents\Arduino\libraries\TimeAlarms/TimeAlarms.h:75:29: error: 'timeDayOfWeek_t' does not name a type
AlarmID_t alarmOnce(const timeDayOfWeek_t DOW, const int H, const int M, const int S, OnTick_t onTickHandler); // as above, with day of week
^
C:\Users\Adrian\Documents\Arduino\libraries\TimeAlarms/TimeAlarms.h:75:45: error: ISO C++ forbids declaration of 'DOW' with no type [-fpermissive]
AlarmID_t alarmOnce(const timeDayOfWeek_t DOW, const int H, const int M, const int S, OnTick_t onTickHandler); // as above, with day of week
^
In file included from C:\Users\Adrian\Documents\Arduino\ESP8266\lightclockwifi\lightclockwifi.ino:30:0:
C:\Users\Adrian\Documents\Arduino\libraries\NTP/ntp.h:38:25: error: 'SECS_PER_HOUR' was not declared in this scope
time_t _syncInterval = SECS_PER_HOUR;
^
lightclockwifi:73: error: 'NeoPixelBus clock' redeclared as different kind of symbol
NeoPixelBus clock = NeoPixelBus(pixelCount, clockPin); //Clock Led on Pin 4
^
In file included from c:\users\adrian\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\stdlib.h:11:0,
from C:\Users\Adrian\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:27,
from sketch\lightclockwifi.ino.cpp:1:
c:\users\adrian\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\time.h:44:12: error: previous declaration of 'clock_t clock()'
clock_t _EXFUN(clock, (void));
^
...and on and on it goes. Obviously I'm making some noobish mistake, but I'm not sure what? At first I fell into the trap of installing libraries from GitHub as Zip files ending in '-master'. I since renamed them to match the name of the .ino & .h files but the errors seem to be due to something different.