I’m trying now to adapt @scruffr’s code from here but the compiler seems really unhappy - seems to conflict with the timealarms library?
deviceone.ino: In function 'void loop()':
deviceone.ino:172:72: error: 'IsDST' was not declared in this scope
bool daylightSavings = IsDST(Time.day(), Time.month(), Time.weekday());
^
In file included from deviceone.ino:87:0:
deviceone.ino: In function 'bool isDST()':
TimeAlarms/TimeAlarms.h:14:15: error: expected unqualified-id before '(' token
#define now() (Time.now()+time_zone_cache)
^
deviceone.ino:453:34: note: in expansion of macro 'now'
int secSinceMidnightUTC = Time.now() % 86400;