     message += roofStateNames[roofState];
     message += ",PHASE=";
     message += phaseNames[phase];
+    if (temperature != (float)DEVICE_DISCONNECTED_C) {
+        message += ",TEMP1=";
+        message += (int)(temperature);
+        message += ".";
+        message += (int)(roundf(temperature*10)) % 10;
+    }
     serial.print(message);
 }


    taskScheduler.init();
    taskScheduler.addTask(motorTask);
    motorTask.enable();
    test("");
}

            }
            break;
        }
    }
}

void temperatureTick() {
    // called @ 1hz

    // alternate between sending requests and reading temperature
    if (!temperatureRequested) {
        dallasTemperature.requestTemperaturesByIndex(0);
        temperatureRequested = true;
    } else {
        temperature = dallasTemperature.getTempCByIndex(0);
        temperatureRequested = false;
    }
}

