 }
 #endif
 
-#ifdef VPIN_DISCONNECT
-BLYNK_WRITE(VPIN_DISCONNECT)
-{
-    if (param.asInt() == HIGH)
-    {
-        Particle.disconnect();
-    }
-}
-#endif
-
-#endif
+#endif

#endif
}

#ifdef VPIN_BOOT_VALUE
BLYNK_READ(VPIN_BOOT_VALUE)
{
    Blynk.virtualWrite(VPIN_BOOT_VALUE, bootCount);
}
#endif

#ifdef VPIN_RSSI_VALUE
BLYNK_READ(VPIN_RSSI_VALUE)
{
    Blynk.virtualWrite(VPIN_RSSI_VALUE, rssiValue);
}
#endif

#ifdef VPIN_LM35_VALUE
BLYNK_READ(VPIN_LM35_VALUE)
{
    Blynk.virtualWrite(VPIN_LM35_VALUE, String::format("%4.1f", tempValue));
}
#endif

#ifdef VPIN_LM35_TREND
BLYNK_READ(VPIN_LM35_TREND)
{
    Blynk.virtualWrite(VPIN_LM35_TREND, String::format("%5.3f", tempTrend));
}
#endif

#ifdef VPIN_LM35_MIN
BLYNK_READ(VPIN_LM35_MIN)
{
    Blynk.virtualWrite(VPIN_LM35_MIN, String::format("%4.1f", tempValueMin));
}
#endif

#ifdef VPIN_LM35_MAX
BLYNK_READ(VPIN_LM35_MAX)
{
    Blynk.virtualWrite(VPIN_LM35_MAX, String::format("%4.1f", tempValueMax));
}
#endif

#ifdef VPIN_RECONNECTS
BLYNK_READ(VPIN_RECONNECTS)
{
    Blynk.virtualWrite(VPIN_RECONNECTS, reconnects);
}
#endif

#ifdef VPIN_LM35_RESET
BLYNK_WRITE(VPIN_LM35_RESET)
{
    if (param.asInt() == HIGH)
    {

#ifdef BLYNK_NOTIFY_TEMP
            if (tempStatus != tempStatusOld)
            {
                Blynk.notify(BLYNK_LABEL_PREFIX + BLYNK_LABEL_GLUE + BLYNK_LABEL_TEMP + BLYNK_LABEL_GLUE + TEMP_STATUS[tempStatus] + BLYNK_LABEL_GLUE + String::format("%4.1f C", tempValue));
                tempStatusOld = tempStatus;
            }
#endif
