         sun.setCurrentDate(year(), month(), day());
         currentDay = day();
     }
+    mpm = hour() * 60 + minute();
     sunrise = static_cast<int>(sun.calcSunrise());
     sunset = static_cast<int>(sun.calcSunset());
     civilsunrise = sun.calcCivilSunrise();

{
    Serial.begin(115200);
    
    WiFi.begin(ssid, pass);
    while (WiFi.status() != WL_CONNECTED) {
        delay(500);

WiFiUDP Udp;
unsigned int localPort = 8888;  // local port to listen for UDP packets
SunSet sun;
int mpm;

time_t getNtpTime()
{
