adapted datatype
This commit is contained in:
parent
f6c51f6d05
commit
2d167c7393
@ -25,7 +25,7 @@
|
||||
* @{
|
||||
**/
|
||||
|
||||
#define NUMBER_TYPE "number" /**< numberic information, published or read in Homie */
|
||||
#define NUMBER_TYPE "Number" /**< numberic information, published or read in Homie */
|
||||
|
||||
/**
|
||||
* @name Temperatur Node
|
||||
|
@ -156,8 +156,8 @@ void Plant::advertise(void)
|
||||
{
|
||||
// Advertise topics
|
||||
mPump = this->mPlant->advertise("switch").setName("Pump").setDatatype("boolean");
|
||||
this->mPlant->advertise("lastPump").setName("lastPump").setDatatype("number").setUnit("unixtime");
|
||||
this->mPlant->advertise("moist").setName("Percent").setDatatype("number").setUnit("%");
|
||||
this->mPlant->advertise("moistraw").setName("adc").setDatatype("number").setUnit("3.3/4096V");
|
||||
this->mPlant->advertise("lastPump").setName("lastPump").setDatatype("Number").setUnit("unixtime");
|
||||
this->mPlant->advertise("moist").setName("Percent").setDatatype("Number").setUnit("%");
|
||||
this->mPlant->advertise("moistraw").setName("adc").setDatatype("Number").setUnit("3.3/4096V");
|
||||
this->mPlant->advertise("state").setName("state").setDatatype("string");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user