Beispiel #1
0
void CThermosmart::SendOutsideTemperature()
{
	float temp;
	if (!GetOutsideTemperatureFromDomoticz(temp))
		return;
	SetOutsideTemp(temp);
}
Beispiel #2
0
void OTGWTCP::SendOutsideTemperature()
{
	float temp;
	if (!GetOutsideTemperatureFromDomoticz(temp))
		return;
	char szCmd[30];
	sprintf(szCmd,"OT=%.1f\r\n",temp);
	write((const unsigned char*)&szCmd,strlen(szCmd));
}