I’m building a simple ESP8266 “rebooter”, which every day at a specific hour would toggle off a relay for an interval then back on again, rebooting the connected device. The whole thing would be controlled via MQTT (for example setting the time of day) My problem is the following: after adding time synchronization code from the Time library, the code doesn’t compile and the error doesn’t give any useful information, just says:
exit status 1 Error compiling for board Generic ESP8266 Module.
Please mind there isn’t any logic for checking the time and toggling the relay yet.
(Code in Attachment)
Do you guys have any clue what’s going on?
By the way, I’m new to this forum, so please tell me if I’ve done something wrong!
And also sorry for my English, but I’m Italian and 13.
RebootINATOR.ino (10.1 KB)